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
DJ Delorie
1376245a1f
* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
2001-01-12 02:41:33 +00:00
Nick Clifton
c9bd08bcb2
Updated ARC assembler from arccores.com
2001-01-11 21:20:19 +00:00
Corinna Vinschen
c4efddf601
* fhandler.h (fhandler_base): New method `fixup_mmap_after_fork'.
...
(fhandler_disk_file: Ditto.
(fhandler_dev_mem): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::open): Set OBJ_INHERIT attribute
for device\physicalmemory handle.
(fhandler_dev_mem::mmap): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::fixup_mmap_after_fork): New method.
* mmap.cc (mmap_record): Add private `fdesc_' member. Change constructor
accordingly.
(get_fd): New method.
(mmap): Use new mmap_record constructor.
(fhandler_base::fixup_mmap_after_fork): New method.
(fhandler_disk_file::fixup_mmap_after_fork): Ditto.
(fixup_mmaps_after_fork): Call `fixup_mmap_after_fork' of appropriate
fhandler class.
2001-01-11 12:33:12 +00:00
Christopher Faylor
37770e0009
* regtool.cc (cmd_list): Add new registry display options.
...
(cmd_list): Add code to implement -p, -k, and -l options.
* regtool.cc (Fail): Add call to LocalFree to free memory allocated by
FormatMessage.
2001-01-10 22:34:02 +00:00
Christopher Faylor
7adad1217b
more formatting changes.
2001-01-10 15:22:40 +00:00
Jan Hubicka
d9d921952c
* i386.h (pinsrw): Add.
...
(pshufw): Remove.
(cvttpd2dq): Fix operands.
(cvttps2dq): Likewise.
(movq2q): Rename to movdq2q.
2001-01-10 14:31:46 +00:00
Christopher Faylor
b82a7a5e35
* regtool.cc (translate): Ensure that 'c' is initialized.
...
(cmd_set): Ditto for rv.
2001-01-10 14:20:16 +00:00
Christopher Faylor
7416e1d2f6
* sigproc.cc (wait_sig): Allow SIGCONT when stopped.
2001-01-10 13:53:38 +00:00
Alan Modra
c0e5a443da
Fix "movnti"
2001-01-10 00:24:43 +00:00
Phil Blundell
cbcab25653
Update address for bug reports.
2001-01-09 21:05:35 +00:00
Nick Clifton
92b5754311
Remove unsupported v850 compiler options
2001-01-09 19:30:13 +00:00
Jeff Johnston
e24150c66b
2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
...
* cgen.h (CGEN_SYNTAX_CHAR_TYPE): New typedef based on max number
of operands (unsigned char or unsigned short).
(CGEN_SYNTAX): Changed to make array CGEN_SYNTAX_CHAR_TYPE.
(CGEN_SYNTAX_CHAR): Changed to cast to unsigned char.
2001-01-09 17:01:07 +00:00
Corinna Vinschen
55ae1dff87
Patch suggested by Ren� M�ller Fonseca <fonseca@mip.sdu.dk>
...
* include/sys/socket.h: Change prototype to have 2nd parameter `const'.
* net.cc (cygwin_bind): Change 2nd parameter to `const'.
2001-01-09 16:00:58 +00:00
Christopher Faylor
077ec4cb37
* pinfo.cc (codepage_init): Move function.
...
* environ.cc (codepage_init): To here.
* exceptoins.cc (SIG_NONMASKABLE): Remove SIGCONT from consideration since it
is supposed to be maskable.
* signal.cc (sigaction): Ditto.
* sigproc.cc (wait_sig): Ditto.
* winsup.h: Eliminate global declaration of codepage_init.
2001-01-08 04:02:02 +00:00
Andreas Jaeger
10422a10ea
* config.sub, config.guess: Update from subversions.
2001-01-07 12:04:21 +00:00
Jeff Johnston
7d6d33d409
Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
...
* src/newlib/configure.host (*-*-rtems*): add printf long long
support for RTEMS.
2001-01-06 00:59:10 +00:00
Jan Hubicka
8ab2401414
* tc-i386.c (md_assemble): Handle third byte of the opcode as prefix.
...
* i386.h (i386_optab): Make [sml]fence template to use immext field.
2001-01-05 12:30:12 +00:00
Corinna Vinschen
f3236259b4
* resource.cc (getrlimit): Set errno on EFAULT instead of returning it.
...
(setrlimit): Ditto.
Patch by David Sainty <David.Sainty@optimation.co.nz>:
* resource.cc (setrlimit): Prevent failing with an error when the
operation would not have changed anything.
2001-01-05 09:01:18 +00:00
Christopher Faylor
a5e570bcc3
* thread.cc: Need LONG_MAX definition.
2001-01-04 18:33:39 +00:00
Christopher Faylor
4104f35e67
* thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.
2001-01-03 18:50:25 +00:00