Ulrich Weigand
70757043bf
include/elf/
...
* common.h (NT_S390_HIGH_GPRS): Define.
bfd/
* elf.c (elfcore_grok_s390_high_gprs): New function.
(elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes.
(elfcore_write_s390_high_gprs): New function.
(elfcore_write_register_note): Call it.
binutils/
* readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
2009-12-18 16:21:51 +00:00
Corinna Vinschen
ae8547442b
* path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.
...
(func-cygwin-conv-path-list): Fix typo.
(func-cygwin-posix-path-list-p): Ditto.
2009-12-18 10:11:56 +00:00
Ben Elliston
e8ba393273
* config.sub, config.guess: Update from upstream sources.
2009-12-18 03:39:58 +00:00
Christopher Faylor
d0e99ecc19
* ps.cc (main): Return 0 if pid found.
2009-12-18 03:34:59 +00:00
Jeff Johnston
b292054cac
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* mn10300/Makefile.in: Add mkdir call to make installation
directory when installing.
2009-12-17 21:48:49 +00:00
Jeff Johnston
f5efef6413
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* COPYING.NEWLIB: Update copyright date.
* COPYING.LIBGLOSS: Ditto.
2009-12-17 21:12:49 +00:00
Jeff Johnston
a97a996ff7
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* libc/include/_syslist.h: Add _mkdir transform.
2009-12-17 21:08:04 +00:00
Jeff Johnston
a390368122
2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: Update with 1.18.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.18.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
* libc/libc.texinfo: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libm/libm.texinfo: Ditto.
* libc/sys/linux/shared.ld: Add VERS_1.18
2009-12-17 20:41:44 +00:00
Jeff Johnston
296df5189a
2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
...
* NEWS: Update with 1.18.0 info.
* README: Ditto.
* acinclude.m4: Change version number to 1.18.0.
* aclocal.m4: Regenerated.
* configure: Ditto.
* doc/aclocal.m4: Ditto.
* doc/configure: Ditto.
* libc/*/aclocal.m4: Ditto.
* libc/*/configure: Ditto.
* libc/libc.texinfo: Ditto.
* libm/*/aclocal.m4: Ditto.
* libm/*/configure: Ditto.
* libm/libm.texinfo: Ditto.
* libc/sys/linux/shared.ld: Add VERS_1.18
2009-12-17 20:40:06 +00:00
Jeff Johnston
bbe9636fd8
2009-12-17 Jerker Back <jerker.back@gmail.com>
...
* libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of
ICONV_ZERO_MB_STATE_T macro.
* libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use
temporary local variable nullstate to hold empty mbstate_t.
2009-12-17 20:04:43 +00:00
Jeff Johnston
8b917fbcdd
2009-12-17 Jerker Back <jerker.back@gmail.com>
...
* libc/include/_ansi.h: Add new _EXFNPTR macro for using with
function pointer arguments.
* libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro.
* libc/iconv/lib/ucsconv.h: Ditto.
* libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers.
* libc/include/sys/reent.h: Ditto.
* libc/include/sys/unistd.h: Ditto.
* libc/search/bsearch.c: Ditto.
* libc/stdio/fseek.c: Ditto.
* libc/stdio64/fseeko64.c: Ditto.
* libc/stdlib/atexit.c: Ditto.
* libc/stdlib/on_exit.c: Ditto.
2009-12-17 19:43:43 +00:00
Jeff Johnston
6fe2eb4c80
2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
* libc/machine/arm/machine/endian.h: Remove (Conflicts with
libc/include/machine/endian.h)
2009-12-17 19:26:38 +00:00
Jeff Johnston
9ad56b2726
2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
...
* libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
2009-12-17 19:24:22 +00:00
Jeff Johnston
f10d348770
2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>
...
* libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock
* libc/include/sys/stat.h: Use struct timespec st_*tim,
blksize_t st_blksize, blkcnt_t st_blocks.
Add st_*time compatibility macros.
2009-12-17 19:22:23 +00:00
Corinna Vinschen
314c2d2fed
* syscalls.cc (try_to_bin): Handle remote shares as well. Just rename
...
files in this case, instead of moving them to the recycler. Create
even more unique filename. Add comment to explain filename.
(unlink_nt): Remove code returning with EBUSY on remote shares.
Set bin_stat to move_to_bin except on NFS. Add comment to explain.
2009-12-17 18:33:05 +00:00
Jeff Johnston
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
Eric Blake
214f44da10
* signal.cc (nanosleep): Support 'infinite' sleep times.
...
(sleep): Avoid uninitialized memory.
2009-12-17 14:04:04 +00:00
Alan Modra
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
Jeff Johnston
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
Jeff Johnston
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
Jeff Johnston
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
Jeff Johnston
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
Jeff Johnston
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
Corinna Vinschen
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
Corinna Vinschen
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
Corinna Vinschen
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
Jeff Johnston
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
Corinna Vinschen
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
Corinna Vinschen
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
Doug Kwan
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
Jeff Johnston
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
Corinna Vinschen
a3bb10f356
* faq-setup.xml (faq.setup.mirror): Fix URL to wget.
2009-12-14 17:15:51 +00:00
Corinna Vinschen
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
Jeff Johnston
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
Jeff Johnston
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
Jeff Johnston
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
Christopher Faylor
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
Eric Blake
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
Kaveh Ghazi
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
Corinna Vinschen
6d67afbe9c
* include/cygwin/version.h: Bump DLL minor version number to 1.
2009-12-06 12:24:34 +00:00
David Daney
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
Jeff Johnston
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
Corinna Vinschen
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
Nick Clifton
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
Corinna Vinschen
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
Corinna Vinschen
b4a3a3e367
* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
...
directory and siblings as nohandle fhandler.
2009-12-01 16:31:04 +00:00
Joseph Myers
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
Christopher Faylor
c84fd8fe23
* speclib: Use last dll found since that's the real name of the cygwin DLL.
2009-11-30 15:40:23 +00:00
Corinna Vinschen
19ac72547f
* setfacl.c (getaclentry): Allow to delete default entries for the
...
owner and owner group.
2009-11-29 14:28:29 +00:00
Chris Sutcliffe
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