Christopher Faylor
9470a80c8b
* wait.cc (wait4): Rename variable for consistency. Allow restartable signal
behavior.
26 years ago
Corinna Vinschen
9334c89c1d
* mmap.cc (mmap): Add more parameter checking. Change error output
in case of EINVAL. Treat mmapping /dev/zero like MAP_ANONYMOUS.
26 years ago
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.
26 years ago
Jeff Johnston
6d15efce11
2001-01-15 Jeff Johnston <jjohnstn@redhat.com>
26 years ago
Corinna Vinschen
66097f06dd
* heap.cc (heap_init): Fix extern declaration of getpagesize.
* syscalls.cc (getpagesize): Fix another typo.
26 years ago
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.
26 years ago
Corinna Vinschen
4cf2c0e0cb
* sysconf.cc (sysconf): return `getpagesize ()' on _SC_PAGESIZE
request to avoid implementing the same twice.
26 years ago
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.
26 years ago
Christopher Faylor
a3ec080b35
* syscalls.cc (_read): Use more lightweight method for determining if read has
been interrupted by a signal.
26 years ago
Alan Modra
b0c8c95b1e
Adds assembly and dis-assembly support for the HPPA wide
mode, 16 bit forms of ldi, ldo, ldw and stw instructions.
26 years ago
Jan Hubicka
ad3faf61ab
* i386.c (md_assemble): Check cpu_flags even for nullary instructions.
26 years ago
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.
26 years ago
Christopher Faylor
e45ab89012
* libc/include/sys/signal.h: Add some SA_* defines for Cygwin.
26 years ago
DJ Delorie
1376245a1f
* libc/include/sys/features.h: __CYGWIN__ preferred over __CYGWIN32__
26 years ago
Nick Clifton
c9bd08bcb2
Updated ARC assembler from arccores.com
26 years ago
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.
26 years ago
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.
26 years ago
Christopher Faylor
7adad1217b
more formatting changes.
26 years ago
Jan Hubicka
d9d921952c
* i386.h (pinsrw): Add.
26 years ago
Christopher Faylor
b82a7a5e35
* regtool.cc (translate): Ensure that 'c' is initialized.
(cmd_set): Ditto for rv.
26 years ago
Christopher Faylor
7416e1d2f6
* sigproc.cc (wait_sig): Allow SIGCONT when stopped.
26 years ago
Alan Modra
c0e5a443da
Fix "movnti"
26 years ago
Phil Blundell
cbcab25653
Update address for bug reports.
26 years ago
Nick Clifton
92b5754311
Remove unsupported v850 compiler options
26 years ago
Jeff Johnston
e24150c66b
2001-01-09 Jeff Johnston <jjohnstn@redhat.com>
26 years ago
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'.
26 years ago
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.
26 years ago
Andreas Jaeger
10422a10ea
* config.sub, config.guess: Update from subversions.
26 years ago
Jeff Johnston
7d6d33d409
Fri Jan 5 19:57:00 EST 2001 Aaron J. Grier <aaron@frye.com>
26 years ago
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.
26 years ago
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.
26 years ago
Christopher Faylor
a5e570bcc3
* thread.cc: Need LONG_MAX definition.
26 years ago
Christopher Faylor
4104f35e67
* thread.cc (MTinterface::CreateSemaphore): Correctly set semaphore max.
26 years ago
Jan Hubicka
234ad742b1
* tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
26 years ago
Christopher Faylor
c79ec95060
* fhandler_console.cc (fhandler_console::read): Restore missing test for code
page before doing OemToCharBuff.
26 years ago
Christopher Faylor
1bdc5f1fab
Wed Jan 3 09:20:20 2001 Jason Tishler <jt@dothill.com>
* include/cygwin/version.h: Fix typo in CYGWIN_VERSION_DLL_COMBINED
macro.
26 years ago
Jan Hubicka
00a8972f02
* configure.in: Add support for x86_64 and x86_64-*-linux-gnu*
* NEWS: Add x86_64.
* i386.h (i386_optab): Add "rex*" instructions;
add swapgs; disable jmp/call far direct instructions for
64bit mode; add syscall and sysret; disable registers for 0xc6
template. Add 'q' suffixes to extendable instructions, disable
obsoletted instructions, add new sign/zero extension ones.
(i386_regtab): Add extended registers.
(*Suf): Add No_qSuf.
(q_Suf, wlq_Suf, bwlq_Suf): New.
26 years ago
Corinna Vinschen
8a93913d26
* cygwin.din: Add symbols for `getrlimit' and `setrlimit'.
* exceptions.cc (stackdump): Avoid creating stackdump when
`rlim_core' is 0.
* resource.cc: New global variable `rlim_core'.
(getrlimit): New function.
(setrlimit): Ditto.
include/cygwin/version.h: Bump minor API version to 32 due to
adding `getrlimit' and `setrlimit'.
include/sys/resource.h: Add defines, types and prototypes for
`getrlimit' and `setrlimit'.
26 years ago
Christopher Faylor
2803e941b3
* autoload.h: Make DLL initializers global to avoid inlining.
* exceptions.cc (interrupt_setup): Reorganize arguments to allow use of
regparm.
(interrupt_now): Ditto.
(interrupt_on_return): Ditto.
(call_handler): Ditto.
26 years ago
Christopher Faylor
48c4679d55
* include/cygwin/version.h: Bump DLL minor version number to 8.
26 years ago
Christopher Faylor
45eb603342
missed a spot.
26 years ago
Christopher Faylor
446760ac78
* lib/Makefile.in: Don't make "links" to include/w32api directory.
26 years ago
Corinna Vinschen
8b2a7164ac
* cygwinenv.sgml: Fix typo in <filename>. Add missing </para>.
26 years ago
Jan Hubicka
8a46ccd7e2
* tc-i386.h (i386_target_format): Define even for ELFs.
26 years ago
Corinna Vinschen
d6a289bac1
Fix syntax.
26 years ago
Corinna Vinschen
aa2b85cc90
* autoload.cc: Add load statemant for SetSecurityDescriptorControl.
* security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on
Win2K and higher.
26 years ago
Corinna Vinschen
e625e1b99e
* include/winbase.h: Add prototype for SetSecurityDescriptorControl.
26 years ago
Christopher Faylor
7d72d04c77
* exceptions.cc (reset_signal_arrived): Make global to avoid inlining.
26 years ago
Christopher Faylor
2bfdcd8a5f
* fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytes
ready to be read whether overlapped_armed or not.
26 years ago
DJ Delorie
b92b863bbf
* COPYING: Update to current
ftp://ftp.gnu.org/pub/gnu/Licenses/COPYING-2.0 (fixes references
to 19yy as example year in copyright notice).
26 years ago