Corinna Vinschen
95a12a8594
* cygwin.din (_impure_ptr): And export again. There are libs out there.
2004-09-17 08:34:31 +00:00
Alan Modra
ade297155c
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.
2004-09-17 07:14:32 +00:00
Jeff Johnston
ed6859b8f0
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.
2004-09-16 21:30:51 +00:00
Jeff Johnston
7a0f696676
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.
2004-09-16 21:26:51 +00:00
Jeff Johnston
c77672c0fd
2004-09-16 Antony King <antony.king@st.com>
...
* libc/stdio64/freopen64.c: Remove casting of fp lock to
_LOCK_RECURSIVE_T.
2004-09-16 21:18:50 +00:00
Jeff Johnston
5c44c2e546
2004-09-16 Antony King <antony.king@st.com>
...
* libc/time/tzlock.c: Add default stubs that use generic
locking code.
2004-09-16 21:16:59 +00:00
Jeff Johnston
14613e5e74
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.
2004-09-16 21:15:14 +00:00
Corinna Vinschen
368ffbe3d8
* 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.
2004-09-16 09:14:29 +00:00
Christopher Faylor
22a1a24f10
* 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.
2004-09-16 03:49:03 +00:00
Jeff Johnston
181cb05147
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.
2004-09-15 21:44:39 +00:00
Jeff Johnston
51d4a7eae1
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.
2004-09-15 20:50:08 +00:00
Corinna Vinschen
1dcd520bb8
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.
2004-09-15 10:17:53 +00:00
Corinna Vinschen
b103e0d732
* getfacl.c (main): Correct layout when nopt is set.
2004-09-15 07:51:06 +00:00
Christopher Faylor
a9f36d288c
* 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.
2004-09-14 23:44:50 +00:00
Jeff Johnston
98650d2fa2
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.
2004-09-14 18:12:53 +00:00
Christopher Faylor
272871abe4
* what.texinfo: Fix two typos reported on cygwin list.
2004-09-14 13:02:54 +00:00
Corinna Vinschen
599b41c4ec
* autoload.cc (EnumProcessModules): Add.
...
* dlfcn.cc (dlsym): Handle RTLD_DEFAULT using EnumProcessModules().
* include/dlfcn.h (RTLD_DEFAULT): Define to NULL.
2004-09-14 08:29:12 +00:00
Christopher Faylor
fc3a42749f
* fork.cc (slow_pid_reuse): Temporarily double the number of pids held to
...
prevent pid reuse.
2004-09-14 02:21:09 +00:00
DJ Delorie
2f514b3252
merge from gcc
2004-09-14 01:16:22 +00:00
Jeff Johnston
d4c8e53b22
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.
2004-09-13 17:10:20 +00:00
Christopher Faylor
de4e88a8df
trivia change to force a new snapshot
2004-09-13 15:14:38 +00:00
Paul Brook
a10036f6a7
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}.
2004-09-13 14:14:30 +00:00
Christopher Faylor
a5eb75d60c
* sigproc.cc (wait_sig): Ensure that waiting threads are awoken after returning
...
from a hold condition.
2004-09-12 19:34:08 +00:00
Christopher Faylor
3d65bb97e8
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.
2004-09-12 18:10:15 +00:00
Christopher Faylor
013688df40
check in file missing from previous checkin.
2004-09-12 03:55:42 +00:00
Christopher Faylor
d584454c82
* 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.
2004-09-12 03:47:57 +00:00
Marek Michalkiewicz
ca5ec6685a
* 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.
2004-09-11 13:15:05 +00:00
DJ Delorie
e5d22776dd
2004-08-31 Robert Bowdidge <bowdidge@apple.com>
...
* mh-ppc-darwin: Add file, and override BOOT_CFLAGS.
2004-09-10 17:49:29 +00:00
Corinna Vinschen
d495ee9ff0
* fhandler.cc (fhandler_base::dup): Use debug_printf.
2004-09-10 08:34:37 +00:00
Corinna Vinschen
4875a4b66e
* 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.
2004-09-10 08:30:51 +00:00
Daniel Berlin
04d55823da
2004-09-09 Daniel Berlin <dberlin@dberlin.org>
...
* Makefile.def: Remove libbanshee.
* Makefile.tpl: Ditto.
* configure.in: Ditto.
* Makefile.in: Regen.
* configure: Ditto.
2004-09-10 02:19:35 +00:00
Jeff Johnston
0c8593cf11
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.
2004-09-09 19:46:54 +00:00
Alan Modra
582dde69f3
opcodes/
...
* ppc-opc.c (L): Make this field not optional.
include/opcode/
* ppc.h (PPC_OPERAND_OPTIONAL): Fix comment.
2004-09-09 12:42:37 +00:00
Corinna Vinschen
1f97020ae6
* fhandler_tape.cc (fhandler_dev_tape::open): Fix typo.
2004-09-09 11:35:15 +00:00
Corinna Vinschen
6423296840
* pipe.cc (create_selectable_pipe): Work around bug in Windows 95
...
where CreateNamedPipe returns NULL.
2004-09-09 08:58:44 +00:00
Earnie Boyd
bbb5869af9
* include/sys/stat.h (_S_IFLNK): Add definition.
...
(S_IFLNK) Ditto.
(_lstat) Ditto.
(lstat) Ditto.
(_S_ISLNK) Recode.
(S_ISLNK) Ditto.
2004-09-09 02:05:22 +00:00
Earnie Boyd
57ad1153a6
* include/sys/stat.h (_S_ISLNK): Add definition.
...
(S_ISLNG): Ditto.
2004-09-08 18:24:13 +00:00
Corinna Vinschen
01fdc61987
* sim-sh.h: Add new sh2a banked registers.
2004-09-08 09:03:42 +00:00
Pierre Humblet
a456320915
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.
2004-09-07 23:26:28 +00:00
Paolo Bonzini
b00c5f99d8
2004-09-07 Paolo Bonzini <bonzini@gnu.org>
...
* missing: Import latest version from master repository.
2004-09-07 08:34:06 +00:00
Christopher Faylor
6f7a746cee
* 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.
2004-09-07 04:05:14 +00:00
Corinna Vinschen
ab21f18c95
* bsd_mutex.cc (_msleep): Disable resetting event object for now.
2004-09-06 20:32:45 +00:00
Danny Smith
b2e7654908
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.
2004-09-06 09:09:33 +00:00
Christopher Faylor
dda37cd219
* include/cygwin/version.h: Bump DLL minor number to 12.
2004-09-05 16:08:44 +00:00
Earnie Boyd
b73441fc30
* include/w32api.h: Increment version to 3.1.
...
* Makefile.in: Ditto.
2004-09-05 15:27:56 +00:00
Earnie Boyd
71c68d9607
* mingwex/Makefile.in: Correct typo in list of DISTFILES.
2004-09-05 14:15:01 +00:00
Earnie Boyd
665352facd
* include/_mingw.h: Increment minor version for 3.5 release.
...
* Makefile.in: Ditto.
2004-09-05 13:51:33 +00:00
Danny Smith
4f52488e06
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.
2004-09-05 10:35:34 +00:00
Danny Smith
99f91ded6c
* include/winuser.h (WINUSERAPI): New define.
...
Use it to mark user32.dll imports, throughout.
2004-09-05 10:14:26 +00:00
Danny Smith
e636a59f52
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.
2004-09-05 10:05:24 +00:00