Commit Graph

1296 Commits

Author SHA1 Message Date
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
Jan Hubicka 234ad742b1 * tc-i386.h (CpuK6, CpuAthlon, CpuSledgehammer, CpuMMX, Cpu3dnow,
CpuUnknown): Renumber
	(CpuP4, CpuSSE2): New.
	(CpuUnknownFlags): Add CpuP4 and CpuSSE2

	* i386.h (i386_optab): Fix 64bit pushf template; Add instructions
	introduced by Pentium4
2001-01-03 15:36:26 +00:00
Christopher Faylor c79ec95060 * fhandler_console.cc (fhandler_console::read): Restore missing test for code
page before doing OemToCharBuff.
2001-01-03 14:45:47 +00:00
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.
2001-01-03 14:44:13 +00:00
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.
2000-12-30 18:05:10 +00:00
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'.
2000-12-27 00:13:57 +00:00
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.
2000-12-26 03:21:05 +00:00
Christopher Faylor 48c4679d55 * include/cygwin/version.h: Bump DLL minor version number to 8. 2000-12-25 18:37:44 +00:00
Christopher Faylor 45eb603342 missed a spot. 2000-12-25 17:49:36 +00:00
Christopher Faylor 446760ac78 * lib/Makefile.in: Don't make "links" to include/w32api directory. 2000-12-25 17:23:29 +00:00
Corinna Vinschen 8b2a7164ac * cygwinenv.sgml: Fix typo in <filename>. Add missing </para>. 2000-12-22 17:02:02 +00:00
Jan Hubicka 8a46ccd7e2 * tc-i386.h (i386_target_format): Define even for ELFs.
(QWORD_MNEM_SUFFIX): New macro.
	(CpuK6,CpuAthlon,CpuSledgehammer, Cpu64, CpuNo64, CpuUnknownFlags):
	New macros
	(CpuMMX,CpuSSE,Cpu3dnow, CpuUnknown): Renumber.
	(IgnoreSize, DefaultSize, No_?Suf, FWait, IsString, regKludge, IsPrefix,
	ImmExt): Renumber.
	(Size64, No_qSuf, NoRex64, Rex64): New macros.
	(Reg64, Imm32S, Imm64, Disp32S, Disp64): New macros.
	(Imm8, Imm8S, Imm16, Imm32, Imm1, BaseIndex, Disp8, Disp16, Disp32,
	InOutPortReg,ShiftCount, Control, Debug, Test, FloatReg, FloatAcc,
	SReg2, SReg3, Acc, JumpAbsolute, RegMMX, RegXMM, EsSeg, InvMem): Renumber.
	(Reg, WordReg): Add Reg64.
	(Imm): Add Imm32S and Imm64.
	(EncImm): New.
	(Disp): Add Disp64 and Disp32S.
	(AnyMem): Add Disp32S.
	(RegRex, RegRex64): New macros.
	(rex_byte): New type.
	* tc-i386.c (set_16bit_code_flag): Kill.
	(fits_in_unsigned_long, fits_in_signed_long): New functions.
	(reloc): New parameter "signed"; support x86_64.
	(set_code_flag): New.
	(DEFAULT_ARCH): New macro; default to "i386".
	(default_arch): New static variable.
	(struct _i386_insn): New fields Operand_PCrel; rex.
	(flag_16bit_code): Kill; All tests replaced to "flag_code == CODE_64BIT";
	(flag_code): New enum and static variable.
	(use_rela_relocations): New static variable.
	(flag_code_names): New static variable.
	(cpu_arch_flags): Default to CpuUnknownFlags|CpuNo64.
	(cpu_arch): Add "sledgehammer"; Add CPUAthlon to Athlon and CpuK6 to
	K6 and Athlon.
	(i386_align_code): Return plain "nop" for x86_64.
	(mode_from_disp_size): Support Disp32S.
	(smallest_imm_type): Support Imm32S and Imm64.
	(offset_in_range): Support size of 8.
	(set_cpu_arch): Do not clobber to Cpu64/CpuNo64.
	(md_pseudo_table): Add "code64"; use set_code_flat.
	(md_begin): Emit sane error message on hash failure.
	(tc_i386_fix_adjustable): Support x86_64 relocations.
	(md_assemble): Support QWORD_MNEM_SUFFIX, REX registers,
	instructions supported on particular arch just partially,
	output of 64bit immediates, handling of Imm32S and Disp32S type.
	(i386_immedaite): Support x86_64 relocations; support 64bit constants.
	(i386_displacement): Likewise.
	(i386_index_check): Cleanup; support 64bit addresses.
	(md_apply_fix3): Support x86_64 relocation and rela.
	(md_longopts): Add "32" and "64".
	(md_parse_option): Add OPTION_32 and OPTION_64.
	(i386_target_format): Call even for ELFs; choose between
	elf64-x86-64 and elf32-i386.
	(i386_validate_fix): Refuse GOTOFF in 64bit mode.
	(tc_gen_reloc): Support rela relocations and x86_64.
	(intel_e09_1): Support QWORD.

	* i386.h (i386_optab): Replace "Imm" with "EncImm".
	(i386_regtab): Add flags field.
2000-12-20 13:24:13 +00:00
Corinna Vinschen d6a289bac1 Fix syntax. 2000-12-20 12:43:22 +00:00
Corinna Vinschen aa2b85cc90 * autoload.cc: Add load statemant for SetSecurityDescriptorControl.
* security.cc (alloc_sd): Always set SE_DACL_PROTECTED flag on
        Win2K and higher.
2000-12-20 12:42:43 +00:00
Corinna Vinschen e625e1b99e * include/winbase.h: Add prototype for SetSecurityDescriptorControl. 2000-12-20 12:36:28 +00:00
Christopher Faylor 7d72d04c77 * exceptions.cc (reset_signal_arrived): Make global to avoid inlining. 2000-12-20 06:03:16 +00:00
Christopher Faylor 2bfdcd8a5f * fhandler_serial.cc (fhandler_serial::raw_read): Always find number of bytes
ready to be read whether overlapped_armed or not.
2000-12-20 05:57:59 +00:00
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).
2000-12-19 22:01:20 +00:00
Corinna Vinschen 3112d7a41c * syscalls.cc (remove): New function, overriding the newlib
implementation.
2000-12-19 20:43:41 +00:00
Nick Clifton 602f8b5aba oops - fix attribution 2000-12-19 20:37:35 +00:00
Nick Clifton 6286746a16 Add missing clobber of LR 2000-12-19 20:37:18 +00:00
Corinna Vinschen f3549a047a * cygwinenv.sgml: Add text for `smbntsec' option. 2000-12-19 20:14:34 +00:00
Corinna Vinschen 5827f4d98a * environ.cc (struct parse_thing): Add entry for new CYGWIN option
`smbntsec'.
        * path.cc (path_conv::check): Check path for being a remote path.
        If so and `allow_smbntsec' is set to FALSE, set has_acls to FALSE.
        * security.cc: Add global definition for `allow_smbntsec'.
        * security.h: Add extern declaration for `allow_smbntsec'.
        * fhandler.cc (fhandler_disk_file::open): Eliminate extern declaration
        of `allow_ntsec'.
        * syscalls.cc: Ditto.
2000-12-19 19:52:57 +00:00
Hans-Peter Nilsson 4f95585070 * dis-asm.h (struct disassemble_info): New member "section".
(INIT_DISASSEMBLE_INFO_NO_ARCH): Initialize private_data member.
	Initialize section member.
2000-12-18 23:19:55 +00:00
DJ Delorie 11d54e5d03 fix formatting 2000-12-17 03:09:45 +00:00
DJ Delorie f222ccb07f * safe-ctype.h: Make code work on all targets and not just on
targets where a char is 8 bits.
2000-12-17 03:09:01 +00:00
Christopher Faylor 64069abe03 * cygcheck.cc (cygwin_info): Add some more bounds checking. From Matt Harget
<matt@use.net>:
* utils/cygcheck.cc (keyeprint): Move declaration before other functions so it
could be used by all functions to report error messages.  Add comment.
(add_path): Check for NULL return from malloc.
(find_on_path): Check initial uses of pointers for NULL.
(rva_to_offset): Ditto.
(init_paths): Add checking for return values of Win32 calls.
(get_dword): Ditto.
(get_word): Ditto.
(dll_info): Ditto, also add NULL pointer checks.
(scan_registry): Ditto.
(check_keys): Ditto.
(dump_sysinfo): Ditto.  Add default case to switch.  Add error reporting if
GetVolumeInformation fails, except when it returns ERROR_NOT_READY.
(track_down): Add checking for NULL pointers and return values of Win32 calls.
(cygwin_info): Ditto.  Correct small memory leak.
2000-12-16 04:53:30 +00:00
Christopher Faylor 085ec17c5d * fhandler_console.cc (read): Add support for xterm-style mouse event
reporting.
(fhandler_console::char_command): Honor mouse events.
(fhandler_console::open): Enable mouse input events.
(fhandler_console::input_tcsetattr): Ditto.
* select.cc (peek_console): Add check for mouse events.
2000-12-16 03:11:02 +00:00
Christopher Faylor 7fbcbc9592 * path.cc (normalize_posix_path): Calculate path name length overruns more
dynamically.
(normalize_win32_path): Ditto.
* Makefile.in: Avoid scanning the directory twice for *.d files.
2000-12-15 22:25:51 +00:00
Christopher Faylor 80d0051c37 * fhandler.h (fhandler_console): Add additional argument to char_command
method.
* fhandler_console.cc (fhandler_console::read): Revert previously misapplied
patch.
(fhandler_console::char_command): Add a second argument.
(fhandler_console::write): Recognize when a '?' is found after a <esc>[.
2000-12-15 04:42:20 +00:00
Jeff Johnston 9c2b818342 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
* configure.host: Turn on long double I/O for Cygwin.
2000-12-14 22:32:42 +00:00
Jeff Johnston 804368d392 Wed Dec 14 Jeff Johnston <jjohnstn@redhat.com>
* MAINTAINERS: Removed Ranjith.
        * NEWS: Updated for 1.9.0.
        * README: Updated.
        * acinclude.m4: Updated to release 1.9.0.
        * aclocal.m4 configure
          doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure
          libc/machine/aclocal.m4 libc/machine/configure
          libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure
          libc/machine/arm/aclocal.m4 libc/machine/arm/configure
          libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure
          libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure
          libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure
          libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure
          libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure
          libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure
          libc/machine/i386/aclocal.m4 libc/machine/i386/configure
          libc/machine/i960/aclocal.m4 libc/machine/i960/configure
          libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure
          libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure
          libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure
          libc/machine/mips/aclocal.m4 libc/machine/mips/configure
          libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure
          libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure
          libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure
          libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure
          libc/machine/sh/aclocal.m4 libc/machine/sh/configure
          libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure
          libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure
          libc/machine/v850/aclocal.m4 libc/machine/v850/configure
          libc/machine/w65/aclocal.m4 libc/machine/w65/configure
          libc/machine/xscale/aclocal.m4 libc/machine/xscale/configure
          libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure
          libc/sys/aclocal.m4 libc/sys/configure
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
          libc/sys/linux/aclocal.m4 libc/sys/linux/configure
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
          libm/aclocal.m4 libm/configure: Regenerated.
2000-12-14 22:15:26 +00:00
Corinna Vinschen 0985d43f4c * libc/include/sys/unistd.h: Add declarations for `chroot' and `getwd'
when __CYGWIN__ is defined.
2000-12-14 01:07:23 +00:00
Jeff Johnston b6182a09dd 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdlib/ldtoa.c (_ldcheck): New routine
        that categorizes a long double as NaN, Infinity, or other.
        * libc/stdio/vfprintf.c [WANT_IO_LONG_DBL](_VFPRINTF_R): Removed
        isinfl and isnanl static routines which were i386-specific.  Changed
        calls to the two removed routines to a single _ldcheck call.
        * libc/stdio/vfieeefp.h (ldieee): Fixed missing semi-colons.
2000-12-14 00:25:06 +00:00
Jeff Johnston adbbb0348c 2000-12-13 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Fixed install-data-local target to use
        $(mkinstalldirs) for the installed header files to ensure
        the directories exist before copying.
        * Makefile.in: Regenerated.
2000-12-13 19:32:45 +00:00
David Starks-Browning fcd5787f95 new entry, installing cygwin-inst snapshots with setup 2000-12-13 16:44:43 +00:00
David Starks-Browning cf427ba344 update contents 2000-12-13 16:16:35 +00:00
David Starks-Browning e65ed025c4 very minor wording change 2000-12-13 16:12:17 +00:00
David Starks-Browning ff15e09cc9 update globbing entry 2000-12-13 15:43:32 +00:00
Jeff Johnston cbd1933690 2000-12-12 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/sys/unistd.h: Restored Cygwin _SC
        constants and moved new constants appropriately
        so Cygwin will build.
2000-12-12 23:41:23 +00:00
Nick Clifton b15ced2271 Add link option to allow undefiedn symbols in shared libraries 2000-12-12 20:53:02 +00:00
Alexandre Oliva 533245522d * configure.in: Disable language-specific target libraries for
languages that aren't enabled.
2000-12-12 20:33:05 +00:00
Nick Clifton 5092a8140b Fix Formatting. 2000-12-12 19:25:07 +00:00
David Starks-Browning 740dea68d0 new entries about contributing packages 2000-12-12 17:42:21 +00:00
David Starks-Browning 88e066655c try again... 2000-12-12 16:07:14 +00:00