]>
sourceware.org Git - newlib-cygwin.git/log
DJ Delorie [Sat, 25 Sep 2004 00:26:33 +0000 (00:26 +0000)]
Merge from gcc:
2004-09-24 Zack Weinberg <zack@codesourcery.com>
* warnings.m4: New file.
Christopher Faylor [Fri, 24 Sep 2004 19:41:19 +0000 (19:41 +0000)]
Sergey Ivanov <seriv@parkheights.dyndns.org>
* path.cc (mount_info::read_cygdrive_info_from_registry): Default /cygdrive to
binary mode.
Jeff Johnston [Fri, 24 Sep 2004 16:03:46 +0000 (16:03 +0000)]
2004-09-24 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/local.h: Include <stdlib.h>.
DJ Delorie [Fri, 24 Sep 2004 14:57:15 +0000 (14:57 +0000)]
Merge from gcc
DJ Delorie [Fri, 24 Sep 2004 13:21:46 +0000 (13:21 +0000)]
* ylwrap: Revert to previous version.
Corinna Vinschen [Fri, 24 Sep 2004 09:47:10 +0000 (09:47 +0000)]
* cygwinenv.sgml: smbntsec is not on by default.
Corinna Vinschen [Fri, 24 Sep 2004 09:13:11 +0000 (09:13 +0000)]
* libc/stdio/fread.c (fread): Include <malloc.h>.
H.J. Lu [Fri, 24 Sep 2004 00:40:22 +0000 (00:40 +0000)]
2004-09-23 H.J. Lu <hongjiu.lu@intel.com>
* 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.
DJ Delorie [Thu, 23 Sep 2004 20:15:24 +0000 (20:15 +0000)]
Merge from gcc
2004-09-23 Kelley Cook <kcook@gcc.gnu.org>
* config.guess: New upstream version
* compile, depcomp, install-sh, ylwrap: Likewise.
DJ Delorie [Thu, 23 Sep 2004 19:54:49 +0000 (19:54 +0000)]
Merge from gcc:
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.
DJ Delorie [Thu, 23 Sep 2004 19:43:47 +0000 (19:43 +0000)]
Merge from gcc
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.
Corinna Vinschen [Thu, 23 Sep 2004 14:16:54 +0000 (14:16 +0000)]
* sysv_shm.cc (kern_shmat): Avoid compiler warning.
Corinna Vinschen [Thu, 23 Sep 2004 10:32:20 +0000 (10:32 +0000)]
* dump_setup.cc (dump_setup): Remove unneeded strlen when check_files
is not set.
Pierre Humblet [Thu, 23 Sep 2004 00:32:08 +0000 (00:32 +0000)]
2004-09-22 Pierre Humblet <pierre.humblet@ieee.org>
* 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.
Jeff Johnston [Wed, 22 Sep 2004 21:22:07 +0000 (21:22 +0000)]
2004-09-22 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Corinna Vinschen [Wed, 22 Sep 2004 11:50:51 +0000 (11:50 +0000)]
* dump_setup.cc (dump_setup): Avoid trailing spaces on package-list.
Ian Lance Taylor [Tue, 21 Sep 2004 18:41:02 +0000 (18:41 +0000)]
* libc/machine/xscale/setjmp.S: New file, copied from
libc/machine/arm/setjmp.S.
* libc/machine/xscale/Makefile.am (lib_a_SOURCES): Add setjmp.S.
* libc/machine/xscale/Makefile.in: Regenerate.
Corinna Vinschen [Tue, 21 Sep 2004 14:40:24 +0000 (14:40 +0000)]
* sysv_shm.cc (vm_object_reference): remove Cygwin specific define.
(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.
Christopher Faylor [Mon, 20 Sep 2004 05:35:46 +0000 (05:35 +0000)]
* exceptions.cc (sig_handle_tty_stop): Set flag earlier.
Christopher Faylor [Mon, 20 Sep 2004 05:31:17 +0000 (05:31 +0000)]
.
Christopher Faylor [Mon, 20 Sep 2004 04:58:36 +0000 (04:58 +0000)]
* exceptions.cc (sig_handle_tty_stop): Set flag that we are in a cygwin
function to avoid a probably erroneous stack walk.
Paul Brook [Fri, 17 Sep 2004 12:35:00 +0000 (12:35 +0000)]
bfd/
* 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.
Corinna Vinschen [Fri, 17 Sep 2004 09:10:53 +0000 (09:10 +0000)]
* syscalls.cc (unlink): Don't use "delete on close" on remote shares.
Corinna Vinschen [Fri, 17 Sep 2004 08:34:31 +0000 (08:34 +0000)]
* cygwin.din (_impure_ptr): And export again. There are libs out there.
Alan Modra [Fri, 17 Sep 2004 07:14:32 +0000 (07:14 +0000)]
include/
* 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.
Jeff Johnston [Thu, 16 Sep 2004 21:30:51 +0000 (21:30 +0000)]
2004-09-16 Antony King <antony.king@st.com>
* 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.
Jeff Johnston [Thu, 16 Sep 2004 21:26:51 +0000 (21:26 +0000)]
2004-09-16 Antony King <antony.king@st.com>
* 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.
Jeff Johnston [Thu, 16 Sep 2004 21:18:50 +0000 (21:18 +0000)]
2004-09-16 Antony King <antony.king@st.com>
* libc/stdio64/freopen64.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
Jeff Johnston [Thu, 16 Sep 2004 21:16:59 +0000 (21:16 +0000)]
2004-09-16 Antony King <antony.king@st.com>
* libc/time/tzlock.c: Add default stubs that use generic
locking code.
Jeff Johnston [Thu, 16 Sep 2004 21:15:14 +0000 (21:15 +0000)]
2004-09-16 Antony King <antony.king@st.com>
* 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.
Corinna Vinschen [Thu, 16 Sep 2004 09:14:29 +0000 (09:14 +0000)]
* cygwin.din (_impure_ptr): Don't export.
(reent_data): Export.
* lib/_cygwin_crt0_common.cc (_impure_ptr): Drop entirely. Don't
initialize _impure_ptr or u->impure_ptr_ptr.
Christopher Faylor [Thu, 16 Sep 2004 03:49:03 +0000 (03:49 +0000)]
* cygwin.din (_impure_ptr): Export.
(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.
Jeff Johnston [Wed, 15 Sep 2004 21:44:39 +0000 (21:44 +0000)]
2004-09-15 Corinna Vinschen <vinschen@redhat.com>
* 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.
Jeff Johnston [Wed, 15 Sep 2004 20:50:08 +0000 (20:50 +0000)]
2004-09-15 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Corinna Vinschen [Wed, 15 Sep 2004 10:17:53 +0000 (10:17 +0000)]
Fix copyright throughout.
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.
Corinna Vinschen [Wed, 15 Sep 2004 07:51:06 +0000 (07:51 +0000)]
* getfacl.c (main): Correct layout when nopt is set.
Christopher Faylor [Tue, 14 Sep 2004 23:44:50 +0000 (23:44 +0000)]
* cygtls.h: Add alignment kludge to fix disparity between compilers.
* tlsoffsets.h: Regenerate.
* fork.cc (slow_pid_reuse): Use define to control number of pids held to
prevent pid reuse.
Jeff Johnston [Tue, 14 Sep 2004 18:12:53 +0000 (18:12 +0000)]
2004-09-14 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Christopher Faylor [Tue, 14 Sep 2004 13:02:54 +0000 (13:02 +0000)]
* what.texinfo: Fix two typos reported on cygwin list.
Corinna Vinschen [Tue, 14 Sep 2004 08:29:12 +0000 (08:29 +0000)]
* autoload.cc (EnumProcessModules): Add.
* dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules().
* include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
Christopher Faylor [Tue, 14 Sep 2004 02:21:09 +0000 (02:21 +0000)]
* fork.cc (slow_pid_reuse): Temporarily double the number of pids held to
prevent pid reuse.
DJ Delorie [Tue, 14 Sep 2004 01:16:22 +0000 (01:16 +0000)]
merge from gcc
Jeff Johnston [Mon, 13 Sep 2004 17:10:20 +0000 (17:10 +0000)]
2004-09-13 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
* 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.
Christopher Faylor [Mon, 13 Sep 2004 15:14:38 +0000 (15:14 +0000)]
trivia change to force a new snapshot
Paul Brook [Mon, 13 Sep 2004 14:14:30 +0000 (14:14 +0000)]
bfd/
* 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}.
Christopher Faylor [Sun, 12 Sep 2004 19:34:08 +0000 (19:34 +0000)]
* sigproc.cc (wait_sig): Ensure that waiting threads are awoken after returning
from a hold condition.
Christopher Faylor [Sun, 12 Sep 2004 18:10:15 +0000 (18:10 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Christopher Faylor [Sun, 12 Sep 2004 03:55:42 +0000 (03:55 +0000)]
check in file missing from previous checkin.
Christopher Faylor [Sun, 12 Sep 2004 03:47:57 +0000 (03:47 +0000)]
* exceptions.cc: (ctrl_c_handler): Do nothing while a Cygwin subprocess is
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.
Marek Michalkiewicz [Sat, 11 Sep 2004 13:15:05 +0000 (13:15 +0000)]
* gas/config/tc-avr.c: Add support for
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
* include/opcode/avr.h: Add support for
atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
DJ Delorie [Fri, 10 Sep 2004 17:49:29 +0000 (17:49 +0000)]
2004-08-31 Robert Bowdidge <bowdidge@apple.com>
* mh-ppc-darwin: Add file, and override BOOT_CFLAGS.
Corinna Vinschen [Fri, 10 Sep 2004 08:34:37 +0000 (08:34 +0000)]
* fhandler.cc (fhandler_base::dup): Use debug_printf.
Corinna Vinschen [Fri, 10 Sep 2004 08:30:51 +0000 (08:30 +0000)]
* Makefile.in: Create libutil.a from bsdlib.o exports.
* bsdlib.cc (logwtmp): Move from syscalls.cc to here.
(login): Ditto.
(logout): Ditto.
* winsup.h (EXPORT_ALIAS): New macro.
* exec.cc: Define alias symbols using EXPORT_ALIAS macro.
* syscalls.cc: Ditto.
* times.cc: Ditto.
Daniel Berlin [Fri, 10 Sep 2004 02:19:35 +0000 (02:19 +0000)]
2004-09-09 Daniel Berlin <dberlin@dberlin.org>
* Makefile.def: Remove libbanshee.
* Makefile.tpl: Ditto.
* configure.in: Ditto.
* Makefile.in: Regen.
* configure: Ditto.
Jeff Johnston [Thu, 9 Sep 2004 19:46:54 +0000 (19:46 +0000)]
2004-09-09 Paul Brook <paul@codesourcery.com>
* libc/include/sys/reent.h (struct _on_exit_args): Add _dso_handle
and _is_cxa.
(struct _atexit): Add _next when _REENT_SMALL.
(struct _reent): Add _atexit0 when _REENT_SMALL.
(_REENT_INIT_PTR): Adjust.
* libc/stdlib/Makefile.am (GENERAL_SOURCES): Add __atexit.c and
__call_exit.c.
(EXTENDED_SOURCES): Add cxa_atexit.c and cxa_finalize.c.
* libc/stdlib/Makefile.in: Regenerate.
* libc/stdlib/__atexit.c: New file.
* libc/stdlib/__call_atexit.c: New file.
* libc/stdlib/atexit.h: Remove old definitions. Add new.
* libc/stdlib/atexit.c (atexit): Use __register_exitproc.
* libc/stdlib/cxa_atexit.c: New file.
* libc/stdlib/cxa_finalize.c: New file.
* libc/stdlib/exit.c (exit): Use __call_exitprocs.
* libc/stdlib/on_exit.c (on_exit): Use __register_exitproc.
2004-09-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/reent/reent.c [_REENT_SMALL]: Fix reference to
_on_exit_args_ptr.
Alan Modra [Thu, 9 Sep 2004 12:42:37 +0000 (12:42 +0000)]
opcodes/
* ppc-opc.c (L): Make this field not optional.
include/opcode/
* ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.
Corinna Vinschen [Thu, 9 Sep 2004 11:35:15 +0000 (11:35 +0000)]
* fhandler_tape.cc (fhandler_dev_tape::open): Fix typo.
Corinna Vinschen [Thu, 9 Sep 2004 08:58:44 +0000 (08:58 +0000)]
* pipe.cc (create_selectable_pipe): Work around bug in Windows 95
where CreateNamedPipe returns NULL.
Earnie Boyd [Thu, 9 Sep 2004 02:05:22 +0000 (02:05 +0000)]
* include/sys/stat.h (_S_IFLNK): Add definition.
(S_IFLNK) Ditto.
(_lstat) Ditto.
(lstat) Ditto.
(_S_ISLNK) Recode.
(S_ISLNK) Ditto.
Earnie Boyd [Wed, 8 Sep 2004 18:24:13 +0000 (18:24 +0000)]
* include/sys/stat.h (_S_ISLNK): Add definition.
(S_ISLNG): Ditto.
Corinna Vinschen [Wed, 8 Sep 2004 09:03:42 +0000 (09:03 +0000)]
* sim-sh.h: Add new sh2a banked registers.
Pierre Humblet [Tue, 7 Sep 2004 23:26:28 +0000 (23:26 +0000)]
2004-09-05 Pierre Humblet <pierre.humblet@ieee.org>
* cygheap.h (cwdstuff::drive_length): New member.
(cwdstuff::get_drive): New method.
* path.cc (normalize_win32_path): Simplify by using cwdstuff::get_drive.
(mount_info::conv_to_win32_path): Use cwdstuff::get_drive as default for /.
(cwdstuff::set): Initialize drive_length.
Paolo Bonzini [Tue, 7 Sep 2004 08:34:06 +0000 (08:34 +0000)]
2004-09-07 Paolo Bonzini <bonzini@gnu.org>
* missing: Import latest version from master repository.
Christopher Faylor [Tue, 7 Sep 2004 04:05:14 +0000 (04:05 +0000)]
* cygtls.cc (_cygtls::init_thread): Set __sdidinit to negative value to
indicate that it is "special".
* thread.cc (pthread::exit): If __sdidinit is < 0, it was never really
initialized so reset it to 0 before calling _reclaim_reent.
Corinna Vinschen [Mon, 6 Sep 2004 20:32:45 +0000 (20:32 +0000)]
* bsd_mutex.cc (_msleep): Disable resetting event object for now.
Danny Smith [Mon, 6 Sep 2004 09:09:33 +0000 (09:09 +0000)]
2004-09-06 Hosaka Yuji <hos@tamanegi.org>
* include/mshtml.h (IHTMLDocument2): Correct get_selection
declaration.
(IHTMLSelectionObject): Correct get_type declaration.
(IHTMLFramesCollection2, IHTMLWindow2, IHTMLFrameBase,
IHTMLFrameBase2, IHTMLFrameBase3, IHTMLBodyElement,
IHTMLBodyElement2): Add interfaces.
(LPHTMLIMAGEELEMENTFACTORY, LPHTMLEVENTOBJ, LPHTMLSCREEN,
LPHTMLOPTIONELEMENTFACTORY, LPOMHISTORY, LPOMNAVIGATOR): Add
typedefs.
* lib/mshtml-uuid.c (IID_IHTMLFrameBase2, IID_IHTMLFrameBase3):
Add IIDs.
Christopher Faylor [Sun, 5 Sep 2004 16:08:44 +0000 (16:08 +0000)]
* include/cygwin/version.h: Bump DLL minor number to 12.
Earnie Boyd [Sun, 5 Sep 2004 15:27:56 +0000 (15:27 +0000)]
* include/w32api.h: Increment version to 3.1.
* Makefile.in: Ditto.
Earnie Boyd [Sun, 5 Sep 2004 14:15:01 +0000 (14:15 +0000)]
* mingwex/Makefile.in: Correct typo in list of DISTFILES.
Earnie Boyd [Sun, 5 Sep 2004 13:51:33 +0000 (13:51 +0000)]
* include/_mingw.h: Increment minor version for 3.5 release.
* Makefile.in: Ditto.
Danny Smith [Sun, 5 Sep 2004 10:35:34 +0000 (10:35 +0000)]
2004-09-05 Hosaka Yuji <hos@tamanegi.org>
* include/winuser.h (MonitorFromPoint, MonitorFromRect,
MonitorFromWindow): Add prototypes.
* lib/user32.def (MonitorFromPoint, MonitorFromRect,
MonitorFromWindowMonitorFromWindow): Add stubs.
* include/shellapi.h (DuplicateIcon): Add prototype.
Danny Smith [Sun, 5 Sep 2004 10:14:26 +0000 (10:14 +0000)]
* include/winuser.h (WINUSERAPI): New define.
Use it to mark user32.dll imports, throughout.
Danny Smith [Sun, 5 Sep 2004 10:05:24 +0000 (10:05 +0000)]
22004-09-05 Hosaka Yuji <hos@tamanegi.org>
* lib/ddk/hid.def (HidD_FlushQueue, HidD_FreePreparsedData,
HidD_GetAttributes, HidD_GetConfiguration, HidD_GetFeature,
HidD_GetHidGuid, HidD_GetIndexedString, HidD_GetInputReport,
HidD_GetManufacturerString, HidD_GetMsGenreDescriptor,
HidD_GetNumInputBuffers, HidD_GetPhysicalDescriptor,
HidD_GetPreparsedData, HidD_GetProductString,
HidD_GetSerialNumberString, HidD_SetConfiguration,
HidD_SetFeature, HidD_SetNumInputBuffers, HidD_SetOutputReport,
HidP_GetButtonCaps, HidP_GetValueCaps): Add exports.
DJ Delorie [Sun, 5 Sep 2004 06:04:05 +0000 (06:04 +0000)]
merge from gcc
Nick Clifton [Sat, 4 Sep 2004 07:53:54 +0000 (07:53 +0000)]
Import latest version from master repository.
Richard Henderson [Fri, 3 Sep 2004 19:09:39 +0000 (19:09 +0000)]
* configure.in: Remove target-libstdc++-v3 from noconfigdirs for
*-*-netware, but add target-libmudflap.
Consolidate *-*-netware targets (of which really only i?86 exists)
into a single entry.
* configure: Likewise.
Corinna Vinschen [Fri, 3 Sep 2004 08:18:41 +0000 (08:18 +0000)]
* security.cc: Fix a few more strace_prints.
Christopher Faylor [Fri, 3 Sep 2004 01:53:12 +0000 (01:53 +0000)]
Regularize most strace_prints throughout so that %E is always preceded by a
comma and elminate most uses of "foo = %s" to "foo %s".
Christopher Faylor [Fri, 3 Sep 2004 01:32:02 +0000 (01:32 +0000)]
Christopher Faylor <cgf@timesys.com>
* autoload.cc (NtQueryInformationFile): Return nonzero on error.
* ntdll.h (FILE_PIPE_LOCAL_INFORMATION): Add.
(NtQueryInformationFile): Fix types for last two arguments.
* pipe.cc: Include stdlib.h, limits.h, and ntdll.h.
(create_selectable_pipe): New function to create a pipe that can be used with
NtQueryInformationFile for select.
(fhandler_pipe::create): Call create_selectable_pipe instead of CreatePipe.
(pipe): Use DEFAULT_PIPEBUFSIZE as argument to create_pipe.
* select.cc: Include limits.h and ntdll.h.
(peek_pipe): Add select_printf output. Call NtQueryInformationFile to
implement select for write on pipes.
(fhandler_pipe::select_read): Reorder field assignments to be consistent with
fhandler_pipe::select_write.
(fhandler_pipe::select_write): Initialize startup, verify, cleanup, and
write_ready fields for select_record.
(fhandler_pipe::select_except): Tweak indentation to be consistent with
fhandler_pipe::select_write.
Corinna Vinschen [Thu, 2 Sep 2004 08:14:49 +0000 (08:14 +0000)]
* textbinary.sgml: Change default mode for non-mounted paths to binary.
Paolo Bonzini [Wed, 1 Sep 2004 07:48:07 +0000 (07:48 +0000)]
2004-09-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (sorry): Remove.
(clean-stage[+id+], clean-stage[+id+]-module): New targets.
(cleanstrap targets): Depend on distclean, not distclean-stage1.
(do-clean): Clean per-stage directories too.
(do-distclean): Run distclean-stage1 too.
(.NOTPARALLEL): Enable during toplevel bootstrap.
(stage[+id+]-bubble): Enable parallel execution during
the recursive invocation.
* Makefile.in: Regenerate.
Sync from gcc (moving the Makefile.in change to Makefile.tpl):
2004-08-31 Robert Bowdidge <bowdidge@apple.com>
* Makefile.in: Move BOOT_CFLAGS above host makefile fragment include.
* configure.in: add test for powerpc-*-darwin* to specify makefile frag
* configure: regenerate
* config/mh-ppc-darwin: create file, override BOOT_CFLAGS for
-mdynamic-no-pic
Corinna Vinschen [Tue, 31 Aug 2004 10:47:27 +0000 (10:47 +0000)]
* sysv_shm.cc (kern_shmat): Add debug_printf's.
Paolo Bonzini [Tue, 31 Aug 2004 10:16:19 +0000 (10:16 +0000)]
2004-08-31 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add fixincludes.
(dependencies): Make gcc depend on fixincludes.
* configure.in (build_tools): Add fixincludes.
(build_configdirs): Always include build_libs.
* Makefile.in: Regenerate.
* configure: Regenerate.
Christopher Faylor [Tue, 31 Aug 2004 03:34:04 +0000 (03:34 +0000)]
* fork.cc (fork_parent): Return the cygpid directly derived from the winpid.
Christopher Faylor [Mon, 30 Aug 2004 22:08:50 +0000 (22:08 +0000)]
* fork.cc (fork_parent): Record child's pid when we're sure that it has been
filled out by the child.
* pinfo.cc (pinfo::init): Trivial change.
Paolo Bonzini [Mon, 30 Aug 2004 08:05:42 +0000 (08:05 +0000)]
2004-08-26 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (bootstrap stages): Add 'lean' parameter.
* Makefile.tpl (configure-stageN-*, all-stageN-*): Turned into
phony targets; do not generate timestamp files.
(distclean-stageN): Remove references to their timestamp files.
(restageN, touch-stageN): Remove.
(stageN-bubble): Rewritten.
(compare): Support lean bootstraps.
* Makefile.in: Regenerate.
* configure.in: Only warn when bootstrapping but
build != host or build != target. Support lean bootstraps.
* configure: Regenerate.
Sync from gcc:
2004-08-26 Phil Edwards <phil@codesourcery.com>
* configure.in: Give a better error message if GMP/MPFR are missing
and a language needing them has been requested.
* configure: Regenerated.
2004-08-25 Phil Edwards <phil@codesourcery.com>
* configure.in: Print a list of available language front-ends if
a requested one is missing. Tidy stray tab characters.
* configure: Regenerated.
Corinna Vinschen [Sun, 29 Aug 2004 09:32:49 +0000 (09:32 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Allow to report
success on systems with ntsec and ntea set.
Corinna Vinschen [Sat, 28 Aug 2004 15:46:57 +0000 (15:46 +0000)]
* fhandler.cc (fhandler_base::write): In the lseek_bug case, set EOF
before zero filling. Combine similar error handling statements.
Pierre Humblet [Sat, 28 Aug 2004 01:37:27 +0000 (01:37 +0000)]
2004-08-28 Pierre Humblet <pierre.humblet@ieee.org>
* syscalls.cc (ftruncate64): On 9x, call write with a zero length
to zero fill when the file is extended.
Corinna Vinschen [Wed, 25 Aug 2004 16:30:16 +0000 (16:30 +0000)]
* i386/cygmon.ld (.text): Fix alignment.
(.rodata): Handle .rodata.* sections.
Nick Clifton [Wed, 25 Aug 2004 12:54:15 +0000 (12:54 +0000)]
Apply Dmitry Diky's patches to add relaxation to msp430.
Danny Smith [Wed, 25 Aug 2004 08:43:25 +0000 (08:43 +0000)]
2004-08-25 Lars Rune N�stdal <daysleper@users.sourceforge.net>
* include/wincon.h (CONSOLE_FULLSCREEN_MODE, CONSOLE_WINDOWED_MODE):
Add defines.
(PCOORD): Add typedef.
(GetConsoleDisplayMode, SetConsoleDisplayMode): Add prototypes.
Danny Smith [Wed, 25 Aug 2004 07:55:59 +0000 (07:55 +0000)]
* include/winldap.h: Don't check value of UNICODE.
Thanks to: "Jean-Do" <spab@users.sourceforge.net>
Danny Smith [Tue, 24 Aug 2004 23:20:42 +0000 (23:20 +0000)]
* include/winbase.h (WINBASEAPI): Guard with __INSIDE_CYGWIN__.
Corinna Vinschen [Tue, 24 Aug 2004 22:49:16 +0000 (22:49 +0000)]
* syscalls.cc (link): Avoid compiler warning.
Corinna Vinschen [Tue, 24 Aug 2004 22:04:18 +0000 (22:04 +0000)]
* bsd_mutex.cc (_msleep): Release process object while waiting.
Corinna Vinschen [Tue, 24 Aug 2004 09:58:16 +0000 (09:58 +0000)]
* winsup.api/mmaptest01.c (main): Accomodate 9x memory usage.
Corinna Vinschen [Tue, 24 Aug 2004 09:34:04 +0000 (09:34 +0000)]
* winsup.api/ltp/symlink01.c (do_link): Print inode numbers using %llu
format specifier.
Danny Smith [Tue, 24 Aug 2004 09:02:45 +0000 (09:02 +0000)]
* include/malloc.h (__mingw_aligned_offset_malloc,
__mingw_aligned_offset_realloc, __mingw_aligned_malloc,
__mingw_aligned_realloc, __mingw_aligned_free): Add
prototypes.
* mingwex/Makefile.in (DISTFILES): Add mingw-aligned-malloc.c,
tst-aligned-malloc.c.
(REPLACE_OBJS): Add mingw-aligned-malloc.o.
Danny Smith [Tue, 24 Aug 2004 08:55:42 +0000 (08:55 +0000)]
2004-08-24 Steven G. Johnson <stevenj@alum.mit.edu>
* mingwex/mingw-aligned-malloc.c: New file.
* mingwex/tst-aligned-malloc.c: New file.
This page took 0.070643 seconds and 5 git commands to generate.