404f35cb5c2002-10-01 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2002-09-30 21:06:05 +0000
18be975d30* cygserver_transport_pipes.cc (transport_layer_pipes::accept): Remove trailing \n from debug_printf.
Conrad Scott
2002-09-30 18:31:56 +0000
6cae97d5dcwhitespace
Christopher Faylor
2002-09-30 15:17:44 +0000
66dca8bb0d* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.
Christopher Faylor
2002-09-30 15:11:55 +0000
bd2b5664a1* thread.cc (pthread::precreate): Use explicit "no inherit" option when creating mutex. (pthread_mutex::nativeMutex::init): Ditto. (semaphore::semaphore): Ditto.
Christopher Faylor
2002-09-30 15:05:00 +0000
e58273df45* thread.cc (pthread_key::keys): Do not copy on fork. (pthread_mutex::mutexInitializationLock): Ditto. (pthreadNull::_instance): Ditto.
Christopher Faylor
2002-09-30 15:00:52 +0000
63e5f2006d* exceptions.cc (unused_sig_wrapper): Still need additional level of indirection when setting errno.
Christopher Faylor
2002-09-30 14:18:43 +0000
00a8c44a5bFix date in last commit.
Richard Sandiford
2002-09-30 12:08:05 +0000
bf42f57df6[include/opcode/] * mips.h: Update comment for new opcodes. (OP_MASK_VECBYTE, OP_SH_VECBYTE): New. (OP_MASK_VECALIGN, OP_SH_VECALIGN): New. (INSN_4111, INSN_4120, INSN_5400, INSN_5500): New. (CPU_VR4120, CPU_VR5400, CPU_VR5500): New. (OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags. Don't match CPU_R4111 with INSN_4100.
Richard Sandiford
2002-09-30 11:58:09 +0000
f789fbbf35* security.cc (allow_ntsec): Default to zero. * environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS allows it.
Christopher Faylor
2002-09-30 03:05:13 +0000
79ed43004f* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError. GNUify comments. (__pthread_mutex_lock): Don't return error on EBUSY since that just means that the mutex has already been initialized.
Christopher Faylor
2002-09-30 01:19:45 +0000
881ffcb478GNUify slightly.
Christopher Faylor
2002-09-29 23:56:57 +0000
eb208df05a2002-09-30 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2002-09-29 23:47:45 +0000
b2c3ba8ad02002-09-29 Andrew Cagney <ac131313@redhat.com>
Andrew Cagney
2002-09-29 17:19:28 +0000
4d8eba164fAdd missing ChangeLog entry.
Christopher Faylor
2002-09-29 03:15:55 +0000
aea1f301fc* cygthread.h (cygthread::terminate): Declare new function. (cygthread::initialized): Change to 'int'. * cygthread.cc (cygthread::stub): Exit thread if initialized < 0. (cygthread::new): Ditto. (cygthread::runner): Ditto. Set initialized using xor to preserve sign. (cygthread::terminate): New function. * dcrt0.cc (do_exit): Call cygthread::terminate.
Christopher Faylor
2002-09-29 02:19:35 +0000
fc5dae1cca* Makefile.in (check): Be more defensive when creating testsuite config.status.
Christopher Faylor
2002-09-28 03:15:44 +0000
4c67ff152d* configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or the things that depend on them.
Geoffrey Keating
2002-09-28 01:44:34 +0000
59a758bd31The v850 does not have a ctbp register. Add myself to write-after-approval section of MAINTAINERS file. * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing the ctbp register.
Jim Wilson
2002-09-27 20:26:00 +0000
1ed3c86dd72002-09-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-27 20:17:52 +0000
961973e7a4* cygrun.c (main): Fix setting of CYGWIN environment variable. * Makefile.in: Remove linking of unnecessary libraries.
Christopher Faylor
2002-09-25 13:53:46 +0000
38c77307c5* fhandler_proc.cc (format_process_stat): make ctty a real device number. (format_process_status): use effective uid/gid as real and saved uid/gid.
Christopher Faylor
2002-09-25 12:24:23 +0000
6e1dfd2d962002-09-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-24 21:26:45 +0000
f4b098d95e* errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno code EOVERFLOW. (_sys_errlist): Add entries for EILSEQ and EOVERFLOW. (strerror): Ditto. * mmap.cc (map_map): Set errno in case of error. (mmap64): Remove setting errno explicitely to ENOMEM.
Corinna Vinschen
2002-09-24 14:17:50 +0000
c90e1cf179* fhandler.cc (fhandler_base::dup): Don't set handle on failure. Caller has already taken care of that. * fhandler_console.cc (fhandler_console::open): Initialize handles to NULL. (fhandler_console::close): Ditto. GNUify non-GNU formatted functions calls throughout.
Christopher Faylor
2002-09-22 03:38:57 +0000
228f6b6e07whitespace
Christopher Faylor
2002-09-22 00:46:24 +0000
1525d127da2002-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-20 20:13:11 +0000
da25e61f592002-09-20 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-20 17:11:29 +0000
0226921e1d* libiberty.h (asprintf, vasprintf): Don't declare them if the corresponding HAVE_DECL_ macro is 1.
Alexandre Oliva
2002-09-20 00:21:58 +0000
76f28487ee* mingwex/math/files.txt: Remove inadvertantly added file.
Danny Smith
2002-09-19 23:05:27 +0000
5b9ee5393b2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-19 21:37:20 +0000
50558bf3bd2002-09-19 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-19 21:28:52 +0000
0688e43db7bfd/ * reloc.c (BFD_RELOC_386_TLS_TPOFF, BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Add. * bfd-in2.h, libbfd.h: Rebuilt. * elf32-i386.c (elf_howto_table): Add R_386_TLS_TPOFF, R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_reloc_type_lookup): Handle it. (struct elf_i386_link_hash_entry): Change tls_type type to unsigned char instead of enum, change GOT_* into defines. (GOT_TLS_IE_POS, GOT_TLS_IE_NEG, GOT_TLS_IE_BOTH): Define. (elf_i386_tls_transition): Handle R_386_TLS_IE and R_386_TLS_GOTIE. (elf_i386_check_relocs): Likewise. Avoid crash if local symbol is accessed both as normal and TLS symbol. Move R_386_TLS_LDM and R_386_PLT32 cases so that R_386_TLS_IE can fall through. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_gc_sweep_hook): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (allocate_dynrelocs): Allocate 2 .got and 2 .rel.got entries if tls_type is GOT_TLS_IE_BOTH. (elf_i386_size_dynamic_sections): Likewise. (elf_i386_relocate_section): Handle R_386_TLS_IE and R_386_TLS_GOTIE. Handle R_386_TLS_LE_32 and R_386_TLS_LE in shared libs. (elf_i386_finish_dynamic_symbol): Use tls_type & GOT_TLS_IE to catch all 4 GOT_TLS_* TLS types. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. (BFD_RELOC_386_TLS_IE, BFD_RELOC_386_TLS_GOTIE): Define to 0 if not defined. (lex_got): Handle @GOTNTPOFF and @INDNTPOFF. (md_apply_fix3, tc_gen_reloc): Handle BFD_RELOC_386_TLS_IE and BFD_RELOC_386_TLS_GOTIE. gas/testsuite/ * gas/i386/tlspic.s: Add tests. * gas/i386/tlspic.d: Regenerated. * gas/i386/tlsnopic.s: Add tests. * gas/i386/tlsnopic.d: Regenerated. include/ * elf/i386.h (R_386_TLS_TPOFF, R_386_TLS_IE, R_386_TLS_GOTIE): Define. ld/testsuite/ * ld-i386/i386.exp: New. * ld-i386/tlsbin.dd: New test. * ld-i386/tlsbinpic.s: New test. * ld-i386/tlsbin.rd: New test. * ld-i386/tlsbin.s: New test. * ld-i386/tlsbin.sd: New test. * ld-i386/tlsbin.td: New test. * ld-i386/tlslib.s: New test. * ld-i386/tlsnopic1.s: New test. * ld-i386/tlsnopic2.s: New test. * ld-i386/tlsnopic.dd: New test. * ld-i386/tlsnopic.rd: New test. * ld-i386/tlsnopic.sd: New test. * ld-i386/tlspic1.s: New test. * ld-i386/tlspic2.s: New test. * ld-i386/tlspic.dd: New test. * ld-i386/tlspic.rd: New test. * ld-i386/tlspic.sd: New test. * ld-i386/tlspic.td: New test.
Jakub Jelinek
2002-09-19 19:01:18 +0000
20775b213dRemove (errant) trailing semicolon (;) from the extern "C" { } declaration.
Nick Clifton
2002-09-19 15:48:16 +0000
580e99a151Cleanup calls to CreateFile throughout. * dcrt0.cc (__api_fatal): Correctly check for failing return from CreateFile. * assert.cc (__assert): Don't check return value from CreateFile for NULL. * fhandler_console.cc (set_console_state_for_spawn): Ditto. * fork.cc (fork_parent): Ditto.
Christopher Faylor
2002-09-19 15:12:48 +0000
776044d554* include/string.h (_strerror): Move into #ifndef __STRICT_ANSI__ block.
Danny Smith
2002-09-19 05:35:30 +0000
468b26c591* cygcheck.cc: Include sys/time.h rather than time.h to avoid a compiler error.
Christopher Faylor
2002-09-19 03:48:19 +0000
5bf785a017* cygthread.cc (cygthread::initialized): Avoid copying on fork or some threads may not end up in the pool. (cygthread::new): Avoid race when checking for initialized. Add debugging code. * fhandler.cc (fhandler_base::raw_read): Add case for ERROR_INVALID_HANDLE due to Win95 directories. (fhandler_base::open): Handle errors due to Win95 directories. (fhandler_base::close): Add get_nohandle () test. (fhandler_base::set_close_on_exec): Ditto. (fhandler_base::fork_fixup): Ditto. (fhandler_base::lock): Change error code to Posix EINVAL. (fhandler_base::dup): If get_nohandle (), set new value to INVALID_HANDLE_VALUE instead of NULL. * fhandler_disk_file.cc (fhandler_disk_file::fstat): Call fstat_by_name if get_nohandle (). Remove extraneous element from strpbrk. (fhandler_disk_file::open): Remove test for Win95 directory. * fhandler_random.cc (fhandler_dev_random::open): Add set_nohandle (). * fhandler_clipboard.cc (fhandler_dev_clipboard::open): Ditto. * fhandler_zero.cc (fhandler_dev_zero::open): Ditto. (fhandler_dev_zero::close): Delete. * fhandler.h (class fhandler_dev_zero): Ditto.
Christopher Faylor
2002-09-19 03:30:20 +0000
57dfd574a72002-09-18 Eric R. Krause <ekrause_98@users.sourceforge.net>
Danny Smith
2002-09-19 00:01:18 +0000
41cb3243c5* include/time.h (__need_NULL): Define before including stddef.h. Thanks to: R�diger Dehmel <de@lmnet.de>.
Danny Smith
2002-09-17 21:36:02 +0000
e58d89280b2002-09-17 Daniel Schlyder <daniel@dascdev.net>
Danny Smith
2002-09-17 21:21:48 +0000
4ddb62e794* cygcheck.cc: Reorder includes to avoid compiler error.
Christopher Faylor
2002-09-17 17:13:21 +0000
9f06b64aa92002-09-17 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2002-09-17 10:01:49 +0000
f1f13795602002-09-17 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2002-09-17 09:12:36 +0000
cbb704cf60* include/shlobj.h (SHGetSpecialFolderPath[AW]): Add _WIN32_IE guard. Correct prototype for wide version. (SHGetFolderPath): Add comment on shfolder.dll library. (SHGetFolderLocation): Add prototyope for WinME and W2K. (SHGetFolderPathAndSubDir[AW]): Add prototypes for XP.
Danny Smith
2002-09-17 03:08:11 +0000
9211a1adec2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2002-09-16 18:55:25 +0000
d04cf16c52* init.cc: Cleanup slightly and remove obsolete code.
Christopher Faylor
2002-09-16 16:09:54 +0000
4e786173212002-09-11 Robert Collins <rbtcollins@hotmail.com>
Robert Collins
2002-09-16 10:53:29 +0000