Alexandre Oliva
4c16ad64a2
* ltcf-c.sh (ld_shlibs) [aix5*]: Disable on unknown CPU types.
...
* ltcf-cxx.sh, ltcf-gcj.sh: Likewise.
2001-01-27 19:22:59 +00:00
Christopher Faylor
bdfeca609b
* path.cc (path_conv::check): Detect when path has symlinks.
...
(symlink_info::check): Remove debugging stuff.
(chdir): Use posix'ized win32 path if cd'ed to a path using symlinks.
2001-01-27 15:34:38 +00:00
Christopher Faylor
0826bed5c1
Fix typos. Add some comments.
2001-01-27 03:02:15 +00:00
Christopher Faylor
206a8d884b
* exceptions.cc (sigreturn): Call any pending signals prior to resetting the
...
signal mask so that stacked signals behave correctly.
(sigdelayed): Avoid a race where a signal could end up calling an incorrect
signal handler if two signals come in close together.
2001-01-27 02:23:46 +00:00
Earnie Boyd
7646d1a111
* Apply Danny Smith patch 102275
...
2000-11-05 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
* include/objbase.h: (COM_RIGHTS): Add definition.
(tagSTDMSHLFLAGS): add enumeration.
(CoInitializeEx): Add prototypes.
(CoGetStdMarshalEx): ditto.
(CoCreateInstanceEx): ditto.
(CoInitializeSecurity): ditto.
(CoGetCallContext): ditto.
(CoQueryProxyBlanket): ditto.
(CoSetProxyBlanket): ditto.
(CoCopyProxy): ditto.
(CoQueryClientBlanket): ditto.
(CoImpersonateClient): ditto.
(CoRevertToSelf): ditto.
(CoQueryAuthenticationServices): ditto.
(CoSwitchCallContext): ditto.
(CoGetInstanceFromFile): ditto.
(CoGetInstanceFromIStorage): ditto.
* include/objidl.h: (SOLE_AUTHENTICATION_SERVICE): Add structure.
(SOLE_AUTHENTICATION_INFO): ditto.
(EOLE_AUTHENTICATION_CAPABILITIES): Add enumeration.
(COLE_DEFAULT_PRINCIPAL): Add definition.
(COLE_DEFAULT_AUTHINFO): Ditto.
* include/rpcdce.h: (RPC_C_AUTHZ_DEFAULT): Add definition.
(RPC_PROTSEQ_VECTOR) Fix typo.
(RpcRaiseException): add DECLSPEC_NORETURN attribute.
* include/winbase.h: (FreeLibraryAndExitThread): add DECLSPEC_NORETURN
attribute.
2001-01-26 21:05:20 +00:00
Earnie Boyd
cd7053e78b
* include/stdint.h: New file.
2001-01-26 18:52:31 +00:00
Earnie Boyd
bfa15b05e8
* lib/msvcp60.def: New file
2001-01-26 18:39:58 +00:00
Christopher Faylor
046fcbed3b
* include/winnt.h: Add PTOKEN_USER.
2001-01-26 16:35:17 +00:00
Alexandre Oliva
b0913397ba
* libc/sys/sh/syscalls.c (_times): New.
2001-01-26 02:03:58 +00:00
Alexandre Oliva
610b895aa1
* configure.host (sh*-*-*): Add -DHAVE_GETTIMEOFDAY to newlib_cflags.
...
* libc/sys/sh/syscalls.c (_gettimeofday): New.
2001-01-25 21:40:28 +00:00
Alexandre Oliva
6bdf786b95
* ltmain.sh (TAG disable-shared, TAG disable-static): Make sure we
...
keep at least one of build_libtool_libs or build_old_libs set to
yes.
2001-01-24 20:09:37 +00:00
Alan Modra
77ab85cb32
Fix swapgs instruction.
2001-01-24 07:32:34 +00:00
Corinna Vinschen
174f1a392e
* mmap.cc (fhandler_disk_file::mmap): Call CreateFileMapping with
...
len != 0 only when performing an anonymous mapping.
2001-01-24 04:00:41 +00:00
Alexandre Oliva
1d8bdab0d5
* ltcf-gcj.sh (lt_simple_link_test_code): Remove stray `(0)'.
...
* libtool.m4 (_AC_LIBTOOL_GCJ): Pass $CPPFLAGS on.
2001-01-24 02:27:02 +00:00
Jeff Johnston
3643210e24
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (signgam): Regress previous fix as
it does not handle programs with extern int signgam in them.
2001-01-24 00:12:44 +00:00
Jeff Johnston
841081c9f2
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/math.h (signgam): Changed to a macro refering to
its location in the reentrant structure.
2001-01-23 19:56:14 +00:00
Jeff Johnston
e9cd87b82a
2001-01-23 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/stdio/vfprintf.c (_VFPRINTF_R): Modification to fix
that suppressed . for %.0f, 0.1. Check now looks if there
are padding zeroes (expt) in addition to any digits (ndig) to
print.
2001-01-23 19:49:09 +00:00
Christopher Faylor
4c7b82500d
* path.h: Add a new constant.
...
* syscalls.cc (_read): Oscillate errno check.
2001-01-22 20:36:38 +00:00
Christopher Faylor
c65a318355
* include/cygwin/version.h: Bump API to reflect setlogmask.
2001-01-22 20:29:24 +00:00
Christopher Faylor
29c39fe3dd
* cygwin.din: Add export for setlogmask().
...
* syslog.cc (setlogmask): New function.
2001-01-22 15:55:34 +00:00
Andreas Jaeger
6e0801da6a
Give credit for the last change to Philip instead of to Maciej.
2001-01-22 10:49:19 +00:00
Andreas Jaeger
eeb681b57f
2001-01-20 Maciej W. Rozycki <macro@ds2.pg.gda.pl>
...
* Makefile.in (ETC_SUPPORT): Add configure.texi and friends.
2001-01-20 16:57:28 +00:00
Jeff Johnston
a302b48c21
2001-01-18 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/sys/arc/Makefile.am: New file.
* libc/sys/arc/Makefile.in: Ditto.
* libc/sys/arc/aclocal.m4: Ditto.
* libc/sys/arc/configure: Ditto.
* libc/sys/arc/configure.in: Ditto.
* libc/sys/arc/crt0.S: Ditto.
* libc/sys/arc/isatty.c: Ditto.
* libc/sys/arc/mem-layout.c: Ditto.
* libc/sys/arc/sbrk.c: Ditto.
* libc/sys/arc/syscalls.c: Ditto.
* libc/sys/arc/sys/syscall.h: Ditto.
2001-01-19 01:25:13 +00:00
Earnie Boyd
74a3cd0a4f
* include/wchar.h: Protect prototypes only declared in the C++ STL
...
from being declared unless __cplusplus is defined.
2001-01-18 15:40:50 +00:00
Corinna Vinschen
c807d3552a
* resource.cc (setrlimit): Support RLIMIT_NOFILE.
2001-01-18 09:30:37 +00:00
Christopher Faylor
4e2a97b2ac
* syscalls.cc (setdtablesize): Call with amount to increment not total amount.
...
Return success or failure error code.
2001-01-18 04:26:04 +00:00
Christopher Faylor
d0319c3b5b
* libc/include/sys/unistd.h: Use correct declaration for setdtablesize.
2001-01-18 04:24:03 +00:00
Christopher Faylor
a7cde2b98a
* autoload.cc (LoadDLLinitfunc): Remove debugging statement.
...
* exceptions.cc (sig_handle_tty_stop): Move setting of PID_STOPPED to earlier
in interrupt.
((interrupt_setup): i.e., here.
(sig_handle): Don't queue multiple SIGSTOPS.
* fhandler.h (bg_check_types): Enumerate return value of bg_check for clarity.
* signal.cc (kill_pgrp): Minor cleanup.
* fhandler_termios.cc (fhandler_termios::bg_check): Use enumerated type for
function return. Don't raise signal if a signal is already queued.
* fhandler_console.cc (fhandler_console::read): Use enumerated return type for
bg_check.
* select.cc: Ditto, throughout.
* read.cc: Ditto, throughout.
* termios.cc: Ditto, throughout.
(_read): YA interrupt detect simplification.
* wait.cc (wait4): Ditto.
2001-01-17 14:57:09 +00:00
Corinna Vinschen
cb503978ab
* cygheap.cc (cygheap_user::~cygheap_user): Temporarily
...
disable free'ing memory.
2001-01-17 12:47:47 +00:00
Earnie Boyd
48e952a687
* include/sqlucode.h: Apply Danny Smith patch 102443
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 19:02:04 +00:00
Earnie Boyd
4ba2b1898c
* lib/odbccp32.def: Apply Danny Smith patch 102442
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 18:41:48 +00:00
Earnie Boyd
8a5edc3613
* include/odbcinst.h: Apply Danny Smith patch 102441
...
2000-11-20 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
New file.
2001-01-16 18:23:52 +00:00
Corinna Vinschen
9fedfd57d4
* mmap.cc (mmap): Initialize fh to avoid compiler warnings.
2001-01-16 17:02:46 +00:00
Earnie Boyd
2762a24302
* include/stdlib.h: Apply Danny Smith patch 102730
...
2000-12-09 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(_wgetenv) Correction to return type.
2001-01-16 16:43:00 +00:00
Earnie Boyd
49a5f0809b
* include/locale.h: Apply Danny Smith patch 101834
...
2000-11-23 Danny Smith <danny_r_smith_2001@yahoo.co.nz>
(LC_MIN) Add definition.
(LC_MAX) ditto.
(_wsetlocale) Add prototype.
2001-01-16 14:51:03 +00:00
Andrew Cagney
da2515fc49
General cleanup.
2001-01-16 05:30:31 +00:00
Andrew Cagney
be948af13c
Clarify dejagnu
2001-01-16 05:22:12 +00:00
Christopher Faylor
9470a80c8b
* wait.cc (wait4): Rename variable for consistency. Allow restartable signal
...
behavior.
2001-01-16 02:29:47 +00:00
Corinna Vinschen
9334c89c1d
* mmap.cc (mmap): Add more parameter checking. Change error output
...
in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
2001-01-15 22:18:14 +00:00
Corinna Vinschen
c6dd43f263
* mmap.cc: include <unistd.h>. Define some bit operations for
...
the new page map.
(mmap_record): Change type of base_address_ to caddr_t.
Add map_map_ member. Add several methods to manipulate map_map_.
(mmap_record::alloc_map): New method.
(mmap_record::free_map): Ditto.
(mmap_record::find_empty): Ditto.
(mmap_record::map_map): Ditto.
(mmap_record::unmap_map): Ditto.
(list::add_record): Change return type to `mmap_record *'.
Allocate page map.
(list::match): New method.
(mmap): Partly rewritten to take care for the new page map. Add some
parameter checking.
(munmap): Ditto.
2001-01-15 19:42:33 +00:00
Jeff Johnston
6d15efce11
2001-01-15 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Put into source repository.
2001-01-15 18:20:18 +00:00
Corinna Vinschen
66097f06dd
* heap.cc (heap_init): Fix extern declaration of getpagesize.
...
* syscalls.cc (getpagesize): Fix another typo.
2001-01-15 12:53:30 +00:00
Corinna Vinschen
dc3651b6cd
* syscalls.cc (getpagesize): Save pagesize in global variable to
...
avoid calling GetSystemInfo too often.
* heap.cc (getpagesize): Eliminate.
(heap_init): Use getpagesize function from syscalls.cc.
2001-01-15 12:25:00 +00:00
Corinna Vinschen
4cf2c0e0cb
* sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
...
request to avoid implementing the same twice.
2001-01-15 10:58:19 +00:00
Ben Elliston
8d1c033908
2001-01-15 Ben Elliston <bje@redhat.com>
...
* configure.in (host_tools): Add sid.
Always configure cgen.
* Makefile.in (all-sid): New target.
(check-sid, clean-sid, install-sid): Likewise.
2001-01-15 00:19:42 +00:00
Christopher Faylor
a3ec080b35
* syscalls.cc (_read): Use more lightweight method for determining if read has
...
been interrupted by a signal.
2001-01-14 19:08:30 +00:00
Alan Modra
b0c8c95b1e
Adds assembly and dis-assembly support for the HPPA wide
...
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
2001-01-14 05:14:45 +00:00
Jan Hubicka
ad3faf61ab
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
...
* i386.h (i386_optab): Fix pusha and ret templates.
* i386-dis.c (dis386_att, disx86_64_att): Fix ret, lret and iret
templates.
2001-01-13 09:05:55 +00:00
Christopher Faylor
c3d62298ba
* debug.h: Add regparm attributes to some functions.
...
* signal.cc (sigaction): Don't treat SIGCONT specially.
* exceptions.cc (interrupt_setup): Save sa_flags of interrupted signal for
later use.
(sig_handler): Default any stopping signal to SIGSTOP.
(call_signal_handler): New function.
(sigdelayed0): New function.
* sigproc.cc (sigproc_init): Initialize SIGSTOP sigaction for special behavior.
* sigproc.h: Define call_signal_handler.
* syscalls.cc (_read): Allow restartable signal behavior.
2001-01-12 05:38:25 +00:00
Christopher Faylor
e45ab89012
* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
2001-01-12 05:36:12 +00:00