Christopher Faylor
dd76747b8e
* dtable.cc (unknown_file): New variable.
...
(dtable::init_std_file_from_handle): Don't set binmode if we couldn't determine
the actual file name on stdin/stdout/stderr.
(handle_to_fn): Return unknown_file when can't determine filename.
2002-10-07 20:06:16 +00:00
Nick Clifton
0709b9ba16
Add tic4x target.
2002-10-07 16:40:56 +00:00
Richard Sandiford
c50e457724
* mips/ddb.ld: KEEP .init and .fini.
...
* mips/ddb-kseg0.ld: Likewise.
2002-10-07 16:24:00 +00:00
Christopher Faylor
bc63ea872c
* dcrt0.cc (do_exit): Call DisableThreadLibraryCalls since we don't need to
...
track thread detaches.
* init.cc (dll_entry): Reorganize slightly. Fix api_fatal message.
2002-10-07 04:12:54 +00:00
Danny Smith
66451d9590
* mingwex/math/powil.c: Rename powil to __powil.
...
* mingwex/math/powl.c: Adjust declaration and call
to __powil. Remove comment on powil.
* mingwex/math/powi.c: New file.
* mingwex/math/powif.c: New file.
* mingwex/math/pow.c: New file.
* mingwex/math/cephes_mconf.h. Add double and float
versions of constants.
(polevl): Add double precision function.
(p1evl): Likewise.
* mingwex/Makefile.in (MATH_DISTFILES): Add pow.c,
powi.c, powif.c.
(MATH_OBJS): Add pow.o, powi.o, powif.o.
2002-10-06 23:26:43 +00:00
Earnie Boyd
2bacbfb1d1
2002-10-06 Casper Hornstrup <chorns@it.dk>
...
* include/ddk: New subdir.
* lib/ddk: Ditto.
* include/ddk/(atm.h, batclass.h, cfg.h, cfgmgr32.h, d4drvif.h,
d4iface.h, ddkmapi.h, hidclass.h, hidpi.h, hidusage.h, mcd.h,
miniport.h, minitape.h, mountdev.h, mountmgr.h, ndis.h,
ndisquid.h, ndistapi.h, ndisvan.h, netevent.h, netpnp.h,
netdev.h, ntapi.h, ntdd8042.h, ntddbeep.h, ntddcdrm.h,
ntddcdvd.h, ntddchgr.h, ntdddisk.h, ntddk.h, ntddkbd.h,
ntddmou.h, ntddndis.h, ntddpar.h, ntddpcm.h, ntddscsi.h,
ntddser.h, ntddstor.h, ntddtape.h, ntddtdi.h, ntddvdeo.h,
ntddvol.h, ntifs.h, ntpoapi.h, ntstatus.h, parallel.h, pfhook.h,
poclass.h, scsi.h, scsiscan.h, scsiwmi.h, smbus.h, srb.h,
storport.h, tdi.h, tdiinfo.h, tdikrnl.h, tdistat.h, tvout.h,
upssvc.h, usb.h, usb100.h, usbcamdi.h, usbdi.h, usbioctl.h,
usbiodef.h, usbscan.h, usbuser.h, video.h, videoagp.h, win2k.h,
winddi.h, winddk.h, winnt4.h, winxp.h, ws2san.h,
xfilter.h): New files.
* lib/ddk/(Makefile.in, apcups.def, cfgmgr32.def, dxapi.def,
hal.def, hid.def, hidparse.def, mcd.def, ndis.def, ntoskrnl.def,
scsiport.def, tdi.def, usbcamd.def, usbcamd2.def, videoprt.def,
win32k.def): Ditto.
2002-10-06 22:18:26 +00:00
Christopher Faylor
09663d31bb
* cygthread.cc (cygthread::stub): Very minor cleanup.
...
(cygthread::stub): Report overflows in cygwin thread pool when DEBUGGING is on
and special environment variable is not set.
(cygthread::terminate): Set event only when event actually exists.
* exceptions.cc (signal_exit): Set priority of main thread to low before
setting current thread to high.
2002-10-06 01:01:58 +00:00
Christopher Faylor
f8f63f9bc1
whitespace
2002-10-05 17:47:25 +00:00
Danny Smith
b63ad95b8d
2002-10-04 Steven Edwards <Steven_Ed4153@yahoo.com>
...
* lib/ntdll.def (NtAccessCheck, NtAdjustPrivilegesToken,
NtCreateKey, NtDeleteKey, NtDeleteValueKey, NtEnumerateKey,
NtEnumerateValueKey, NtOpenKey, NtOpenProcessToken,
NtOpenThreadToken, NtQueryInformationToken, NtQueryKey,
NtQueryValueKey, NtSetSecurityObject, NtSetValueKey,
RtlAddAccessAllowedAce, RtlCreateAcl,
RtlCreateSecurityDescriptor, RtlCreateUnicodeStringFromAsciiz,
RtlGetAce, RtlGetControlSecurityDescriptor,
RtlGetDaclSecurityDescriptor,RtlGetGroupSecurityDescriptor,
RtlGetOwnerSecurityDescriptor,RtlGetSaclSecurityDescriptor,
RtlImpersonateSelf, RtlIsTextUnicode, RtlLargeIntegerAdd,
RtlLengthSecurityDescriptor, RtlMakeSelfRelativeSD,
RtlMultiByteToUnicodeN RtlMultiByteToUnicodeSize,
RtlOpenCurrentUser, RtlSetDaclSecurityDescriptor,
RtlSetGroupSecurityDescriptor, RtlSetOwnerSecurityDescriptor,
RtlSetSaclSecurityDescriptor, RtlValidSecurityDescriptor,
ZwAccessCheck, ZwAdjustPrivilegesToken, ZwCreateKey,
ZwDeleteValueKey, ZwEnumerateKey, ZwEnumerateValueKey,
ZwOpenKey, ZwOpenProcessToken, ZwOpenThreadToken,
ZwQueryInformationToken, ZwQueryKey, ZwQueryValueKey
ZwSetSecurityObject, ZwSetValueKey): Added missing exports.
ChangeLog whitespace cleanup.
2002-10-04 04:39:26 +00:00
Danny Smith
d905b7d0ce
2002-10-04 "KJK::Hyperion" <noog@libero.it>
...
*include/windef.h (WPARAM): Update typedef.
(LPARAM): Ditto.
(LRESULT): Ditto.
2002-10-04 04:25:00 +00:00
Danny Smith
6930d6cdd0
2002-10-04 "KJK::Hyperion" <noog@libero.it>
...
* include/shlobj.h (CSIDL_*): Add defines.
2002-10-04 04:18:55 +00:00
Jeff Johnston
af5a221f60
2002-10-03 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/reent.h: Update documentation at start of file.
2002-10-03 19:33:08 +00:00
Nathanael Nerode
8c8150d4c9
2002-10-03 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Make SET_LIB_PATH substitution more autoconfy.
* Makefile.tpl: Make RPATH_ENVVAR substitution more autoconfy.
* configure.in: Make SET_LIB_PATH substitution more autoconfy.
* configure.in: Make RPATH_ENVVAR substitution more autoconfy.
* Makefile.in: Regenerate.
2002-10-03 19:08:53 +00:00
Danny Smith
3073f3f29d
* include/cytpe.h (_imp____mbcur_max): Add missing ';'.
...
(_imp____mbcur_max_dll): Likewise.
2002-10-03 00:51:25 +00:00
Danny Smith
7c3de623b6
* include/fcntl.h (_fmode): Remove declarations and
...
compatibility defines.
(_setmode, setmode): Remove prototypes.
* include/stdlib (_fmode): Add declarations and
compatibility defines. Change type to int.
* include/io.h (_setmode, setmode): Add prototypes.
* samples/fmode/all.c: Adjust includes.
* samples/fmode/test.c: Likewise.
* crt1.c (_CRT_fmode): Declare as int.
* CRTfmode.c (_CRT_fmode): Likewise.
* include/stdlib: Remove comment about MB_CUR_MAX.
2002-10-03 00:49:21 +00:00
Nathanael Nerode
14ab3f24e1
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Eliminate reference to all-gui, all-libproc.
* Makefile.in: Regenerate.
2002-10-02 19:14:25 +00:00
Nathanael Nerode
cf605cdaba
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.def: Remove order dependency comments.
* Makefile.tpl: Add explicit install-install dependencies.
* Makefile.in: Regenerate.
2002-10-02 06:29:04 +00:00
Nathanael Nerode
d345606243
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Remove material now in src-release. (Finally!)
* Makefile.in: Regenerate.
2002-10-02 06:22:08 +00:00
Nathanael Nerode
f485ab9431
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* configure: Restore my original patch by syncing with gcc version.
2002-10-02 05:37:46 +00:00
Nathanael Nerode
541a513e0a
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Bring following over from gcc:
2002-09-30 Ulrich Weigand <uweigand@de.ibm.com>
* configure.in (s390*-*-linux*): Enable libgcj.
2002-10-02 05:22:11 +00:00
Nathanael Nerode
25bab762cd
2002-10-02 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.in: Regenerate. This really ought to fix things. :sigh:
2002-10-02 04:40:23 +00:00
Alan Modra
5df3933b2f
* configure: Move stray lines back to where they belong.
2002-10-02 03:47:32 +00:00
Danny Smith
516658560f
* include/stdlib.h (_imp____mbcur_max): add missing ';'.
...
(_imp____mbcur_max_dll): Likewise.
2002-10-02 03:43:33 +00:00
Alan Modra
c3802bc05a
* configure: Move stray line back to where it belongs.
2002-10-02 02:41:36 +00:00
Nathanael Nerode
03e5288839
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
...
* Makefile.tpl: Insert configure-target target, for src-release.
2002-10-01 23:35:42 +00:00
Nathanael Nerode
00c4e53eac
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
...
* configure: Finish reverting change which Andrew Cagney started
reverting. Should fix bustage.
2002-10-01 23:21:51 +00:00
Nathanael Nerode
24197bb62b
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
...
* src-release (BINUTILS_SUPPORT_DIRS): Add cpu directory.
2002-10-01 22:58:14 +00:00
Nathanael Nerode
cd2d319d31
2002-10-01 Nathanael Nerode <neroden@gcc.gnu.org>
...
* src-release: New file. Contains material for making net
releases for gdb, binutils, et al., formerly in Makefile.in.
2002-10-01 22:34:16 +00:00
Robert Collins
404f35cb5c
2002-10-01 Robert Collins <rbtcollins@hotmail.com>
...
* thread.cc (pthread_key::keys): Copy on fork. Add a comment explaining
why.
(pthreadNull::_instance): Copy on fork. Absolutely no state exists
in pthreadNull.
2002-09-30 21:06:05 +00:00
Conrad Scott
18be975d30
* cygserver_transport_pipes.cc (transport_layer_pipes::accept):
...
Remove trailing \n from debug_printf.
2002-09-30 18:31:56 +00:00
Christopher Faylor
6cae97d5dc
whitespace
2002-09-30 15:17:44 +00:00
Christopher Faylor
66dca8bb0d
* thread.cc (pthread_mutex::initMutex): Remove \n from api_fatal.
2002-09-30 15:11:55 +00:00
Christopher Faylor
bd2b5664a1
* thread.cc (pthread::precreate): Use explicit "no inherit" option when
...
creating mutex.
(pthread_mutex::nativeMutex::init): Ditto.
(semaphore::semaphore): Ditto.
2002-09-30 15:05:00 +00:00
Christopher Faylor
e58273df45
* thread.cc (pthread_key::keys): Do not copy on fork.
...
(pthread_mutex::mutexInitializationLock): Ditto.
(pthreadNull::_instance): Ditto.
2002-09-30 15:00:52 +00:00
Christopher Faylor
63e5f2006d
* exceptions.cc (unused_sig_wrapper): Still need additional level of
...
indirection when setting errno.
2002-09-30 14:18:43 +00:00
Richard Sandiford
00a8c44a5b
Fix date in last commit.
2002-09-30 12:08:05 +00:00
Richard Sandiford
bf42f57df6
[include/opcode/]
...
* mips.h: Update comment for new opcodes.
(OP_MASK_VECBYTE, OP_SH_VECBYTE): New.
(OP_MASK_VECALIGN, OP_SH_VECALIGN): New.
(INSN_4111, INSN_4120, INSN_5400, INSN_5500): New.
(CPU_VR4120, CPU_VR5400, CPU_VR5500): New.
(OPCODE_IS_MEMBER): Handle the new CPU_* values and INSN_* flags.
Don't match CPU_R4111 with INSN_4100.
[opcodes/]
* mips-dis.c (print_insn_arg): Handle '[', ']', 'e' and '%'.
(mips_isa_type): Handle bfd_mach_mips4120, bfd_mach_mips5400
and bfd_mach_mips5500.
* mips-opc.c (V1): Include INSN_4111 and INSN_4120.
(N411, N412, N5, N54, N55): New convenience defines.
(mips_builtin_opcodes): Add vr4120, vr5400 and vr5500 opcodes.
Change dmadd16 and madd16 from V1 to N411.
2002-09-30 11:58:09 +00:00
Richard Sandiford
3342a2e928
[include/elf]
...
* mips.h (E_MIPS_MACH_4120, E_MIPS_MACH_5400, E_MIPS_MACH_5500): New.
[bfd/]
* archures.c (bfd_mach_mips4120, bfd_mach_mips5400): New.
(bfd_mach_mips5500): New.
* cpu-mips.c (I_mips4120, I_mips5400, I_mips5500): New.
(arch_info_struct): Add corresponding entries here.
* elfxx-mips.c (_bfd_elf_mips_mach): Handle E_MIPS_MACH_4120,
E_MIPS_MACH_5400 and E_MIPS_MACH_5500.
(_bfd_mips_elf_final_write_processing): Handle bfd_mach_mips4120,
bfd_mach_mips5400 and bfd_mach_mips5500.
(_bfd_mips_elf_mach_extends_p): New function.
(_bfd_mips_elf_merge_private_bfd_data): Use it to help merge
the EF_MIPS_MACH flags.
* bfd-in2.h: Regenerate.
2002-09-30 11:53:55 +00:00
Robert Collins
06175d0acd
2002-09-30 Robert Collins <rbtcollins@hotmail.com>
...
* thread.cc (pthread_mutex::initMutex): Use the wrapper init call.
(pthread_mutex::nativeMutex::init): Implement.
(pthread_mutex::nativeMutex::lock): Ditto.
(pthread_mutex::nativeMutex::unlock): Ditto.
(pthread_mutex::init): Use the wrapper lock and unlockcalls.
* thread.h (pthread_mutex): Move mutexInitializationLock into a
nativeMutex wrapper class.
2002-09-30 11:43:43 +00:00
Nick Clifton
1f3e9931a5
Add cpu directory.
2002-09-30 10:34:06 +00:00
Christopher Faylor
f70389b541
Remove \n from calls to strace class printfs throughout.
2002-09-30 04:35:18 +00:00
Christopher Faylor
da77b2c84c
remove newline
2002-09-30 04:27:32 +00:00
Christopher Faylor
e7733defb9
* exceptions.cc (unused_sig_wrapper): Accommodate newer compilers.
2002-09-30 04:26:52 +00:00
Christopher Faylor
f789fbbf35
* security.cc (allow_ntsec): Default to zero.
...
* environ.cc (environ_init): Set allow_ntsec to TRUE by default, assuming OS
allows it.
2002-09-30 03:05:13 +00:00
Christopher Faylor
0fa64fa3a7
* cygpath.cc (close_arg): Remove unused static.
...
* mkgroup.c (enum_local_users): Avoid compiler warning.
(enum_users): Ditto.
* mkpasswd.c: Ditto throughout.
* ssp.c: Ditto throughout.
2002-09-30 03:01:17 +00:00
Christopher Faylor
9d1e72a175
* environ.cc (environ_init): Avoid a compiler warning.
...
* path.cc (path_conv::check): Ditto.
* path.h (path_conv::operator int): Ditto.
* regex/engine.c: Ditto throughout.
* regex/regcomp.c: Ditto throughout.
* regex/regexec.c: Ditto throughout.
2002-09-30 02:51:22 +00:00
Christopher Faylor
79ed43004f
* thread.cc: Use "%E" in *_printf throughout rather than calling GetLastError.
...
GNUify comments.
(__pthread_mutex_lock): Don't return error on EBUSY since that just means that
the mutex has already been initialized.
2002-09-30 01:19:45 +00:00
Christopher Faylor
881ffcb478
GNUify slightly.
2002-09-29 23:56:57 +00:00
Robert Collins
eb208df05a
2002-09-30 Robert Collins <rbtcollins@hotmail.com>
...
* pthread.cc (pthread_mutex_init): Use new pthread_mutex::init.
* thread.cc: Change __pthread_mutex_init to pthread_mutex::init
throughout.
(MTinterface::Init): Initialise pthread_mutex support.
(pthread_mutex::mutexInitializationLock): Instantiate.
(pthread_mutex::initMutex): New method.
(__pthread_cond_dowait): Don't dereference untrusted pointers.
Use the new pthread_mutex::init method.
(__pthread_condattr_init): Don't dereference untrusted pointers.
(__pthread_mutex_init): Rename to pthread_mutex::init.
Lock and release mutexInitializationLock to prevent races on
mutex initialisation.
* thread.h (pthread_mutex::initMutex): New method, initialise
pthread_mutex supporting state on process initialisation.
(pthread_mutex::init): Initialise a single mutex.
(pthread_mutex::mutexInitializationLock): A win32 mutex for
syncronising pthread mutex initialisation.
(__pthread_mutex_init): Remove this.
2002-09-29 23:47:45 +00:00
Andrew Cagney
b2c3ba8ad0
2002-09-29 Andrew Cagney <ac131313@redhat.com>
...
Revert below (note that src does not contain Makefile.tpl):
* Makefile.tpl: Make subsituted variables more autoconfy.
* Makefile.in: Regenerate.
2002-09-29 17:19:28 +00:00