]>
sourceware.org Git - newlib-cygwin.git/log
Corinna Vinschen [Wed, 6 Oct 2004 09:46:40 +0000 (09:46 +0000)]
* cygcheck.cc (dump_sysinfo): Warn about empty path-components.
Pierre Humblet [Wed, 6 Oct 2004 01:33:39 +0000 (01:33 +0000)]
2004-10-05 Pierre Humblet <pierre.humblet@ieee.org>
* external.cc (check_ntsec): Do not call wincap.has_security.
* path.cc (path_conv::check): Ditto.
* security.cc (get_object_attribute): Ditto.
(get_file_attribute): Ditto.
Jeff Johnston [Tue, 5 Oct 2004 20:00:53 +0000 (20:00 +0000)]
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
* configure.in: Support crx-*-*.
* configure: regenerate.
* crx/_exit.c: New file.
* crx/_getenv.c: Ditto.
* crx/_rename: Ditto.
* crx/close.c: Ditto.
* crx/configure.in: Ditto.
* crx/crti.S: Ditto.
* crx/crtn.S: Ditto.
* crx/crt0.S: Ditto.
* crx/dvz_hndl.c: Ditto.
* crx/flg_hndl.c: Ditto.
* crx/fstat.c: Ditto.
* crx/getpid.c: Ditto.
* crx/iad_hndl.c: Ditto.
* crx/intable.c: Ditto.
* crx/isatty.c: Ditto.
* crx/kill.c: Ditto.
* crx/lseek.c: Ditto.
* crx/Makefile.in: Ditto.
* crx/open.c: Ditto.
* crx/putnum.c: Ditto.
* crx/read.c: Ditto.
* crx/sbrk.c: Ditto.
* crx/sim.ld: Ditto.
* crx/stat.c: Ditto.
* crx/svc_hndl.c: Ditto.
* crx/time.c: Ditto.
* crx/und_hndl.c: Ditto.
* crx/unlink.c: Ditto.
* crx/write.c: Ditto.
Jeff Johnston [Tue, 5 Oct 2004 19:44:24 +0000 (19:44 +0000)]
2004-10-05 Tomer Levi <Tomer.Levi@nsc.com>
* configure.host: Add support for crx.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/machine/setjmp.h: Ditto.
* libc/machine/crx/Makefile.am: New file.
* libc/machine/crx/configure.in: Ditto.
* libc/machine/crx/setjmp.S: Ditto.
* libc/machine/crx/getenv.c: Ditto.
* libc/machine/crx/aclocal.m4: Generate.
* libc/machine/crx/configure: Ditto.
* libc/machine/crx/Makefile.in: Ditto.
* libc/machine/crx/sys/asm.h: New file.
* libc/machine/crx/sys/libh.h: Ditto.
* libc/machine/crx/sys/syscall.h: Ditto.
Jeff Johnston [Tue, 5 Oct 2004 19:34:25 +0000 (19:34 +0000)]
2004-10-05 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am (stmp-targ-include): Support sys header files
from machine directories.
* Makefile.in: Regenerated.
Christopher Faylor [Tue, 5 Oct 2004 14:35:56 +0000 (14:35 +0000)]
revert erroneous checkin
Ulrich Weigand [Tue, 5 Oct 2004 13:34:42 +0000 (13:34 +0000)]
2004-10-05 Ulrich Weigand <uweigand@de.ibm.com>
Merged from GCC / libtool upstream:
2004-10-02 P.J. Darcy <darcypj@us.ibm.com>
* ltcf-c.sh (tpf*): Add ld_shlibs=yes.
* ltcf-cxx.sh (tpf*): Likewise.
* ltconfig (tpf*): Add TPF OS configuration support.
Christopher Faylor [Tue, 5 Oct 2004 02:10:15 +0000 (02:10 +0000)]
* pinfo.cc (_pinfo::commune_send): Correct debugging output.
Corinna Vinschen [Mon, 4 Oct 2004 19:44:05 +0000 (19:44 +0000)]
* bsd_mutex.cc (_msleep): Simplify event creation. Revert change from
2004-08-24. It should be unnecessary now.
* msg.cc (client_request_msg::serve): Release process critical
section as early as possible.
* sem.cc (client_request_sem::serve): Ditto.
* shm.cc (client_request_shm::serve): Ditto.
* process.cc: Use hold and release method calls instead of
EnterCriticalSection/LeaveCriticalSection calls throughout.
* process.h (_hold): Rename from hold. Take filename and linenumber
parameter for logging. Define matching hold macro.
(release): Ditto.
Jeff Johnston [Mon, 4 Oct 2004 17:51:50 +0000 (17:51 +0000)]
2004-10-04 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): For int conversions,
count skipped zero characters as part of the nread count for %n.
* libc/machine/powerpc/vfscanf.c: Ditto.
Christopher Faylor [Mon, 4 Oct 2004 14:06:02 +0000 (14:06 +0000)]
fix erroneous checkin
Christopher Faylor [Mon, 4 Oct 2004 14:04:31 +0000 (14:04 +0000)]
* include/cygwin/signal.h: Add siginterrupt definition.
Corinna Vinschen [Mon, 4 Oct 2004 09:42:08 +0000 (09:42 +0000)]
* cygcheck.cc (pretty_id): Close pipe.
Pierre Humblet [Sat, 2 Oct 2004 02:20:21 +0000 (02:20 +0000)]
2004-10-02 Pierre Humblet <pierre.humblet@ieee.org>
* path.h (enum path_types): Delete PATH_ISDISK.
(path_conv::isdisk): Delete method.
(path_conv::set_isdisk): Ditto.
* path.cc (path_conv::check): Do not call set_isdisk.
* uinfo.cc(pwdgrp::load): Do not call pc.isdisk.
Nick Clifton [Fri, 1 Oct 2004 12:59:35 +0000 (12:59 +0000)]
The patch below adds binutils support for the SHT_ARM_EXIDX, as defined by
the ARM EABI.
Paul Brook [Fri, 1 Oct 2004 11:37:17 +0000 (11:37 +0000)]
2004-01-01 Paul Brook <paul@codesourcery.com>
* arm/configure.in: Add *-*-aebi target.
* arm/configure: Regenerate.
Corinna Vinschen [Fri, 1 Oct 2004 11:18:10 +0000 (11:18 +0000)]
* sysv_sem.cc: Update to FreeBSD version 1.69.
1.68: Reduce the overhead of semop() by using the kernel stack
instead of malloc'd memory to store the operations array if it
is small enough to fit.
1.69: Adjust the number of processes waiting on a semaphore properly
if we're woken up in the middle of sleeping.
Joshua Daniel Franklin [Thu, 30 Sep 2004 19:58:07 +0000 (19:58 +0000)]
* how-using.texinfo: Fix typo. Add note about "Install For All Users"
Nick Clifton [Thu, 30 Sep 2004 16:34:36 +0000 (16:34 +0000)]
Enable target-libgloss for crx-*-*.
Nick Clifton [Thu, 30 Sep 2004 16:21:43 +0000 (16:21 +0000)]
Apply Paul Brook's patch to implement armv6k instructions
Danny Smith [Thu, 30 Sep 2004 09:08:17 +0000 (09:08 +0000)]
* include/winbase.h (WINBASEAPI): Define as DECLSPEC_IMPORT only
if __W32API_USE_DLLIMPORT__ is defined.
* include/winuser.h (WINUSERAPI): Likewise.
Joshua Daniel Franklin [Thu, 30 Sep 2004 05:19:27 +0000 (05:19 +0000)]
* how-using.texinfo: Add FAQ about network shares and authentication.
Joshua Daniel Franklin [Thu, 30 Sep 2004 05:03:52 +0000 (05:03 +0000)]
2004-09-30 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* how-programming.texinfo: Add gcj note to WinMain@16 FAQ.
* how-using.texinfo: Add FAQ about network shares and authentication.
* install.texinfo: Add "Where is make" to FAQ subtitle.
Richard Sandiford [Wed, 29 Sep 2004 11:43:26 +0000 (11:43 +0000)]
* configure.in (--without-headers): Add missing double quotes.
* configure: Regenerate.
Danny Smith [Tue, 28 Sep 2004 08:46:54 +0000 (08:46 +0000)]
2004-09-29 Filip Navara <xnavara@volny.cz>
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, mcd.h, miniport.h,
mountdev.h, mountmgr.h, ndis.h, ndistapi.h, ndiswan.h, netpnp.h,
newdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h, ntddcdvd.h,
ntddchgr.h, ntdddisk.h, ntddkbd.h, ntddmou.h, ntddpar.h, ntddpcm.h,
ntddscsi.h, ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h,
ntddvdeo.h, ntddvol.h, ntpoapi.h, parallel.h, pfhook.h, poclass.h,
scsi.h, scsiscan.h, smbus.h, srb.h, storport.h, tdiinfo.h,
tdikrnl.h, tvout.h, upssvc.h, usb.h, usb100.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, videoagp.h, winddi.h, winddk.h,
winnt4.h, ws2san.h): Fixed packing.
* include/ddk/atm.h (ATM_TRAFFIC_DESCRIPTOR_IE): Fixed declaration.
* include/ddk/hidclass.h (HID_INTERFACE_HIDPARSE,
HID_INTERFACE_NOTIFY_PNP): Likewise.
* include/ddk/ndis.h (NDIS_DMA_BLOCK, CO_FLOW_PARAMETERS): Likewise.
(NdisQueryPacketLength): Added macro. Thanks to Art Yerkes
<ayerkes@speakeasy.net>.
* include/ddk/usb100.h (USB_CONFIGURATION_DESCRIPTOR): Fixed
declaration.
* include/ddk/winddi.h (PATHDATA, GLYPHPOS): Likewise.
* include/ddk/winddk.h (PDRIVER_CONTROL, PDRIVER_LIST_CONTROL,
PDRIVER_ADD_DEVICE, PIO_COMPLETION_ROUTINE, PDRIVER_CANCEL,
PKDEFERRED_ROUTINE, PDRIVER_DISPATCH, PIO_DPC_ROUTINE,
PMM_DLL_INITIALIZE, PMM_DLL_UNLOAD, PDRIVER_ENTRY,
PDRIVER_INITIALIZE, PKSERVICE_ROUTINE, PIO_TIMER_ROUTINE,
PDRIVER_REINITIALIZE, PDRIVER_STARTIO, PKSYNCHRONIZE_ROUTINE,
PDRIVER_UNLOAD, DRIVER_OBJECT): Fixed callback declarations.
(struct FILE_BASIC_INFORMATION): Renamed to _FILE_BASIC_INFORMATION.
(SYNCH_LEVEL): Added definition.
(KPCR, KPCR_TIB): Fixed declaration.
(Interlocked[Push/Pop]EntrySList): Declare only if winbase.h isn't
included and _WIN32_WINNT >= 0x0501.
(RtlEqualLuid): Fixed macro definition.
(KfLowerIrql, KfRaiseIrql): Declare and use instead of KeLowerIrql and
KeRaiseIrql on i386 architectures.
Christopher Faylor [Tue, 28 Sep 2004 04:41:42 +0000 (04:41 +0000)]
* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Disallow attempts to set
the process group to a nonexistent process group.
Corinna Vinschen [Mon, 27 Sep 2004 16:30:44 +0000 (16:30 +0000)]
* lib/_cygwin_crt0_common.cc: Revert patch from 2004-09-16. Brakes
newly built DLLs.
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.
This page took 0.071643 seconds and 5 git commands to generate.