summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * cygwin.din (ualarm): New export.Christopher Faylor2001-11-289-60/+183
| | | | | | | | | | | | * dcrt0.cc (_dll_crt0): Add experimental tls storage declaration. (dll_crt0): Ditto. * debug.cc (thread_stub): Ditto. * thread.cc: Minor cleanup. (__pthread_create): Add experimental tls storage declaration. * miscfuncs.cc: Define tls index. * winsup.h: Declare experimental tls storage. * window.cc (alarm): Use old timer return from setitimer. (ualarm): New function.
* * config.sub: Update to version 1.232 on subversion.Geoffrey Keating2001-11-262-12/+24
|
* Revert erroneous checkin.Christopher Faylor2001-11-261-5/+0
|
* * Makefile.in (libcygwin.a): Use ar commands to build libcygwin.a since addingChristopher Faylor2001-11-263-1/+11
| | | | an archive doesn't work the way we want it to.
* Add missing ChangeLog entries.Corinna Vinschen2001-11-251-0/+16
|
* * fhandler_disk_file.cc (fhandler_cygdrive::readdir): Avoid reportingChristopher Faylor2001-11-253-1/+11
| | | | inaccessible drives.
* * net.cc (cygwin_hstrerror): Allow s == NULL.Corinna Vinschen2001-11-241-1/+13
| | | | | (cygwin_rcmd): Add parameter checking. (cygwin_rexec): Ditto.
* * net.cc (cygwin_inet_ntoa): Add parameter checking.Corinna Vinschen2001-11-242-1/+12
| | | | | | | | | (cygwin_inet_network): Return INADDR_NONE instead of 0 in case of EFAULT. (cygwin_hstrerror): Add parameter checking. (cygwin_rresvport): Ditto. (socketpair): Ditto. * winsup.h (check_null_str): Add extern declaration.
* * path.cc (path_conv::check): Tighten FH_CYGDRIVE check to avoid matchingChristopher Faylor2001-11-242-11/+13
| | | | trailing component, like other devices.
* * autoload.cc (IsDebuggerPresent): Make conditional load since it is notChristopher Faylor2001-11-243-5/+14
| | | | | | available everywhere. * path.cc (mount_info::conv_to_win32_path): Only consider /cygdrive to be FH_CYGDRIVE, not /cygdrive/x.
* * net.cc (inet_makeaddr): Revert previous change.Christopher Faylor2001-11-242-1/+5
|
* * path.cc (chdir): Allow 'cd /cygdrive'.Christopher Faylor2001-11-242-6/+17
|
* Fix typo.Christopher Faylor2001-11-241-1/+1
|
* fix typo.Christopher Faylor2001-11-241-1/+1
|
* * dtable.cc (dtable::vfork_parent_restore): Add debugging statement.Christopher Faylor2001-11-2412-146/+297
| | | | | | | | | | | | | | | | | | | | | | | | | | | * exceptions.cc (try_to_debug): Spin only as long as we don't have a debugger attached. * fhandler.h (fhandler_base::set_nohandle): New method. (fhandler_base::get_nohandle): New method. * fhandler.cc (fhandler_base::dup): Avoid duplicating handle if there is no handle. * fhandler_disk_file.cc (fhandler_disk_file::opendir): Set nohandle flag on dummy fd. * Makefile.in: Make intermediate library for eventual inclusion in libcygwin.a * fhandler.h (fhandler_pipe::fhandler_pipe): Remove default argument setting since it is no longer used. * miscfuncs.cc (check_null_str): New function. (+check_null_str_errno): Ditto. * net.cc: Add defensive buffer checking throughout. (cygwin_sendto): Protect against invalid fd. (cygwin_recvfrom): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * winsup.h: Declare a new function. * select.cc (set_bits): Fix conditional for setting fd in exceptfds. * dtable.cc (dtable::build_fhandler): Create fhandler_pipe using correct device type. * path.cc (get_devn): Set correct pipe device type from device name.
* * path.cc (conv_path_list): Fix wild indexing into path due to conflictingChristopher Faylor2001-11-228-50/+239
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | methods for setting src pointer. * dir.cc (opendir): Only pass path_conv argument to opendir, since name is already part of the fhandler. * dtable.cc (dtable::build_fhandler): Accomodate new FH_CYGDRIVE type. * fhandler.cc (fhandler_base::opendir): Nuke name argument. * fhandler.h: Add FH_CYGDRIVE to "device" enum. (fhandler_base::opendir): Nuke name argument. (fhandler_disk_file::opendir): Ditto. (fhandler_disk_file::fhandler_disk_file): Declare new method which passes devtype through. (fhandler_cygdrive): Add elements for tracking drives. (fhandler_cygdrive::set_drives): Declare new method. (fhandler_cygdrive::iscygdrive_root): Declare new method. (fhandler_cygdrive::opendir): Declare new method. (fhandler_cygdrive::readdir): Declare new method. (fhandler_cygdrive::telldir): Declare new method. (fhandler_cygdrive::seekdir): Declare new method. (fhandler_cygdrive::rewinddir): Declare new method. (fhandler_cygdrive::closedir): Declare new method. (fhandler_cygdrive::fstat): Declare new method. * fhandler_disk_file.cc (fhandler_disk_file::fhandler_disk_file): Define new method which passes devtype through. (fhandler_disk_file::open): Tweak debug output. (fhandler_disk_file::opendir): Nuke first argument. Use info from path_conv and class rather than calling fstat. (fhandler_cygdrive::set_drives): New method. (fhandler_cygdrive::iscygdrive_root): New method. (fhandler_cygdrive::opendir): New method. (fhandler_cygdrive::readdir): New method. (fhandler_cygdrive::telldir): New method. (fhandler_cygdrive::seekdir): New method. (fhandler_cygdrive::rewinddir): New method. (fhandler_cygdrive::closedir): New method. (fhandler_cygdrive::fstat): New method. * path.cc (iscygdrive_device): Assume cygdriveness is already verified. (path_conv::check): Treat FH_CYGDRIVE "method" as a special case, setting file attributes as needed. (mount_info::conv_to_win32_path): Allow stand-alone /cygdrive, meaning "the directory which contains all of the drives on the system". (fillout_mntent): Use cyg_tolower for conversions. (mount_info::cygdrive_win32_path): Replace unused argument with unit number. * shared_info.h (mount_info::cygdrive_win32_path): Reflect argument change.
* * path.cc (cygpath): Don't consider cygpath stuff when trying to derive nativeChristopher Faylor2001-11-222-1/+9
| | | | paths.
* Patch by Pierre Muller <muller@ics.u-strasbg.fr>:Corinna Vinschen2001-11-212-0/+10
| | | | | | | * w32api/include/winnt.h: prepare SSE register support. (CONTEXT_EXTENDED_REGISTERS): Add new define. (MAXIMUM_SUPPORTED_EXTENSION): New define. (struct CONTEXT): ExtendedRegisters field added.
* Patch by Mark Bradshaw <bradshaw@staff.crosswalk.com>:Corinna Vinschen2001-11-212-20/+60
| | | | | | | | | | | * mkpasswd.c: include lmerr.h (main): New -u option to allow specifying a specific user. If specified, groups aren't displayed and output is limited to only the specified user. (enum_users): If specific user is specified, via -u option, display only that user's record. With -u use NetUserGetInfo instead of NetUserEnum. (load_netapi): Added netusergetinfo.
* * libc/sys/cygwin/sys/dirent.h (DIR): Add another internal element.Christopher Faylor2001-11-212-6/+11
|
* * Makefile.in (DLL_OFILES): Add fhandler_disk_file.o.Christopher Faylor2001-11-218-744/+896
| | | | | | | | | | | | | | | | | | * cygheap.h (cygheap_fdnew::operator =): New operator. * dir.cc: Add invalid struct checking throughout. Use methods for all directory manipulation throughout. * fhandler.cc: Move fhandler_disk_file stuff to own file. (fhandler_base::opendir): New method. (fhandler_base::readdir): New method. (fhandler_base::telldir): New method. (fhandler_base::seekdir): New method. (fhandler_base::rewinddir): New method. (fhandler_base::closedir): New method. * fhandler_disk_file.cc: New file. * fhandler.h (fhandler_base): Declare new virtual methods. (fhandler_disk_file): Ditto. (fhandler_cygdrive): New class. * path.cc (conv_path_list): Use strccpy to break apart path.
* Change copyright.Christopher Faylor2001-11-211-1/+1
|
* Use msgfmt to generate .gmo files from .po files for a distribution.Nick Clifton2001-11-202-0/+10
|
* * libc/sys/mmixware/*: Tweak license header in all source files.Hans-Peter Nilsson2001-11-1830-87/+178
|
* * COPYING.NEWLIB: Mention preserved notice in specific parts.Hans-Peter Nilsson2001-11-182-1/+6
|
* * winsup.api/pthread/condvar3_1.c: Fix debugging output.Egor Duda2001-11-172-6/+7
|
* * path.cc (conv_path_list): Copy source paths before modifying them.Christopher Faylor2001-11-172-3/+12
|
* * strace.cc (main): Change getopt() to getopt_long().Corinna Vinschen2001-11-172-2/+234
| | | | | | | | | | | | | | | | Add support for help and version info. Use new parse_mask() function for -m/--mask option. (longopts): Add long options structure. (opts): Move options string from getopts call to static var. (usage): Print usage information. (SCCSid): Version info. (version): New function for displaying version info. (parse_mask): New function supporting parsing of mnemonics, hex, and basic expressions in masks. (mnemonic2ul): New mnemonic parsing function. (tag_mask_mnemonic): New type. (mnemonic_table): New table of mnemonics for mnemonic2ul() to search through.
* * fhandler_raw.cc (fhandler_dev_raw::clear): Don't reset unit.Corinna Vinschen2001-11-163-1/+7
| | | | | * fhandler_tape.cc (fhandler_dev_tape::fhandler_dev_tape): Add debug output.
* * common.h (NT_ARCH): Define. Remove incorrect comment.Alan Modra2001-11-152-1/+5
|
* Fix typo.Egor Duda2001-11-151-1/+1
|
* * winsup.api/pthread/: New directory. Ports of pthread functionalityEgor Duda2001-11-1537-0/+3099
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | tests ported from pthreads-win32 project. * winsup.api/pthread/test.h: Commmon declaraions for pthread tests. * winsup.api/pthread/cleanup2.c: New test. * winsup.api/pthread/cleanup3.c: Ditto. * winsup.api/pthread/condvar1.c: Ditto. * winsup.api/pthread/condvar2.c: Ditto. * winsup.api/pthread/condvar2_1.c: Ditto. * winsup.api/pthread/condvar3.c: Ditto. * winsup.api/pthread/condvar3_1.c: Ditto. * winsup.api/pthread/condvar3_2.c: Ditto. * winsup.api/pthread/condvar3_3.c: Ditto. * winsup.api/pthread/condvar4.c: Ditto. * winsup.api/pthread/condvar5.c: Ditto. * winsup.api/pthread/condvar6.c: Ditto. * winsup.api/pthread/condvar8.c: Ditto. * winsup.api/pthread/count1.c: Ditto. * winsup.api/pthread/create1.c: Ditto. * winsup.api/pthread/create2.c: Ditto. * winsup.api/pthread/equal1.c: Ditto. * winsup.api/pthread/exit1.c: Ditto. * winsup.api/pthread/exit2.c: Ditto. * winsup.api/pthread/exit3.c: Ditto. * winsup.api/pthread/inherit1.c: Ditto. * winsup.api/pthread/join0.c: Ditto. * winsup.api/pthread/join1.c: Ditto. * winsup.api/pthread/join2.c: Ditto. * winsup.api/pthread/mutex1.c: Ditto. * winsup.api/pthread/mutex1r.c: Ditto. * winsup.api/pthread/mutex2.c: Ditto. * winsup.api/pthread/mutex3.c: Ditto. * winsup.api/pthread/mutex6r.c: Ditto. * winsup.api/pthread/once1.c: Ditto. * winsup.api/pthread/priority1.c: Ditto. * winsup.api/pthread/priority2.c: Ditto. * winsup.api/pthread/self1.c: Ditto. * winsup.api/pthread/self2.c: Ditto. * winsup.api/pthread/tsd1.c: Ditto.
* * include/pthread.h (PTHREAD_COND_INITIALIZER): Define.Egor Duda2001-11-154-4/+26
| | | | | | | | | | | | * thread.cc (__pthread_cond_destroy): Add support for PTHREAD_COND_INITIALIZER. (__pthread_cond_init): Ditto. (__pthread_cond_broadcast): Ditto. (__pthread_cond_signal): Ditto. (__pthread_cond_dowait): Ditto. (__pthread_mutex_init): Handle PTHREAD_MUTEX_INITIALIZER correctly, don't return error when it's passed as parameter. * winsup.h (check_null_invalid_struct): Call correct function.
* * exceptions.cc: Add stdlib.h include for alloca declaration.Christopher Faylor2001-11-155-7/+24
| | | | | | * poll.cc: Ditto. * termios.cc: Ditto. * syscalls.cc (_write): Only allow zero length when fd is valid.
* binutils/ChangeLogAlan Modra2001-11-152-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * doc/binutils.texi (objdump): Document ppc -M options. gas/ChangeLog * config/tc-ppc.c (ppc_insert_operand): Pass (ppc_cpu | ppc_size) to operand->insert. (md_assemble): Likewise. gas/testsuite/ChangeLog * gas/ppc/booke.d: Modify reloc and target matches for powerpc64. include/opcode/ChangeLog * ppc.h (struct powerpc_operand <insert, extract>): Add dialect param. opcodes/ChangeLog * ppc-opc.c (PPC64): Revert 2001-10-12. Do include PPC_OPCODE_PPC. (insert_bat, extract_bat, insert_bba, extract_bba, insert_bd, extract_bd, insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo, insert_bo, extract_bo, insert_boe, extract_boe, insert_ds, extract_ds, insert_de, extract_de, insert_des, extract_des, insert_li, extract_li, insert_mbe, extract_mbe, insert_mb6, extract_mb6, insert_nb, extract_nb, insert_nsi, extract_nsi, insert_ral, insert_ram, insert_ras, insert_rbs, extract_rbs, insert_sh6, extract_sh6, insert_spr, extract_spr, insert_tbr, extract_tbr): Add dialect param. (extract_bd, extract_bdm, extract_bdp, extract_ds, extract_des, extract_li, extract_nsi): Implement sign extension without conditional. (insert_bdm, extract_bdm, insert_bdp, extract_bdp, valid_bo): Handle 64 bit branch hints. (extract_bdm, extract_bdp): Correct 32 bit validation. (AT1_MASK, AT2_MASK): Define. (BBOAT_MASK): Define. (BBOATCB_MASK, BBOAT2CB_MASK, BBOATBI_MASK): Define. (BOFM64, BOFP64, BOTM64, BOTP64): Define. (BODNZM64, BODNZP64, BODZM64, BODZP64): Define. (PPCCOM32, PPCCOM64): Define. (powerpc_opcodes): Modify existing 32 bit insns with branch hints and add new patterns to implement 64 bit branches with hints. Move booke instructions so they match before ppc64. * ppc-dis.c (powerpc_dialect): Set PPC_OPCODE_64 in dialect for 64 bit default targets, and parse "32" and "64" in options. Formatting fixes. (print_insn_powerpc): Pass dialect to operand->extract.
* * fhandler.cc (fhandler_disk_file::fstat): Add setting access timeCorinna Vinschen2001-11-142-6/+25
| | | | | | | | and creation time to last modification time for files on filesystems not supporting multiple timestamps. (fhandler_disk_file::fstat_helper): Set access time and creation time in incoming Windows structure instead of in stat buf to avoid incorrectly overwriting Epoch timestamp.
* * winsup.h: Remove alloca definition since it's now defined throughCorinna Vinschen2001-11-143-3/+7
| | | | | inclusion of stdlib.h. * lib/cygwin_crt0.c: Ditto.
* * libc/include/alloca.h: Move libc/sys/linux/include/alloca.hCorinna Vinschen2001-11-144-13/+31
| | | | | | | to here. Rearrange for general inclusion by stdlib.h. * libc/include/stdlib.h: Include <alloca.h> if __STRICT_ANSI__ isn't defined. * libc/sys/linux/include/alloca.h: Move to libc/include.
* 2001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-11-146-28/+65
| | | | | | | | | | | | | | | | | Merged from net gcc: 2001-07-30 Jeff Sturm <jsturm@one-pont.com> * ltcf-c.sh: Use $objext, not $ac_objext. 2001-07-27 Mark Kettenis <kettenis@gnu.org> * ltcf-cxx.sh: Add support for GNU. 2001-07-22 Timothy Wall <twall@redhat.com> * ltcf-c.sh: Don't disable shared libraries for AIX5/IA64. Preserve default settings if using GNU tools with that configuration. * ltcf-cxx.sh: Ditto. * ltcf-gcj.sh: Ditto. 2001-07-21 Michael Chastain <chastain@redhat.com> * ltconfig: Set max_cmd_len to a maximum of 512Kb, as it seems some HPUX 11.0 systems have trouble with 1MB. Mark as gcc-local. * ltmain.sh: Mark as gcc-local.
* 2001-11-13 Jeff Holcomb <jeffh@redhat.com>Jeff Holcomb2001-11-142-1/+6
| | | | | * Makefile.in (all-bison): Revert 2001-10-24. Don't depend on texinfo.
* * syscalls.cc (_write): Allow zero length as per SUSv2.Christopher Faylor2001-11-142-0/+7
|
* binutils/ChangeLogAlan Modra2001-11-142-0/+5
| | | | | | | | | | | | | | | | | * doc/binutils.texi (objdump): Document x86 -M options. include/ChangeLog * dis-asm.h (print_insn_i386): Declare. opcodes/ChangeLog * disassemble.c (disassembler): Call print_insn_i386. * i386-dis.c (SUFFIX_ALWAYS): Define. (struct dis_private): Add orig_sizeflag. (print_insn_i386): Make it a wrapper, calling.. (print_insn): ..The old body of print_insn_i386. Avoid longjmp warning without using volatile by moving orig_sizeflag to priv, and removing inbuf. Parse disassembler_options. (print_insn_i386_att, print_insn_i386_intel): Move initialisation code to print_insn. (putop): Remove #ifdef SUFFIX_ALWAYS.
* * dir.cc (mkdir): Add HIDDEN file attribute if file has leading dotCorinna Vinschen2001-11-135-6/+45
| | | | | | | | and HIDDEN_DOT_FILES is defined. * fhandler.cc (fhandler_base::open): Ditto. * path.cc (symlink): Ditto. * syscalls.cc (_rename): Ditto and remove HIDDEN file attribute if new filename does not begin with a dot.
* Index: bfd/ChangeLogGeoffrey Keating2001-11-132-1/+9
| | | | | | | | | | | | | | | | | | | 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.c (decode_line_info): Properly deal with unknown standard opcodes. Index: binutils/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * readelf.c (display_debug_lines): Deal with unknown standard opcodes. Handle DW_LNS_set_prologue_end, DW_LNS_set_epilogue_begin, DW_LNS_set_isa. Index: include/elf/ChangeLog 2001-11-11 Geoffrey Keating <geoffk@redhat.com> * dwarf2.h (dwarf_line_number_ops): Add DWARF 3 opcodes.
* Fix tic54x testsuite failures and Lmem disassembly bugs.Tim Wall2001-11-135-40/+65
|
* Add __stack_base__Anthony Green2001-11-132-1/+6
|
* * libc/sys/mmixware/*: Correct spacing in all source files.Hans-Peter Nilsson2001-11-1331-226/+203
| | | | | * libc/sys/mmixware/syscall.h: Move misplaced file... * libc/sys/mmixware/sys/syscall.h: ...here.
* * i386.h (i386_optab): Add entries for "sldr", "smsw" and "str" toAlan Modra2001-11-132-3/+12
| | | | | | | accept WordReg. * i386-dis.c (grps): Change "sldt", "str", and "smsw" entries to "sldtQ", "strQ", "smswQ" respectively; all with Ev operand category instead of Ew.
* Fix ChangeLog entry.Corinna Vinschen2001-11-121-0/+1
|
* * cygcheck.cc (dump_sysinfo): Redefine output format slightly.Corinna Vinschen2001-11-122-3/+10
|