summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * configure: Move stray line back to where it belongs.Alan Modra2002-10-022-1/+5
|
* 2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-10-012-0/+3
| | | | * Makefile.tpl: Insert configure-target target, for src-release.
* 2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-10-012-24/+28
| | | | | * configure: Finish reverting change which Andrew Cagney started reverting. Should fix bustage.
* 2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-10-012-1/+2
| | | | * src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.
* 2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-10-012-0/+331
| | | | | * src-release: New file. Contains material for making net releases for gdb, binutils, et al., formerly in Makefile.in.
* 2002-10-01 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-09-302-3/+12
| | | | | | | * thread.cc (pthread_key::keys): Copy on fork. Add a comment explaining why. (pthreadNull::_instance): Copy on fork. Absolutely no state exists in pthreadNull.
* * cygserver_transport_pipes.cc (transport_layer_pipes::accept):Conrad Scott2002-09-303-2/+7
| | | | Remove trailing \n from debug_printf.
* whitespaceChristopher Faylor2002-09-309-39/+39
|
* * thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.Christopher Faylor2002-09-302-2/+5
|
* * thread.cc (pthread::precreate): Use explicit "no inherit" option whenChristopher Faylor2002-09-302-14/+21
| | | | | | creating mutex. (pthread_mutex::nativeMutex::init): Ditto. (semaphore::semaphore): Ditto.
* * thread.cc (pthread_key::keys): Do not copy on fork.Christopher Faylor2002-09-302-3/+9
| | | | | (pthread_mutex::mutexInitializationLock): Ditto. (pthreadNull::_instance): Ditto.
* * exceptions.cc (unused_sig_wrapper): Still need additional level ofChristopher Faylor2002-09-302-2/+8
| | | | indirection when setting errno.
* Fix date in last commit.Richard Sandiford2002-09-301-1/+1
|
* [include/opcode/]Richard Sandiford2002-09-302-4/+42
| | | | | | | | | | | | | | | | | | | * 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. [opcodes/] * mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'. (mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400 and bfd_mach_mips5500. * mips-opc.c (V1): Include INSN_4111 and INSN_4120. (N411, N412, N5, N54, N55): New convenience defines. (mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes. Change dmadd16 and madd16 from V1 to N411.
* [include/elf]Richard Sandiford2002-09-302-0/+11
| | | | | | | | | | | | | | | | | | * mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New. [bfd/] * archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New. (bfd_mach_mips5500): New. * cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New. (arch_info_struct): Add corresponding entries here. * elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120, E_MIPS_MACH_5400 and E_MIPS_MACH_5500. (_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120, bfd_mach_mips5400 and bfd_mach_mips5500. (_bfd_mips_elf_mach_extends_p): New function. (_bfd_mips_elf_merge_private_bfd_data): Use it to help merge the EF_MIPS_MACH flags. * bfd-in2.h: Regenerate.
* 2002-09-30 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-09-303-18/+58
| | | | | | | | | | * thread.cc (pthread_mutex::initMutex): Use the wrapper init call. (pthread_mutex::nativeMutex::init): Implement. (pthread_mutex::nativeMutex::lock): Ditto. (pthread_mutex::nativeMutex::unlock): Ditto. (pthread_mutex::init): Use the wrapper lock and unlockcalls. * thread.h (pthread_mutex): Move mutexInitializationLock into a nativeMutex wrapper class.
* Add cpu directory.Nick Clifton2002-09-302-1/+7
|
* Remove \n from calls to strace class printfs throughout.Christopher Faylor2002-09-3017-50/+54
|
* remove newlineChristopher Faylor2002-09-301-1/+1
|
* * exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.Christopher Faylor2002-09-303-5/+14
|
* * security.cc (allow_ntsec): Default to zero.Christopher Faylor2002-09-303-3/+7
| | | | | * environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS allows it.
* * cygpath.cc (close_arg): Remove unused static.Christopher Faylor2002-09-305-12/+20
| | | | | | | * mkgroup.c (enum_local_users): Avoid compiler warning. (enum_users): Ditto. * mkpasswd.c: Ditto throughout. * ssp.c: Ditto throughout.
* * environ.cc (environ_init): Avoid a compiler warning.Christopher Faylor2002-09-3010-16/+24
| | | | | | | | * path.cc (path_conv::check): Ditto. * path.h (path_conv::operator int): Ditto. * regex/engine.c: Ditto throughout. * regex/regcomp.c: Ditto throughout. * regex/regexec.c: Ditto throughout.
* * thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.Christopher Faylor2002-09-302-158/+152
| | | | | | GNUify comments. (__pthread_mutex_lock): Don't return error on EBUSY since that just means that the mutex has already been initialized.
* GNUify slightly.Christopher Faylor2002-09-291-10/+9
|
* 2002-09-30 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-09-294-14/+73
| | | | | | | | | | | | | | | | | | | | | * pthread.cc (pthread_mutex_init): Use new pthread_mutex::init. * thread.cc: Change __pthread_mutex_init to pthread_mutex::init throughout. (MTinterface::Init): Initialise pthread_mutex support. (pthread_mutex::mutexInitializationLock): Instantiate. (pthread_mutex::initMutex): New method. (__pthread_cond_dowait): Don't dereference untrusted pointers. Use the new pthread_mutex::init method. (__pthread_condattr_init): Don't dereference untrusted pointers. (__pthread_mutex_init): Rename to pthread_mutex::init. Lock and release mutexInitializationLock to prevent races on mutex initialisation. * thread.h (pthread_mutex::initMutex): New method, initialise pthread_mutex supporting state on process initialisation. (pthread_mutex::init): Initialise a single mutex. (pthread_mutex::mutexInitializationLock): A win32 mutex for syncronising pthread mutex initialisation. (__pthread_mutex_init): Remove this.
* 2002-09-29 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-09-292-26/+34
| | | | | | Revert below (note that src does not contain Makefile.tpl): * Makefile.tpl: Make subsituted variables more autoconfy. * Makefile.in: Regenerate.
* 2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-292-48/+100
| | | | * configure: Revert accidentally applied changes.
* 2002-09-29 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-295-116/+70
| | | | | | | | | | | | | * Makefile.tpl: Make more autoconf-friendly. * Makefile.in: Regenerate. * configure: Make substitution more autoconf-like. 2002-09-28 Richard Earnshaw <rearnsha@arm.com> * configure.in (arm-*-coff, strongarm-*-coff, xscale-*-coff): Use a single entry to handle all these. (arm-*-elf, strongarm-*-elf, xscale-*-elf): Likewise. Also enable libjava on arm-*-elf.
* Add missing ChangeLog entry.Christopher Faylor2002-09-291-0/+4
|
* * cygthread.h (cygthread::terminate): Declare new function.Christopher Faylor2002-09-295-89/+125
| | | | | | | | | (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.
* * Makefile.in (check): Be more defensive when creating testsuite config.status.Christopher Faylor2002-09-282-1/+6
|
* * configure.in (powerpc-*-darwin*): Don't configure BFD, TK, or theGeoffrey Keating2002-09-282-0/+8
| | | | things that depend on them.
* The v850 does not have a ctbp register.Jim Wilson2002-09-273-10/+6
| | | | | | Add myself to write-after-approval section of MAINTAINERS file. * libc/sys/sysnecv850/crt0.S (start): Delete v850 code for initializing the ctbp register.
* 2002-09-27 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-273-260/+292
| | | | | | | | | * libc/ctype/jp2uc.c: Change to use multiple arrays in jp2uc.h. Also convert to EUCJP before using arrays. For values not in the conversion arrays, return WEOF. * libc/ctype/jp2uc.h: Change from one array to a number of arrays to account for the fact that the originating table is not contiguous for the input values since some are invalid.
* bfd/Jakub Jelinek2002-09-272-8/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * reloc.c: Add x86-64 TLS relocs. * bfd-in2.h, libbfd.h: Rebuilt. * elf64-x86-64.c (x86_64_elf_howto): Fix size fields for 32-bit relocs. Add TLS relocs. (x86_64_reloc_map): Add TLS relocs. (elf64_x86_64_info_to_howto): Adjust for added TLS relocs. (struct elf64_x86_64_link_hash_entry): Add tls_type field. (GOT_UNKNOWN, GOT_NORMAL, GOT_TLS_GD, GOT_TLS_IE): Define. (elf64_x86_64_hash_entry): Define. (struct elf64_x86_64_obj_tdata): New. (elf64_x86_64_tdata, elf64_x86_64_local_got_tls_type): Define. (struct elf64_x86_64_link_hash_table): Add tls_ld_got. (link_hash_newfunc): Initialize tls_type. (elf64_x86_64_link_hash_table_create): Initialize tls_ld_got. (elf64_x86_64_copy_indirect_symbol): Swap tls_type if necessary. (elf64_x86_64_mkobject): New. (elf64_x86_64_elf_object_p): Allocate struct elf64_x86_64_obj_tdata. (elf64_x86_64_tls_transition): New. (elf64_x86_64_check_relocs): Add r_type variable and use it. Handle TLS relocs. (elf64_x86_64_gc_sweep_hook): Handle TLS relocs. (allocate_dynrelocs): Allocate GOT space for TLS relocs. (elf64_x86_64_size_dynamic_sections): Likewise. (dtpoff_base, tpoff): New. (elf64_x86_64_relocate_section): Handle TLS relocs. (elf64_x86_64_finish_dynamic_symbol): Only handle non-TLS GOT entries. (bfd_elf64_mkobject): Define. * elf32-i386.c (elf_i386_check_relocs) [R_386_TLS_LE]: Set DF_STATIC_TLS if shared. gas/ * config/tc-i386.c (tc_i386_fix_adjustable): Add x86-64 TLS relocs. Define them if not BFD_ASSEMBLER. (lex_got): Handle @tlsgd, @dtpoff and @tpoff in 64-bit mode, add @tlsld. (md_apply_fix3): No addend for BFD_RELOC_X86_64_TLSGD, BFD_RELOC_X86_64_TLSLD and BFD_RELOC_X86_64_GOTTPOFF. (tc_gen_reloc): Handle x86-64 TLS relocs. include/ * elf/x86-64.h: Add TLS relocs. ld/testsuite/ * lib/ld-lib.exp (run_ld_link_tests): Add. * ld-sh/sh64/sh64.exp (run_ld_link_tests, regexp_diff, file_contents): Remove. (sh64tests): Add 6th field to the tests array. * ld-i386/i386.exp (run_ld_link_tests): Remove. * ld-x86-64/x86-64.exp: New. * ld-x86-64/tlsbin.dd: New test. * ld-x86-64/tlsbinpic.s: New test. * ld-x86-64/tlsbin.rd: New test. * ld-x86-64/tlsbin.s: New test. * ld-x86-64/tlsbin.sd: New test. * ld-x86-64/tlsbin.td: New test. * ld-x86-64/tlslib.s: New test. * ld-x86-64/tlspic1.s: New test. * ld-x86-64/tlspic2.s: New test. * ld-x86-64/tlspic.dd: New test. * ld-x86-64/tlspic.rd: New test. * ld-x86-64/tlspic.sd: New test. * ld-x86-64/tlspic.td: New test.
* 2002-09-27 Robert Collins <rbtcollins@hotmail.com>Robert Collins2002-09-273-4/+23
| | | | | | | | | | | | * thread.cc (pthread_key::run_destructor): Run_destructor is not const as it needs to set the key value. * thread.h (pthread_key::run_destructor): Ditto. 2002-09-27 Robert Collins <rbtcollins@hotmail.com> * thread.cc (pthread_key::run_destructor): Follow opengroup algorithm. I.e. only run the destructor NON-NULL key values, and reset the key to NULL before running the destructor. Reported by Thomas Pfaff.
* 2002-09-26 Andrew Cagney <ac131313@redhat.com>Andrew Cagney2002-09-262-0/+4
| | | | * regs/: Delete directory.
* 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-264-82/+82
| | | | | | * Makefile.tpl: Make subsituted variables more autoconfy. * Makefile.in: Regenerate. * configure: Make seds more autoconfy.
* 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-254-33/+38
| | | | | | * Makefile.tpl: Rewrite substituted lines to look autoconfy. * Makefile.in: Regenerate. * configure.in: Rewrite sed statements to look autoconfy.
* Really rebuild it this time. :sigh:Nathanael Nerode2002-09-251-0/+4
|
* 2002-09-25 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-254-112/+78
| | | | | | | * Makefile.tpl: Autogenerate *-target-* lists, dependencies of all-target-foo on configure-target-foo. * Makefile.def: Ditto. * Makefile.in: Rebuild.
* * cygrun.c (main): Fix setting of CYGWIN environment variable.Christopher Faylor2002-09-252-2/+11
| | | | * Makefile.in: Remove linking of unnecessary libraries.
* * fhandler_proc.cc (format_process_stat): make ctty a real device number.Christopher Faylor2002-09-254-34/+31
| | | | (format_process_status): use effective uid/gid as real and saved uid/gid.
* 2002-09-22 Nathanael Nerode <neroden@gcc.gnu.org>Nathanael Nerode2002-09-245-33/+1961
| | | | | | | | * Makefile.def: New file. * Makefile.tpl: New file. * Makefile.in: Generate from Makefile.tpl with 'autogen Makefile.def'. * configure.in: Minor rearrangement. Simplify tests.
* 2002-09-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2002-09-242-4/+9
| | | | * libc/time/ctime.c: Fix prototype documentation.
* * errno.cc (errmap): Map ERROR_INVALID_ADDRESS to new errno codeCorinna Vinschen2002-09-243-6/+22
| | | | | | | | 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.
* * libc/include/sys/errno.h: Add EOVERFLOW.Corinna Vinschen2002-09-242-0/+5
|
* * mmap.cc (map_map): Add debug output.Corinna Vinschen2002-09-242-1/+7
| | | | (mmap64): Evaluate gran_len correctly even if offset isn't 0.
* * include/ws2tcpip.h: Throw error if winsock.h, not winsock2.hDanny Smith2002-09-242-4/+11
| | | | has been included first.