summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/_cygwin_crt0_common.cc: Revert patch from 2004-09-16. BrakesCorinna Vinschen2004-09-272-0/+12
| | | | newly built DLLs.
* Merge from gcc:DJ Delorie2004-09-252-0/+101
| | | | | 2004-09-24 Zack Weinberg <zack@codesourcery.com> * warnings.m4: New file.
* Sergey Ivanov <seriv@parkheights.dyndns.org>Christopher Faylor2004-09-242-5/+11
| | | | | * path.cc (mount_info::read_cygdrive_info_from_registry): Default /cygdrive to binary mode.
* 2004-09-24 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-09-242-0/+5
| | | | * libc/stdio/local.h: Include <stdlib.h>.
* Merge from gccDJ Delorie2004-09-241-0/+1
|
* * ylwrap: Revert to previous version.DJ Delorie2004-09-242-170/+76
|
* * cygwinenv.sgml: smbntsec is not on by default.Corinna Vinschen2004-09-242-8/+11
|
* * libc/stdio/fread.c (fread): Include <malloc.h>.Corinna Vinschen2004-09-242-0/+5
|
* 2004-09-23 H.J. Lu <hongjiu.lu@intel.com>H.J. Lu2004-09-247-74/+174
| | | | | | | | | | | | | | | | | * Makefile.tpl (REALLY_SET_LIB_PATH): Add @SET_GCC_LIB_PATH@. (HOST_EXPORTS]): Add @SET_GCC_LIB_PATH@. Set and export SET_GCC_LIB_PATH_CMD. (BASE_TARGET_EXPORTS): Likewise. * Makefile.in: Regenerated. * configure.in (SET_GCC_LIB_PATH): Set and substitute. * configure: Regenerated. config/ 2004-09-23 H.J. Lu <hongjiu.lu@intel.com> * gcc-lib-path.m4: New file.
* Merge from gccDJ Delorie2004-09-231-0/+140
| | | | | | 2004-09-23 Kelley Cook <kcook@gcc.gnu.org> * config.guess: New upstream version * compile, depcomp, install-sh, ylwrap: Likewise.
* Merge from gcc:DJ Delorie2004-09-238-256/+423
| | | | | | | | | | | | | | | | | 2004-09-23 Kelley Cook <kcook@gcc.gnu.org> * config.guess: New upstream version * compile, depcomp, install-sh, ylwrap: Likewise. 2004-09-19 Roger Sayle <roger@eyesopen.com> * config/mh-x86omitfp: New host makefile fragment. Add -fomit-frame-pointer to the default BOOT_CFLAGS. * configure.in: Use it to speed up bootstrap on some IA-32 hosts. * configure: Regenerate. 2004-09-15 Andrew Pinski <pinskia@physics.uc.edu> PR target/11572 * configure.in (*-*-darwin*): Renable libobjc. * configure: Regenerate.
* Merge from gccDJ Delorie2004-09-2319-64/+1981
| | | | | | | | | 2004-09-22 Kelley Cook <kcook@gcc.gnu.org> * gettext-sister.m4: Renamed from gettext.m4 * codeset.m4, gettext.m4, glibc21.m4, iconv.m4, intdiv0.m4, po.m4, inttypes.m4, inttypes-pri.m4, inttypes_h.m4, lcmessage.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4, nls.m4, progtest.m4, stdint_h.m4, uintmax_t.m4, ulonglong.m4: Import from gettext-0.12.1 sources.
* * sysv_shm.cc (kern_shmat): Avoid compiler warning.Corinna Vinschen2004-09-232-0/+8
|
* * dump_setup.cc (dump_setup): Remove unneeded strlen when check_filesCorinna Vinschen2004-09-232-2/+6
| | | | is not set.
* 2004-09-22 Pierre Humblet <pierre.humblet@ieee.org>Pierre Humblet2004-09-232-7/+12
| | | | | | | * path.cc (normalize_win32_path): Only look for : in second position. Avoid infinite loop with names starting in double dots. (mount_info::conv_to_win32_path): Do not worry about a trailing dot. (hash_path_name): Ditto.
* 2004-09-22 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-09-222-18/+81
| | | | | | * libc/stdio/fread.c (fread): For non-space-optimized case, add special code for unbuffered files to use user buffer and only require one low-level system read.
* * dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.Corinna Vinschen2004-09-222-4/+16
|
* * libc/machine/xscale/setjmp.S: New file, copied fromIan Lance Taylor2004-09-214-3/+149
| | | | | | libc/machine/arm/setjmp.S. * libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S. * libc/machine/xscale/Makefile.in: Regenerate.
* * sysv_shm.cc (vm_object_reference): remove Cygwin specific define.Corinna Vinschen2004-09-212-8/+16
| | | | | | | (vm_map_find): Ditto. (vm_map_inherit): Ditto. (kern_shmat): On Cygwin, take shmaddr just as is. Don't call vm system calls on Cygwin. Add comment.
* * exceptions.cc (sig_handle_tty_stop): Set flag earlier.Christopher Faylor2004-09-202-1/+5
|
* .Christopher Faylor2004-09-201-1/+1
|
* * exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwinChristopher Faylor2004-09-203-1/+10
| | | | function to avoid a probably erroneous stack walk.
* bfd/Paul Brook2004-09-172-3/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype. (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. * bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc. (elf32_arm_link_hash_table_create): Set it. (bfd_elf32_arm_process_before_allocation): Remove target1_is_rel. (bfd_elf32_arm_set_target_relocs): New function. (arm_real_reloc_type): New function. (elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and R_ARM_GOT_PREL. Remove R_ARM_TARGET1. (elf32_arm_gc_sweep_hook): Ditto. (elf32_arm_check_relocs): Ditto. (elf32_arm_relocate_section): Handle R_ARM_GOT_PREL. * elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and R_ARM_GOT_TARGET2. (elf32_arm_got_prel): New variable. (elf32_arm_howto_from_type): New function. (elf32_arm_info_to_howto): Use it. (elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. * libbfd.h: Regenerate. * reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31. gas/ * config/tc-arm.c (s_arm_rel31): New funciton. (md_pseudo_table): Add .rel31. (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2, BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31. (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2. (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2. (arm_parse_reloc): Add (target2). gas/testsuite/ * gas/arm/pic.s: Add (target2). * gas/arm/pic.d: Ditto. include/ * elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK. Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL, R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX. ld/ * ld.texinfo: Rename arm-specific section. Document --target* * emulparams/armelf_fbsd.sh: Set TARGET2_TYPE. * emulparams/armelf_linux.sh: Ditto. * emulparams/armelf_nbsd.sh: Ditto. * emultempl/armelf.em: Set default for TARGET2_TYPE. (target2_type): New variable. (arm_elf_before_allocation): Don't pass target1_type. (arm_elf_create_output_section_statements): New function. (PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2. (PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=. (PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2. (LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set. * emultempl/armelf_oabi.em (_before_allocation): Remove extra argument to bfd_elf32_arm_process_before_allocation. ld/testsuite/ * ld-arm/arm-target1-{abs,rel}.d}: New files. * ld-arm/arm-target1.s: New file. * ld-arm/arm-target2-{,got-}rel.d: New files. * ld-arm/arm-target2.s: New file. * ld-arm/arm-rel31.d: New files. * ld-arm/arm-rel31.s: New files. * ld-arm/arm.ld: New file. * ld-arm/arm-elf.exp: Add new tests.
* * syscalls.cc (unlink): Don't use "delete on close" on remote shares.Corinna Vinschen2004-09-172-2/+22
|
* * cygwin.din (_impure_ptr): And export again. There are libs out there.Corinna Vinschen2004-09-172-0/+5
|
* include/Alan Modra2004-09-172-22/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bfdlink.h (struct bfd_link_hash_entry): Move und_next into elements of union. bfd/ * ecoff.c: Update u.undef.next refs. * elf64-ppc.c: Likewise. * elflink.c: Likewise. * linker.c: Likewise. * xcofflink.c: Likewise. ld/ * ldexp.c (fold_name): Update u.undef.next refs. * emultempl/pe.em: Likewise. * emultempl/sunos.em: Likewise. bfd/ * elf-bfd.h (struct elf_link_hash_entry): Rearrange. Add FIXME to dynamic_def. Combine weakdef and elf_hash_value. Move vtable fields to indirect struct. * elf-m10300.c: Update u.weakdef refs. * elf32-arm.h: Likewise. * elf32-cris.c: Likewise. * elf32-frv.c: Likewise. * elf32-hppa.c: Likewise. * elf32-i370.c: Likewise. * elf32-i386.c: Likewise. * elf32-m32r.c: Likewise. * elf32-m68k.c: Likewise. * elf32-ppc.c: Likewise. * elf32-s390.c: Likewise. * elf32-sh.c: Likewise. * elf32-sparc.c: Likewise. * elf32-vax.c: Likewise. * elf32-xtensa.c: Likewise. * elf64-alpha.c: Likewise. * elf64-hppa.c: Likewise. * elf64-ppc.c: Likewise. * elf64-s390.c: Likewise. * elf64-sh64.c: Likewise. * elf64-sparc.c: Likewise. * elf64-x86-64.c: Likewise. * elfxx-ia64.c: Likewise. * elfxx-mips.c: Likewise. * elflink.c: Likewise. Also u.elf_hash_value. (elf_gc_propagate_vtable_entries_used): Update for h->vtable indirection. (elf_gc_smash_unused_vtentry_relocs): Likewise. (bfd_elf_gc_record_vtinherit): Alloc vtable. (bfd_elf_gc_record_vtentry): Likewise. * elf.c (_bfd_elf_link_hash_newfunc): Use memset.
* 2004-09-16 Antony King <antony.king@st.com>Jeff Johnston2004-09-169-23/+52
| | | | | | | | | | | | | | | | | | | * libc/include/sys/lock.h: Replaced empty {} with (0) to conform with locking API. * libc/include/sys/stdio.h: (_flockfile)[!_SINGLE_THREAD]: Add check for__SSTR in _flags and if set, skip lock request. (_funlockfile)[!SINGLE_THREAD]: Ditto. * libc/stdio/local.h (CHECK_INIT): Added check that _REENT is not NULL. * libc/stdio/siprintf.c (siprintf, _siprintf_r): Added missing initialisation of _file to -1 in local FILE. * libc/stdio/snprintf.c (snprintf, _snprintf_r): Ditto. * libc/stdio/sscanf.c (sscanf, _sscanf_r): Ditto. * libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Ditto. * libc/stdio/vsscanf.c (_vsscanf_r): Ditto. * libc/stdio/sscanf.c (sscanf, _sscanf_r): Added __SSTR flag to _flags in local FILE to prevent locking. * libc/stdio/vsscanf.c (_vsscanf_r): Ditto.
* 2004-09-16 Antony King <antony.king@st.com>Jeff Johnston2004-09-163-16/+13
| | | | | | | * libc/stdio/fwalk.c (_fwalk): Remove check for _GLOBAL_REENT and only walk the reentrancy parameter. (_fwalk_reent): Ditto. * libc/stdlib/exit.c: Remove out of date _REENT_ONLY check.
* 2004-09-16 Antony King <antony.king@st.com>Jeff Johnston2004-09-162-1/+6
| | | | | * libc/stdio64/freopen64.c: Remove casting of fp lock to _LOCK_RECURSIVE_T.
* 2004-09-16 Antony King <antony.king@st.com>Jeff Johnston2004-09-162-7/+24
| | | | | * libc/time/tzlock.c: Add default stubs that use generic locking code.
* 2004-09-16 Antony King <antony.king@st.com>Jeff Johnston2004-09-167-35/+88
| | | | | | | | | * libc/ctype/ctype.tex: Added missing documentation. * libc/stdio/stdio.tex Ditto. * libc/stdlib/stdlib.tex Ditto. * libc/string/strings.tex Ditto. * libc/time/time.tex: Ditto. * libc/stdio/setbuffer.c: Removed setlinebuf documentation.
* * cygwin.din (_impure_ptr): Don't export.Corinna Vinschen2004-09-163-8/+8
| | | | | | (reent_data): Export. * lib/_cygwin_crt0_common.cc (_impure_ptr): Drop entirely. Don't initialize _impure_ptr or u->impure_ptr_ptr.
* * cygwin.din (_impure_ptr): Export.Christopher Faylor2004-09-164-6/+17
| | | | | | | | | (reent_data): Don't export. * dcrt0.cc (reent_data): Drop. (__cygwin_user_data): Initialize impure_ptr as GLOBAL_REENT. (_dll_crt0): Initialize _impure_ptr as GLOBAL_REENT. * lib/_cygwin_crt0_common.cc (_impure_ptr): Drop. Declare extern as dllimport instead.
* 2004-09-15 Corinna Vinschen <vinschen@redhat.com>Jeff Johnston2004-09-153-1/+11
| | | | | | | * libc/reent/impure.c (reent_data): Define as alias to impure_data when building for Cygwin. * libc/include/sys/reent.h (_GLOBAL_REENT): Revert definition to _global_impure_ptr.
* 2004-09-15 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-09-1520-3437/+29
| | | | | | | | | | | | | | | | | | | | | | | * configure.host: Reverting 2004-09-14 change as fix has occurred on Cygwin side. * configure.in: Ditto. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Ditto. * libc/configure: Ditto. * libc/sys/configure: Ditto. * libc/include/sys/reent.h: Ditto. * libc/stdlib/__atexit.c: Ditto. * libc/stdlib/__call_atexit.c: Ditto. * libc/stdlib/cxa_atexit.c: Ditto. * libc/stdlib/cxa_finalize.c: Ditto. * libc/sys/cygwin/Makefile.am: Removed again. * libc/sys/cygwin/Makefile.in: Ditto. * libc/sys/cygwin/aclocal.m4: Ditto. * libc/sys/cygwin/configure: Ditto. * libc/sys/cygwin/configure.in: Ditto. * libc/sys/cygwin/dummy.c: Ditto. * libc/sys/cygwin/sys/reent.h: Ditto.
* Fix copyright throughout.Corinna Vinschen2004-09-1517-48/+74
| | | | | | | | | | | | | Eliminate use of _impure_ptr outside Cygwin. * bsd_helper.cc: Include errno.h instead of cygerrno.h. * bsd_mutex.cc : Ditto. * client.cc: Ditto. * cygserver.cc: Ditto. * process.cc: Don't build functions inside Cygwin. Don't include cygerrno.h. Don't set errno. * transport_pipes.cc (SET_ERRNO): New define. Use througout. * transport_sockets.cc (SET_ERRNO): Ditto. (GET_ERRNO): Ditto.
* * getfacl.c (main): Correct layout when nopt is set.Corinna Vinschen2004-09-152-2/+6
|
* * cygtls.h: Add alignment kludge to fix disparity between compilers.Christopher Faylor2004-09-144-55/+75
| | | | | | * tlsoffsets.h: Regenerate. * fork.cc (slow_pid_reuse): Use define to control number of pids held to prevent pid reuse.
* 2004-09-14 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2004-09-1420-7/+3463
| | | | | | | | | | | | | | | | | | | | | | | | * configure.host: Add Cygwin sys directory. * configure.in: Do not set CRT0 for cygwin. * libc/configure.in: Ditto. * libc/sys/configure.in: Ditto. * configure: Regenerated. * libc/configure: Ditto. * libc/sys/configure: Ditto. * libc/include/sys/reent.h: Add __REENT_HAS_CXA_SUPPORT flag. * libc/stdlib/__atexit.c: Keep cxa support protected by new __REENT_HAS_CXA_SUPPORT flag. * libc/stdlib/__call_atexit.c: Ditto. * libc/stdlib/cxa_atexit.c: Ditto. * libc/stdlib/cxa_finalize.c: Ditto. * libc/sys/cygwin/Makefile.am: New file. * libc/sys/cygwin/Makefile.in: Ditto. * libc/sys/cygwin/aclocal.m4: Ditto. * libc/sys/cygwin/configure: Ditto. * libc/sys/cygwin/configure.in: Ditto. * libc/sys/cygwin/dummy.c: Ditto. * libc/sys/cygwin/sys/reent.h: Ditto. This file is stabilized version of reent.h.
* * what.texinfo: Fix two typos reported on cygwin list.Christopher Faylor2004-09-142-2/+6
|
* * autoload.cc (EnumProcessModules): Add.Corinna Vinschen2004-09-144-1/+30
| | | | | * dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules(). * include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
* * fork.cc (slow_pid_reuse): Temporarily double the number of pids held toChristopher Faylor2004-09-142-1/+6
| | | | prevent pid reuse.
* merge from gccDJ Delorie2004-09-142-1/+5
|
* 2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>Jeff Johnston2004-09-135-145/+1055
| | | | | | | | * libc/iconv/iconv.tex: Updated with new content. * libc/iconv/lib/iconvnls.c: Reference ICONV_DEFAULT_NLSPATH instead of NLS_DEFAULT_NLSPATH. * libc/iconv/lib/iconvnls.h: Fix typo. * libc/include/sys/iconvnls.h: New file.
* trivia change to force a new snapshotChristopher Faylor2004-09-131-4/+4
|
* bfd/Paul Brook2004-09-132-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | * bfd-in.h (bfd_elf32_arm_process_before_allocation): Update prototype. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-arm.h (elf32_arm_link_hash_table): Add target1_is_rel. (elf32_arm_link_hash_table_create): Set target1_is_rel. (bfd_elf32_arm_process_before_allocation): Ditto. (elf32_arm_final_link_relocate): Handle R_ARM_TARGET1. (elf32_arm_gc_sweep_hook, elf32_arm_check_relocs): Ditto. * elfarm-nabi.c (elf32_arm_howto_table): Rename RELABS to TARGET1. * reloc.c: Ditto. gas/ * config/tc-arm.c: Rename RELABS to TARGET1. gas/testsuite/ * gas/arm/pic.d: Rename RELABS to TARGET1. * gas/arm/pic.s: Ditto. include/ * elf/arm.h: Rename RELABS to TARGET1. ld/ * emulparams/armsymbian.sh: Set TARGET1_IS_REL. * emultempl/armelf.em: Use TARGET1_IS_REL. Add --target1-{rel,abs}.
* * sigproc.cc (wait_sig): Ensure that waiting threads are awoken after returningChristopher Faylor2004-09-122-8/+21
| | | | from a hold condition.
* * child_info.h (CURR_CHILD_INFO_MAGIC): Update.Christopher Faylor2004-09-122-1/+5
|
* check in file missing from previous checkin.Christopher Faylor2004-09-121-2/+2
|
* * exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess isChristopher Faylor2004-09-1221-218/+237
| | | | | | | | | | | | | | | | | | | | | | | | | | | starting. * child_info.h (init_child_info): Remove pid argument from declaration. * cygheap.h (init_cygheap::pid): New element. * dcrt0.cc (dll_crt0_0): Eliminate handling of now-noexistent cygpid parameter in child_info struct. Set forkee to 'true' rather than cygpid since the pid value was never used. (dll_crt0_1): Ditto. (_dll_crt0): Ditto. * fork.cc (fork_child): Don't wait for sigthread. This is handled in the fork call now. (fork_parent): Remove obsolete pid argument from init_child_info call. Don't do anything special with cygpid when DEBUGGING. (fork): Delay all signals during fork. (fork_init): Don't do anything special when DEBUGGING. * pinfo.cc (set_myself): Remove pid parameter. Use new pid field in cygheap. (pinfo_init): Don't pass pid argument to set_myself. * sigproc.cc (sig_send): Wait for dwProcessId to be non-zero as well as sendsig. (init_child_info): Eliminate handling of pid. (wait_sig): Implement method to temporarily hold off sending signals. * sigproc.h (__SIGHOLD): New enum. (__SIGNOHOLD): Ditto. * spawn.cc (spawn_guts): Remove obsolete pid argument from init_child_info call.