Jeff Johnston
0e77a3817f
2005-08-02 Shaun Jackman <sjackman@gmail.com>
...
* libgloss/arm/syscalls.c (_exit): Call _kill with the second
argument set to -1, which is an invalid signal number.
(_kill): Comment and coding style changes only.
(_raise): Remove function.
2005-08-02 19:17:21 +00:00
Corinna Vinschen
723d64e667
* include/sys/termios.h: Define TIOCMBIS and TIOCMBIC.
...
* fhandler.h (class fhandler_serial): Declare switch_modem_lines.
* fhandler_serial.cc (fhandler_serial::switch_modem_lines): New
static function to set or clear DTR and/or RTS.
(fhandler_serial::ioctl): Use switch_modem_lines for TIOCMSET
and new TIOCMBIS and TIOCMBIC.
* include/cygwin/version.h: Bump API minor number.
2005-08-02 09:17:15 +00:00
Christopher Faylor
88c5a50f9f
* fhandler_disk_file.cc (fhandler_base::pread): Don't move file offset pointer
...
after I/O.
(fhandler_base::pwrite): Ditto.
2005-07-29 17:26:10 +00:00
Christopher Faylor
ca48709996
white space
2005-07-29 17:06:57 +00:00
Christopher Faylor
7d7d09aee8
* fhandler.h (fhandler_base::pread): Declare new function.
...
(fhandler_base::pwrite): Ditto.
(fhandler_disk_file::pread): Ditto.
(fhandler_disk_file::pwrite): Ditto.
* fhandler.cc (fhandler_base::pread): Define new function.
(fhandler_base::pwrite): Ditto.
* fhandler_disk_file.cc (fhandler_base::pread): Ditto.
(fhandler_base::pwrite): Ditto.
* syscalls.cc (pread): Define new function.
(pwrite): Ditto.
* cygwin.din: Export pread, pwrite.
* include/sys/ioctl.h: Guard some _IO* declarations to avoid conflict with
socket.h.
2005-07-29 17:04:46 +00:00
Christopher Faylor
728b9af5c9
* include/sys/ioctl.h: Add some linux defines.
2005-07-29 15:26:18 +00:00
Christopher Faylor
b78b8f53ae
* pinfo.cc (pinfo::init): Put back accidentally removed debug_printf.
2005-07-29 14:33:50 +00:00
Christopher Faylor
2b3fc7325c
* cygthread.cc (cygthread::simplestub): Wait for h to be filled out by main
...
thread before assigning it.
2005-07-29 14:29:33 +00:00
Christopher Faylor
40c125cf38
* pinfo.cc (pinfo::init): Sleep before retrying open_shared().
2005-07-29 14:25:28 +00:00
Christopher Faylor
f834829dee
* fork.cc (fork_parent): Fix null deref if pinfo creation fails.
2005-07-29 14:22:56 +00:00
John David Anglin
e61d5b9790
PR gas/336
...
* hppa.h (pa_opcodes): Allow 0 immediates in PA 2.0 variants of pdtlb
and pitlb.
2005-07-28 20:32:21 +00:00
Christopher Faylor
4fe79f1c97
* cygmalloc.h (MSPACES): Define. This dropped through the cracks after the
...
last malloc update.
* dcrt0.cc: Fix a comment.
* malloc.cc (internal_malloc): Fix definition so that it can be safely coerced.
2005-07-28 17:03:34 +00:00
Earnie Boyd
625302ea89
2005-07-28 Earnie Boyd <earnie@users.sf.net>
...
* include/winnt.h (SUBLANG_PORTUGUESE, SUBLANG_PORTUGUESE_BRAZILIAN):
Correct their values.
Thanks to: Daniel K. O. <danielosmari at users dont sf dot net>
2005-07-28 11:09:36 +00:00
Mark Mitchell
ece7e5643e
* Makefile.tpl (EXTRA_TARGET_FLAGS): Set LDFLAGS=LDFLAGS_FOR_TARGET.
...
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_TARGET.
* Makefile.in: Regenerated.
2005-07-27 20:22:35 +00:00
Mark Mitchell
cba5f9c837
* mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
2005-07-27 18:55:59 +00:00
Mark Mitchell
de42ab6c89
Remove bogus ChangeLog entry
2005-07-27 18:55:36 +00:00
Mark Mitchell
9b992990df
* config/mt-gnu (CXXFLAGS): Include SYSROOT_CFLAGS_FOR_TARGET.
...
* Makefile.tpl (SYSROOT_CFLAGS_FOR_TARGET): New variable.
(CFLAGS_FOR_TARGET): Use it.
(CXXFLAGS_FOR_TARGET): Likewise.
* Makefile.in: Regenerated.
* configure.in (--with-build-sysroot): New option.
* configure: Regenerated.
2005-07-27 18:00:57 +00:00
Christopher Faylor
09b490911c
* include/cygwin/in.h (INET_ADDRSTRLEN): Add new definition.
2005-07-27 17:35:18 +00:00
Christopher Faylor
efc7accc9d
* gendef: Use nocr to remove \r's from input. gendef (nocr): New function.
2005-07-27 16:16:51 +00:00
Christopher Faylor
a3c024d6ea
* fhandler_clipboard.cc (fhandler_dev_clipboard::close): Set membuffer to NULL.
...
(fhandler_dev_clipboard::fixup_after_exec): Don't call close here. Just set
variables directly.
2005-07-27 14:33:09 +00:00
Jan Beulich
d08916dade
include/opcode/
...
2005-07-27 Jan Beulich <jbeulich@novell.com>
* i386.h (i386_optab): Add comment to movd. Use LongMem for all
movd-s. Add NoRex64 to movq-s dealing only with mmx or xmm registers.
Add movq-s as 64-bit variants of movd-s.
2005-07-27 07:04:31 +00:00
Hans-Peter Nilsson
12499c7a5d
* libc/machine/cris/libcdtor.c (defaultors): Mark artificially as
...
used.
2005-07-26 20:37:13 +00:00
DJ Delorie
8efb275cc3
[bfd]
...
* reloc.c: Remove unused M32C relocs, add BFD_RELOC_M32C_HI8.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.
* elf32-m32c.c (m32c_elf_howto_table): Add R_M32C_8, R_M32C_LO16,
R_M32C_HI8, R_M32C_HI16.
(m32c_reloc_map): Likewise.
(m32c_elf_relocate_section): Add R_M32C_HI8 and R_M32C_HI16.
[cpu]
* m32c.opc (parse_unsigned8): Add %dsp8().
(parse_signed8): Add %hi8().
(parse_unsigned16): Add %dsp16().
(parse_signed16): Add %lo16() and %hi16().
(parse_lab_5_3): Make valuep a bfd_vma *.
[gas]
* config/tc-m32c.c (md_cgen_lookup_reloc): Add 8 bit operands.
Support %mod() modifiers from opcodes.
* doc/c-m32c.texi (M32C-Modifiers): New section.
[include/elf]
* m32c.h: Add R_M32C_8, R_M32C_LO16, R_M32C_HI8, and R_M32C_HI16.
[opcodes]
* m32c-asm.c Regenerate.
* m32c-dis.c Regenerate.
2005-07-26 03:21:52 +00:00
Christopher Faylor
0a911c4e6d
* include/byteswap.h: New file.
2005-07-26 00:55:42 +00:00
Christopher Faylor
c24d159222
update copyright
2005-07-26 00:38:54 +00:00
Christopher Faylor
33e7a6bb89
* include/cygwin/types.h: Define loff_t.
2005-07-25 21:46:36 +00:00
H.J. Lu
0046a9a468
bfd/
...
2005-07-25 Jan Hubicka <jh@suse.cz>
H.J. Lu <hongjiu.lu@intel.com>
* elf-bfd.h (_bfd_elf_large_com_section): New.
* elf.c (_bfd_elf_large_com_section): New. Defined.
* elf64-x86-64.c (elf64_x86_64_add_symbol_hook): New.
(elf64_x86_64_elf_section_from_bfd_section): New.
(elf64_x86_64_symbol_processing): New.
(elf64_x86_64_common_definition): New.
(elf64_x86_64_common_section_index): New.
(elf64_x86_64_common_section): New.
(elf64_x86_64_merge_symbol): New.
(elf64_x86_64_additional_program_headers): New.
(elf64_x86_64_special_sections): New.
(elf_backend_section_from_bfd_section): New. Defined.
(elf_backend_add_symbol_hook): Likewise.
(elf_backend_common_section_index): Likewise.
(elf_backend_common_section): Likewise.
(elf_backend_common_definition): Likewise.
(elf_backend_merge_symbol): Likewise.
(elf_backend_special_sections): Likewise.
(elf_backend_additional_program_headers): Likewise.
binutils/
2005-07-25 H.J. Lu <hongjiu.lu@intel.com>
* readelf.c (dump_relocations): Handle SHN_X86_64_LCOMMON.
(get_symbol_index_type): Likewise.
(get_elf_section_flags): Handle SHF_X86_64_LARGE.
gas/
2005-07-25 Jan Hubicka <jh@suse.cz>
H.J. Lu <hongjiu.lu@intel.com>
* config/obj-elf.c: Include "elf/x86-64.h" if TC_I386 is
defined.
(elf_com_section_ptr): New.
(elf_begin): Set elf_com_section_ptr to bfd_com_section_ptr.
(elf_common_parse): Make it global. Use elf_com_section_ptr
instead of bfd_com_section_ptr.
(obj_elf_change_section): Handle x86-64 large bss sections.
* config/obj-elf.h (elf_com_section_ptr): New.
(elf_common_parse): New.
* config/tc-i386.c (handle_large_common): New.
(md_pseudo_table): Add "largecomm".
(x86_64_section_letter): New.
(x86_64_section_word): New.
* config/tc-i386.h (x86_64_section_word): New.
(x86_64_section_letter): New.
(md_elf_section_letter): New. Defined.
(md_elf_section_word): Likewise.
include/elf/
2005-07-25 Jan Hubicka <jh@suse.cz>
* x86-64.h (SHN_X86_64_LCOMMON): New.
(SHF_X86_64_LARGE): New.
ld/
2005-07-25 Jan Hubicka <jh@suse.cz>
H.J. Lu <hongjiu.lu@intel.com>
* emulparams/elf_x86_64.sh (LARGE_SECTIONS): New.
* scripttempl/elf.sc: Updated for large section support.
2005-07-25 15:41:07 +00:00
Chris Sutcliffe
2626e6d8d3
2005-07-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/winuser.h (HSHELL_RUDEAPPACTIVATED): Define.
2005-07-25 13:06:49 +00:00
Paolo Bonzini
7b63ea053f
2005-07-24 Paolo Bonzini <bonzini@gnu.org>
...
* Makefile.tpl: Wrap install between unstage and stage
* Makefile.in: Regenerate.
2005-07-24 13:57:01 +00:00
Jeff Johnston
395a327d17
2005-07-20 Bob Wilson <bob.wilson@acm.org>
...
Darin Petkov <darin@tensilica.com>
* libm/math/ef_atan2.c (pi, pi_lo): Use round-to-nearest value of pi.
2005-07-20 16:20:24 +00:00
Nick Clifton
08ce42dab2
Add support for a 32bit PC relative reloc
2005-07-20 11:35:03 +00:00
Danny Smith
018a7ccb03
* include/wingdi.h (TT_PRIM_CSPLINE): Define.
...
Thanks to: Bob Jamison <ishmal at users dot sourceforge dot net>
2005-07-20 11:32:54 +00:00
Danny Smith
006351e561
* include/richedit.h (SETTEXTEX): Define structure and
...
associated constants.
(GT_SELECTION): Define GETTEXTEX flag constant.
2005-07-20 11:21:49 +00:00
Christopher Faylor
0eccec28cc
* cygcheck.cc (find_on_path): Perform .exe magic on non-PATH search.
2005-07-19 21:00:34 +00:00
Jeff Johnston
fd745b00ed
2005-07-19 Paul Brook <paul@codesourcery.com>
...
* arm/crt0.S: Ensure doubleword stack alignment.
2005-07-19 15:15:25 +00:00
Jeff Johnston
108d7dd833
2005-07-19 Paul Brook <paul@codesourcery.com>
...
* libc/sys/arm/crt0.S: Ensure doubleword stack alignment.
2005-07-19 15:14:16 +00:00
Danny Smith
d551c8583e
* include/wingdi.h (SYSPAL_NOSTATIC256): Define.
2005-07-19 08:49:06 +00:00
Danny Smith
a5a54cb74d
* include/wingdi.h (WINGDIAPI): Define to SECLSPEC_DLLIMPORT
...
if __W32API_USE_DLLIMPORT__. Use throughout on prototypes.
2005-07-19 08:27:43 +00:00
Danny Smith
e6d7923625
* include/commctrl.h (RBBS_USECHEVRON): Define.
...
(RBBS_*): Use hex notation, group together.
2005-07-19 07:46:23 +00:00
John David Anglin
2fac58bbaa
* hppa.h: Fix punctuation in comment.
2005-07-19 03:09:33 +00:00
John David Anglin
510c28d485
* hppa.h (pa_opcode): Add rules for opcode ordering. Check first for
...
implicit space-register addressing. Set space-register bits on opcodes
using implicit space-register addressing. Add various missing pa20
long-immediate opcodes. Remove various opcodes using implicit 3-bit
space-register addressing. Use "fE" instead of "fe" in various
fstw opcodes.
2005-07-19 00:11:48 +00:00
Jeff Johnston
b776efc599
2005-07-18 Joseph S. Myers <joseph@codesourcery.com>
...
* testsuite/lib/checkoutput.exp (newlib_check_output): Use test
names after PASS and FAIL which do not depend on source directory
name or on whether test passed or failed.
* testsuite/lib/passfail.exp (newlib_pass_fail): Likewise.
2005-07-18 19:07:49 +00:00
Jeff Johnston
650c30276a
2005-07-18 Richard Sandiford <richard@codesourcery.com>
...
* mips/array.ld (.sdata): Include .gnu.linkonce.s.*, not
.gnu.linkonce.s*.
(.sbss): Include .sbss.* and .gnu.linkonce.sb.*.
* mips/cfe.ld, mips/ddb-kseg0.ld, mips/ddb.ld, mips/dve.ld,
* mips/idt32.ld, mips/idt64.ld, mips/idtecoff.ld, mips/idt.ld,
* mips/jmr3904app-java.ld, mips/jmr3904app.ld,
* mips/jmr3904dram-java.ld, mips/jmr3904dram.ld,
* mips/lsi.ld, mips/nullmon.ld, mips/pmon.ld: As for mips/array.ld.
2005-07-18 18:19:40 +00:00
Jeff Johnston
ce4654708c
2005-07-18 Shaun Jackman <sjackman@gmail.com>
...
* libgloss/arm/libcfunc.c (abort): Call _exit instead of the RDI swi.
(alarm): Add the weak attribute.
(pause): New function. Return ENOSYS.
* libgloss/arm/syscalls.c (_getpid): Add the weak attribute.
(_fstat): Ditto.
(_stat): Ditto.
(_link): Ditto. Return ENOSYS.
(_unlink): Call the swi instead of returning -1.
(_raise): Add the weak attribute. Return ENOSYS.
(isatty): Rename to _isatty. Call the swi instead of returning 1.
(_system): Call the swi instead of returning ENOSYS.
(_rename): Ditto.
2005-07-18 16:18:17 +00:00
Danny Smith
e17dbb54c7
* lib/kernel32.def (GetUserGeoID): Correct suffix.
...
Thanks to: "bernd23" <bernd23 at users dot sourceforge dot net>
2005-07-18 11:04:51 +00:00
Danny Smith
ea4ec94347
* include/commctrl.h (TreeView_SetItemState): Initilise
...
_tvi.hItem.
Thanks to Joseph Remes <jremes at users dot sourceforge dot net>
2005-07-18 10:12:49 +00:00
Danny Smith
6c325681e2
Remove 2005-07-08 Dimitri Papadopoulos entry (no file was added).
2005-07-18 09:53:17 +00:00
Danny Smith
45a9824b06
2005-07-18 Mattia Barbon <mbarbon@users.sourceforge.net>
...
* include/commctrl.h (NMLVFINDITEM): Add structure.
2005-07-18 09:48:08 +00:00
Danny Smith
cdfd7f6a49
2005-07-18 Michael Gerdau <mgdde@users.sourceforge.net>
...
* include/wininet.h (WININET_API_FLAG_*): Add defines.
2005-07-18 09:04:25 +00:00
Danny Smith
90e7ba4fd5
2005-07-18 Daniel Atallah <datallah@users.sourceforge.net>
...
* include/winnt.h (VER_SET_CONDITION): Define.
2005-07-18 08:52:29 +00:00