375dbb9d4c
2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/machine/_types.h: New (Derived from
machine/_default_types.h).
* libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
* libc/sys/rtems/sys/param.h:
Update copyright notice from FreeBSD.
Remove HZ.
Add #include <sys/priority.h>
Remove priority handling (moved to sys/priority.h).
Remove CLBYTES (Unused, abandoned in BSD).
* libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
Remove CIRCLEQ_*.
2
2009-12-17 16:10:41 +00:00
214f44da10
* signal.cc (nanosleep): Support 'infinite' sleep times.
...
(sleep): Avoid uninitialized memory.
2009-12-17 14:04:04 +00:00
6681dfdc8c
PR ld/11088
...
include/elf/
* ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT,
R_PPC_RELAX32PC_PLT): Delete.
(R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define.
bfd/
* elf32-ppc.c (update_plt_info): Clear sec here when addend is
less than 32768..
(ppc_elf_check_relocs): ..rather than doing so here. Ignore new
relax relocs.
(ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has
removed plt_entry records.
(ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly.
(ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount
when optimizing code using new tlsgd and tlsld marker relocs.
(ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs
from ADDR24 relocs using plt or glink. Don't clear the addend
for R_PPC_RELAX_PLTREL24.
(ppc_elf_relocate_section): Correctly handle addends on relaxed
PLTREL24 relocs.
2009-12-17 05:45:25 +00:00
377b190270
2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
...
* libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
for ALIGNBYTES on SPARC.
2009-12-16 21:35:51 +00:00
6bd43918eb
2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* xc16x/Makefile.in: Remove extraneous stuff
brought in by copy.
* xc16x/configure.in: Ditto.
* xc16x/configure: Regenerated.
2009-12-16 20:00:55 +00:00
a13e3a7bf2
2009-12-16 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
and ETOOMANYREFS into general list as they are referenced
by OpenGroup and needed by RTEMS.
2009-12-16 19:33:10 +00:00
39e5af4aed
2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
2009-12-16 18:30:20 +00:00
32a08d0e75
2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/sys/rtems/machine/_types.h: New (Derived from
machine/_default_types.h).
* libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB.
* libc/sys/rtems/sys/param.h:
Update copyright notice from FreeBSD.
Remove HZ.
Add #include <sys/priority.h>
Remove priority handling (moved to sys/priority.h).
Remove CLBYTES (Unused, abandoned in BSD).
* libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD).
Remove CIRCLEQ_*.
2009-12-16 18:28:15 +00:00
beeae48288
* fhandler_console.cc (read): Detect and handle mouse wheel scrolling
...
events (for completion of mouse reporting mode 1000) and mouse
movement events (for additional mouse reporting modes 1002 and 1003).
Use mouse_aware() as a guard and only condition for mouse
reporting in order to enforce consistence of read() and select().
Add focus reports (for additional focus reporting mode 1004).
(mouse_aware): Enable detection of additional mouse events for select().
Tune function to precisely match actual reporting criteria.
Move adjustment of mouse position (by window scroll offset)
here to avoid duplicate code.
(char_command): Initialization of enhanced mouse reporting modes.
Initialization of focus reporting mode.
* fhandler.h (use_mouse): Change flag (bool->int) to indicate
additional mouse modes. Add flag to indicate focus reporting.
(mouse_aware): Move enhanced function into fhandler_console.cc.
* select.cc (peek_console): Use modified mouse_aware() for more
general detection of mouse events. Also check for focus reports.
2009-12-16 14:56:10 +00:00
7077c48e54
* regtool.cc: Throughout, convert all registry calls to wide char
...
calls and use string conversion according to current locale.
(longopts): Change "dword-le" to "dword-be", as was originally
intended.
(usage): Change usage accordingly.
(print_version): Simplify copyright dates in output.
(cmd_list): Handle REG_LINK like REG_SZ.
(cmd_get): Ditto.
(main): Call setlocale.
* utils.sgml (regtool): Fix options and add missing descriptions for
new features.
2009-12-16 14:02:57 +00:00
d1600b38c0
* registry.cc (cygnus_class): Remove.
...
(reg_key::build_reg): Don't set class when creating key.
2009-12-16 13:09:46 +00:00
47c756dd7a
2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* libc/machine/xc16x/Makefile.am: Fix typo and refer
to puts.c instead of putc.c.
* libc/machine/xc16x/Makefile.in: Regenerated.
2009-12-15 19:34:08 +00:00
2f5d8f7bd0
* net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR)
...
on stream sockets under systems supporting enhanced socket security.
2009-12-15 17:08:20 +00:00
f04f6d49fa
* fhandler_console.cc (char_command): Fix code to select dim mode
...
to 2 rather than 9. Add entries for mode 22 (normal, not bold)
28 (visible, not invisible), 25 (not blinking).
2009-12-15 12:46:40 +00:00
a4a2296704
2009-12-14 Doug Kwan <dougkwan@google.com>
...
bfd/ChangeLog:
* opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed
variable warnings.
* bfd-in2.h: Regnenerate.
include/ChangeLog:
* bfdlink.h (struct bfd_link_callbacks): Rename function parameters
to avoid shadowed variable warnings.
* dis-asm.h (struct disassemble_info): Ditto.
(disassemble_init_for_target): Ditto.
(init_disassemble_info): Ditto.
2009-12-15 02:02:39 +00:00
531e23564b
2009-12-14 Maxim Kuvyrkov <maxim@codesourcery.com>
...
* libc/machine/m68k/memcpy.S: Patch to support
boards which do not support unaligned read/write.
2009-12-14 20:50:53 +00:00
a3bb10f356
* faq-setup.xml (faq.setup.mirror): Fix URL to wget.
2009-12-14 17:15:51 +00:00
5d5594597e
* libc/getopt.c (getopt_internal): Set optreset according to optind
...
setting earlier. Reevaluate POSIXLY_CORRECT if optreset is set to !0 .
Handle a leading '-' in options independently of posixly_correct.
2009-12-14 10:47:25 +00:00
cfc4fc9deb
Fix reference to putchar.o and puts.o which were moved to newlib as part of
...
initial check-in.
2009-12-10 17:22:11 +00:00
655e435357
2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* configure.host: Add xc16x support.
* libc/include/machine/ieeefp.h: Ditto.
* libc/include/sys/config.h: Ditto.
* libc/machine/configure.in: Ditto.
* libc/machine/Makefile.in: Regenerated.
* libc/machine/aclocal.m4: Ditto.
* libc/machine/configure: Ditto.
* libc/machine/xc16x/Makefile.am: New file.
* libc/machine/xc16x/Makefile.in: Ditto.
* libc/machine/xc16x/aclocal.m4: Ditto.
* libc/machine/xc16x/configure: Ditto.
* libc/machine/xc16x/configure.in: Ditto.
* libc/machine/xc16x/putchar.c: Ditto.
* libc/machine/xc16x/puts.c: Ditto.
* libc/machine/xc16x/setjmp.S: Ditto.
2009-12-10 17:12:11 +00:00
e6291536c7
2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
...
* configure.in: Add xc16x support.
* configure: Regenerated.
* xc16x/Makefile.in: New file for xc16x port.
* xc16x/aclocal.m4: Ditto.
* xc16x/close.S: Ditto.
* xc16x/configure: Ditto.
* xc16x/configure.in: Ditto.
* xc16x/create.c: Ditto.
* xc16x/crt0.S: Ditto.
* xc16x/fstat.S: Ditto.
* xc16x/getchar1.c: Ditto.
* xc16x/isatty.c: Ditto.
* xc16x/lseek.c: Ditto.
* xc16x/mem-layout.c: Ditto.
* xc16x/misc.c: Ditto.
* xc16x/open.c: Ditto.
* xc16x/read.c: Ditto.
* xc16x/sbrk.c: Ditto.
* xc16x/syscalls.c: Ditto.
* xc16x/trap_handle.c: Ditto.
* xc16x/write.c: Ditto.
* xc16x/sys/syscall.h: Ditto.
2009-12-10 17:07:04 +00:00
d0f9de23a1
* fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it has
...
been explicitly set.
* include/cygwin/version.h: Bump DLL minor version number to 2.
2009-12-09 16:52:43 +00:00
ad0ae5d83a
Fix some *at declarations.
...
* libc/include/stdio.h (symlinkat): Move this...
* libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
* libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
match POSIX.
2009-12-08 13:50:41 +00:00
1d30ae1236
Sync with GCC:
...
PR middle-end/30447
PR middle-end/30789
PR other/40302
* configure.ac: Require MPC.
* configure: Regenerate.
* configure.ac: Update minimum MPC version to 0.8.
* configure: Regenerate.
2009-12-07 20:24:59 +00:00
6d67afbe9c
* include/cygwin/version.h: Bump DLL minor version number to 1.
2009-12-06 12:24:34 +00:00
ed2e3d2f5f
include/
...
2009-12-03 David Daney <ddaney@caviumnetworks.com >
Adam Nemet <adambnemet@gmail.com >
* elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
binutils/
2009-12-03 David Daney <ddaney@caviumnetworks.com >
Adam Nemet <adambnemet@gmail.com >
* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.
2009-12-03 17:01:46 +00:00
df8d921e12
2009-12-03 Craig Howland <howland@LGSInnovations.com>
...
* libc/stdlib/strtod.c: Correct "NO_REENT" to "_REENT_ONLY".
* libc/stdlib/wcstod.c: Ditto.
* libc/stdlib/dtoastub.c: Ditto.
2009-12-03 16:11:27 +00:00
2bc3381e5c
* fhandler_socket.cc (send_internal): Don't split datagram messages
...
into pieces.
* syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't
been set yet.
2009-12-02 15:23:03 +00:00
39276d4bce
PR binutils/11017
...
* dlltool.c (PAGE_SIZE): Delete.
(PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.
* coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h
* i386lh (COFF_PAGE_SIZE): Define.
* x86_64.h (COFF_PAGE_SIZE): Define.
2009-12-02 14:04:15 +00:00
725d792fe1
* setup2.sgml (setup-env): Clarify that Windows environment gets
...
copied over. Add paragraph about TMP, TEMP, and TMPDIR.
2009-12-02 09:36:54 +00:00
b4a3a3e367
* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
...
directory and siblings as nohandle fhandler.
2009-12-01 16:31:04 +00:00
cfdd76f143
config:
...
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
AC_CANONICAL_TARGET.
bfd:
* configure: Regenerate.
binutils:
* configure: Regenerate.
gas:
* configure: Regenerate.
gdb:
* configure: Regenerate.
gprof:
* configure: Regenerate.
ld:
* configure: Regenerate.
2009-11-30 16:46:38 +00:00
c84fd8fe23
* speclib: Use last dll found since that's the real name of the cygwin DLL.
2009-11-30 15:40:23 +00:00
19ac72547f
* setfacl.c (getaclentry): Allow to delete default entries for the
...
owner and owner group.
2009-11-29 14:28:29 +00:00
ff928075e9
2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/_mingw.h: Increment version to 3.17.
2009-11-28 06:07:27 +00:00
bde3635669
2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689
2009-11-28 05:28:35 +00:00
575e8668bd
* common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,
...
EM_TI_C5500, EM_CUDA): Define.
(EM_res140, EM_res141, EM_res142): Remove.
2009-11-28 03:18:00 +00:00
667d9ad130
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in
...
comments. Always open file synchronized when reading header bytes,
otherwise suffer stack corruption.
2009-11-27 14:27:22 +00:00
3449d470ba
* cygcheck.cc (dump_sysinfo): Fix typo in products.
2009-11-27 10:01:50 +00:00
7bdbf062cd
* dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather than
...
hMainProc as process handle when duplicating the stdout handle.
Explain why. Add Win32 error code to debug output.
2009-11-26 10:58:06 +00:00
b2225216e9
* rx/rx.ld: Place .sbss properly.
...
* rx/rx-sim.ld: Likewise.
2009-11-25 20:20:25 +00:00
83e8d44112
* zlib.m4: New file.
2009-11-24 22:35:29 +00:00
cca5b2f53e
[sim]
...
* rx: New directory.
* configure.ac: Add entry for Renesas RX.
* configure: Regenerate.
[include/gdb]
* sim-rx.h: New.
2009-11-24 19:22:44 +00:00
e92d0abecf
Use NetBSD fix for CVE-2009-0689 security vulnerability.
...
* libc/include/sys/reent.h (_Kmax): Define here based on the sizeof
size_t, as in latest NetBSD.
* libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant
value 15.
* libc/stdlib/mprec.c (_Kmax): Don't define here. Explain why.
2009-11-23 17:02:20 +00:00
27bbefdefd
* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add
...
socket handle value to debug output.
(fhandler_socket::fixup_after_fork): Ditto. Make new socket handle
OVERLAPPED, just as if it has been created with socket().
* net.cc (fdsock): Close duplicated socket and explain why. Disable
the entire WSADuplicateSocket test for now and explain why.
2009-11-23 14:50:14 +00:00
013e402bfc
* fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only call
...
fhandler_base::set_close_on_exec for inheritable sockets.
2009-11-23 12:21:39 +00:00
83fb2eceda
* cgen.h: Include bfd_stdint.h.
...
(CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.
2009-11-23 03:56:29 +00:00
d9e9c7b5a7
* globals.cc (ro_u_dll): New R/O unicode string.
...
* syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to
blessed_executable_suffixes array. Explain why.
2009-11-21 12:44:13 +00:00
fe6f5bbeaa
2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* include/shlobj.h (SHParseDisplayName): Fix definition.
2009-11-21 05:26:02 +00:00
3cd3c5b30c
2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/w32api.h: Increment version to 3.14.
* Makefile.in: Ditto.
2009-11-21 03:46:37 +00:00