]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 24 Oct 2012 21:01:39 +0000 (21:01 +0000)]
2012-10-24  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Comment out the --enable-newlib-fp-hw option
        as the mathfp library is inaccurate and should not be used.
        * Makefile.am: Add comment regarding the mathfp directory.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * libm/mathfp/README: New file that details why the mathfp
        directory is not used.

11 years ago * configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
Corinna Vinschen [Wed, 24 Oct 2012 13:41:36 +0000 (13:41 +0000)]
* configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
against Mingw64 w32api.
* configure: Regenerate.

11 years ago * configure.in: Add AC_NO_EXECUTABLES.
Corinna Vinschen [Wed, 24 Oct 2012 12:57:29 +0000 (12:57 +0000)]
* configure.in: Add AC_NO_EXECUTABLES.
* configure: Regenerate.

11 years agoAdd missing ChangeLog entry.
Christopher Faylor [Wed, 24 Oct 2012 12:52:35 +0000 (12:52 +0000)]
Add missing ChangeLog entry.

11 years ago * configure.in: Add AC_NO_EXECUTABLES,
Corinna Vinschen [Wed, 24 Oct 2012 12:45:09 +0000 (12:45 +0000)]
* configure.in: Add AC_NO_EXECUTABLES,
* configure: Regenerate.

11 years agoMove disable_target_specific_optimizations to bfd_link_info
H.J. Lu [Wed, 24 Oct 2012 11:09:28 +0000 (11:09 +0000)]
Move disable_target_specific_optimizations to bfd_link_info

include/

* bfdlink.h (bfd_link_info): Add
disable_target_specific_optimizations.

ld/

* ld.h (command_line): Remove
disable_target_specific_optimizations.
(RELAXATION_DISABLED_BY_DEFAULT): Removed.
(RELAXATION_DISABLED_BY_USER): Likewise.
(RELAXATION_ENABLED): Likewise.
(DISABLE_RELAXATION): Likewise.
(ENABLE_RELAXATION): Likewise.

* ldmain.c (main): Updated.

* ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro.
(RELAXATION_DISABLED_BY_USER): Likewise.
(RELAXATION_ENABLED): Likewise.
(DISABLE_RELAXATION): Likewise.
(ENABLE_RELAXATION): Likewise.

11 years ago * configure.in: Add check for MINGW_CXX. Remove libiconv check.
Yaakov Selkowitz [Wed, 24 Oct 2012 10:15:27 +0000 (10:15 +0000)]
* configure.in: Add check for MINGW_CXX.  Remove libiconv check.
* configure: Regenerate.
* Makefile.in: Remove references to mingw and w32api directories.
Use MINGW_CXX instead of mingw script to build MINGW_BINS.
Check for libiconv with $CC --print-file-name.
* cygcheck.cc: Use relative include paths for Cygwin headers.
* path.cc: Ditto.
* strace.cc: Ditto
* mingw: Remove.

11 years ago * Makefile.in (DLL_IMPORTS): Use system import libraries for
Yaakov Selkowitz [Wed, 24 Oct 2012 10:12:45 +0000 (10:12 +0000)]
* Makefile.in (DLL_IMPORTS): Use system import libraries for
kernel32 and ntdll instead of from in-tree w32api.
(cygwin0.dll): Remove rule dependency on DLL_IMPORTS, as they
are no longer built in-tree.

11 years ago2012-10-24 Kai Tietz <ktietz70@googlemail.com>
Yaakov Selkowitz [Wed, 24 Oct 2012 10:11:15 +0000 (10:11 +0000)]
2012-10-24  Kai Tietz  <ktietz70@googlemail.com>
    Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
    Corinna Vinschen  <corinna@vinschen.de>

* configure.in [cygwin*]: Always build cygserver, lsaauth,
utils, and doc.  Do not build mingw or w32api.
[mingw*]: Build w32api if present.
* configure: Regenerate.
* Makefile.common: Remove references to mingw and w32api
directories.
(MINGW_LDFLAGS): Redefine as -static to force static linking
with libgcc and libstdc++.
* Makefile.in: Remove references to mingw and w32api directories
from Cygwin targets.

11 years ago * configure.in: Add AC_NO_EXECUTABLES.
Corinna Vinschen [Wed, 24 Oct 2012 09:43:46 +0000 (09:43 +0000)]
* configure.in: Add AC_NO_EXECUTABLES.
* configure: Regenerate.

11 years ago2012-10-24 Kai Tietz <ktietz70@googlemail.com>
Yaakov Selkowitz [Wed, 24 Oct 2012 09:35:38 +0000 (09:35 +0000)]
2012-10-24  Kai Tietz  <ktietz70@googlemail.com>
    Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

* configure.in: Check for MINGW32_CC and MINGW64_CC.
* configure: Regenerate.
* Makefile.in: Use MINGW32_CC and MINGW64_CC to build 32-bit and
64-bit DLLs.  Remove references to mingw and w32api directories.
* cyglsa64.dll: Remove from version control.
* make-64bit-version-with-mingw-w64.sh: Remove.

11 years ago PR bootstrap/54820
Eric Botcazou [Tue, 23 Oct 2012 23:02:33 +0000 (23:02 +0000)]
PR bootstrap/54820
* configure.ac (have_static_libs): Force 'no' for GCC version < 4.5.
* configure: Regenerate.

11 years agobinutils
Tom Tromey [Tue, 23 Oct 2012 17:46:44 +0000 (17:46 +0000)]
binutils
* readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE.
(print_core_note): New function.
(process_note): Call it.
include/common/elf
* common.h (NT_SIGINFO, NT_FILE): New defines.

11 years ago * thread.h (List_insert): Cast first parameter in
Corinna Vinschen [Tue, 23 Oct 2012 10:17:29 +0000 (10:17 +0000)]
* thread.h (List_insert): Cast first parameter in
InterlockedCompareExchangePointer call to avoid compiler warnings.
(List_remove): Ditto.

11 years ago bfd/
Nathan Sidwell [Tue, 23 Oct 2012 09:33:54 +0000 (09:33 +0000)]
bfd/
* bfd-in.h (bfd_elf_stack_segment_size): Declare.
* bfd-in2.h: Rebuilt.
* elfxx-target.h (elf_backend_stack_align): New.
(elfNN_bed): Add it.
* elf-bfd.h (struct elf_backend_data): Add stack_align field.
* elf.c (bfd_elf_map_sections_to_segments): Pay attention to
stack_align and stacksize for PT_GNU_STACK segment.
(assign_file_positions_for_non_load_sections): Set p_memsz for
PT_GNU_STACK segment.
(copy_elf_program_header): Copy PT_GNU_STACK size.
* elflink.c (bfd_elf_stack_segment_size): New function, taken from
uclinux backends.
(bfd_elf_size_dynamic_sections): Determine
PT_GNU_STACK requirements after calling backend.  Pay attention to
stacksize.
* elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_bfinfdpic_modify_program_headers): Delete.
(elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-frv.c (frvfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_frvfdpic_modify_program_headers): Delete.
(elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-lm32.c (lm32_elf_always_size_sections): Leave
PT_GNU_STACK creation to underlying elf support.  Check
__stacksize here for backwards compatibility, and set it if
needed.
(lm32_elf_modify_segment_map): Delete.
(lm32_elf_modify_program_headers): Delete.
(elf_backend_stack_align): Override.
(elf_backend_modify_segment_map): Don't override.
(elf_backend_modify_program_headers): Don't override.
* elf32-sh.c (sh_elf_always_size_sections): Call
bfd_elf_stack_segment_size.
(sh_elf_modify_program_headers): Delete.
(sh_elf_copy_private_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-tic6x.c (elf32_tic6x_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_tic6x_modify_program_headers): Delete.
(elf32_tic6x_copy_private_data): Delete.
(elf_backend_stack_align): Override.
(bfd_elf32_bfd_copy_private_bfd_data): Don't override.
(elf_backend_modify_program_headers): Don't override.

include/
* bfdlink.h (struct bfd_link_info): Add stacksize option.

ld/
* ld.texinfo (stack-size): New option.
* emultempl/elf32.em: Add stack-size option.

ld/testsuite/
* ld-elf/binutils.exp: Add -z stack-size=0.
* ld-elf/elf.exp: Add stack-exec and stack-size tests.
* ld-elf/orphan-region.d: Add stack-size option. Remove xfail.
* ld-elf/stack-exec.rd: New.
* ld-elf/stack-size.rd: New.
* ld-elf/stack.s: New.
* ld-scripts/empty-aligned.d: Add stack-size option.
* ld-sh/fdpic-stack-set.d: New.
* ld-tic6x/shlib-1.rd: Remove __stacksize symbol.
* ld-tic6x/shlib-1b.rd: Likewise.
* ld-tic6x/shlib-1r.rd: Likewise.
* ld-tic6x/shlib-1rb.rd: Likewise.
* ld-tic6x/shlib-app-1.rd: Likewise.
* ld-tic6x/shlib-app-1b.rd: Likewise.
* ld-tic6x/shlib-app-1r.rd: Likewise.
* ld-tic6x/shlib-app-1rb.rd: Likewise.
* ld-tic6x/shlib-noindex.rd: Likewise.
* ld-tic6x/static-app-1.rd: Likewise.
* ld-tic6x/static-app-1b.rd: Likewise.
* ld-tic6x/static-app-1r.rd: Likewise.
* ld-tic6x/static-app-1rb.rd: Likewise.

11 years ago * winbase.h: Remove.
Corinna Vinschen [Mon, 22 Oct 2012 17:26:45 +0000 (17:26 +0000)]
* winbase.h: Remove.

11 years ago * libc/include/string.h (strdup, strndup): Declare if not
Corinna Vinschen [Mon, 22 Oct 2012 15:16:48 +0000 (15:16 +0000)]
* libc/include/string.h (strdup, strndup): Declare if not
__STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.

11 years ago * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
Corinna Vinschen [Mon, 22 Oct 2012 15:15:21 +0000 (15:15 +0000)]
* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
if not __STRICT_ANSI__ or stdc version C99 or greater.

11 years agoinclude/
Alan Modra [Mon, 22 Oct 2012 13:33:48 +0000 (13:33 +0000)]
include/
PR ld/14426
* bfdlink.h (bfd_link_info): Add ignore_hash.
ld/
PR ld/14426
* ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL.
* lexsup.c (parse_args): Likewise.
(ld_options): Describe --ignore-unresolved-symbol.
* ldmain.h (add_ignoresym): Declare.
* ldmain.c (add_ignoresym): New function, extracted from..
(undefined_symbol): ..here.  Return if the symbol is in ignore_hash.
(constructor_callback): Don't use global link_info here.
(reloc_overflow): Likewise.

11 years ago * child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Corinna Vinschen [Mon, 22 Oct 2012 12:45:46 +0000 (12:45 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.

11 years ago PR bootstrap/54820
Eric Botcazou [Mon, 22 Oct 2012 07:32:04 +0000 (07:32 +0000)]
PR bootstrap/54820
* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable.
(all-[+prefix+][+module+]): Pass stage1_args to sub-makes.
(all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
* configure.ac (have_static_libs): New variable and associated check.
(stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++
-static-libgcc if stage1_libs is empty and have_static_libs is yes.
* configure: Regenerate.

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.
Corinna Vinschen [Sun, 21 Oct 2012 10:20:53 +0000 (10:20 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.

11 years ago * libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
Hans-Peter Nilsson [Sun, 21 Oct 2012 03:41:42 +0000 (03:41 +0000)]
* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
of "end".  Mark allocated memory by applying PRELD.

11 years ago * new-features.sgml (ov-new1.7.17): Add section.
Corinna Vinschen [Sat, 20 Oct 2012 15:31:50 +0000 (15:31 +0000)]
* new-features.sgml (ov-new1.7.17): Add section.

11 years ago * Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
Corinna Vinschen [Fri, 19 Oct 2012 11:58:48 +0000 (11:58 +0000)]
* Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
allow cygcheck running on pre-Vista despite of the new w32api not
matching the locally used w32api.

11 years ago * libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
Corinna Vinschen [Tue, 16 Oct 2012 19:11:48 +0000 (19:11 +0000)]
* libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
SUSv4 requirements.
(__getopt_long_r): Fix formatting.

11 years ago * libc/stdio/vfprintf.c (__sbprintf): Fix comment.
Corinna Vinschen [Tue, 16 Oct 2012 19:03:01 +0000 (19:03 +0000)]
* libc/stdio/vfprintf.c (__sbprintf): Fix comment.

11 years ago * libc/include/assert.h (static_assert): Define.
Corinna Vinschen [Tue, 16 Oct 2012 19:00:30 +0000 (19:00 +0000)]
* libc/include/assert.h (static_assert): Define.

11 years ago * libc/include/sys/features.h (__GNUC_PREREQ): Define. Use
Corinna Vinschen [Tue, 16 Oct 2012 18:45:24 +0000 (18:45 +0000)]
* libc/include/sys/features.h (__GNUC_PREREQ): Define.  Use
throughout in place of explicit GNUC version checks.
* libc/include/_ansi.h (_NOINLINE): Define.
(_NOINLINE_STATIC): Define.
* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 16 Oct 2012 12:02:42 +0000 (12:02 +0000)]
*** empty log message ***

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 16 Oct 2012 11:59:59 +0000 (11:59 +0000)]
*** empty log message ***

11 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.
Corinna Vinschen [Tue, 16 Oct 2012 09:52:26 +0000 (09:52 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.
Use offset directly.  Add shortcut for lseek(fd, 0, SEEK_CUR) case.
(fhandler_dev_floppy::ioctl): Drop wrong RDSETBLK case.
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Revamp RDSETBLK code.

11 years ago* fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loop
Christopher Faylor [Mon, 15 Oct 2012 17:12:17 +0000 (17:12 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loop
with write mutex held.  Delete redundant mutex release.  Clear tty error once
we've grabbed it.

11 years ago * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitous
Corinna Vinschen [Mon, 15 Oct 2012 16:11:38 +0000 (16:11 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitous
initializing from previous patch.

11 years ago * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.
Corinna Vinschen [Mon, 15 Oct 2012 14:58:39 +0000 (14:58 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.

11 years ago* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
Christopher Faylor [Mon, 15 Oct 2012 14:36:48 +0000 (14:36 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.

11 years ago * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
John David Anglin [Mon, 15 Oct 2012 00:22:35 +0000 (00:22 +0000)]
* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
opcodes.  Likewise, use "cM" instead of "cm" in fstqs opcodes.

11 years ago * fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
Corinna Vinschen [Sat, 13 Oct 2012 12:34:18 +0000 (12:34 +0000)]
* fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
devbufalign.
(class fhandler_dev_floppy): Remove member bytes_per_sector;
* fhandler_floppy.cc (bytes_per_sector): Define as devbufalign.
(fhandler_dev_floppy::open): Set devbufalign to a multiple of the
sector size and handle devbuf allocation and alignment in !O_DIRECT
case here.  Change comment accordingly.
Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well.
(fhandler_dev_floppy::raw_write): Fix comment.  Rewrite and fix
writing behaviour when application uses read and lseek.
(fhandler_dev_floppy::lseek): Use rounddown macro.  Call
SetFilePointerEx rather than the old SetFilePointer.
(fhandler_dev_floppy::ioctl): Reformat switch.  Call
IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE
in BLKRRPART case.  Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and
BLKALIGNOFF.
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize
all devbuf-related members.
(fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than
devbuf.
(fhandler_dev_raw::open): Drop allocating devbuf.
(fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support
new sector-aligned devbuf handling.
(fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign
to 1.
* include/cygwin/fs.h (BLKIOMIN): Define.
(BLKIOOPT): Define.
(BLKALIGNOFF): Define.
(BLKPBSZGET): Define.

11 years ago * fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as on
Corinna Vinschen [Fri, 12 Oct 2012 13:59:45 +0000 (13:59 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as on
Linux.

11 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulate
Christopher Faylor [Fri, 12 Oct 2012 01:19:04 +0000 (01:19 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulate
output_mutex on CTRL-S/CTRL-Q to avoid a deadlock.
* fhandler_tty.cc (fhandler_pty_slave::write): Loop when output_stopped is
detected before acquiring output_mutex.  Acquire output_mutex in the loop for
each write.
* tty.h: Remove some obsolete defines.
(tty_min::output_stopped): Make 'bool'.

11 years agoconfig.{guess,sub}: update from upstream config-patches repo
Michael Frysinger [Thu, 11 Oct 2012 16:04:17 +0000 (16:04 +0000)]
config.{guess,sub}: update from upstream config-patches repo

From: David Holsgrove <david.holsgrove@xilinx.com>

Adds microblaze little endian support.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years ago * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoid
Corinna Vinschen [Wed, 10 Oct 2012 08:36:33 +0000 (08:36 +0000)]
* include/cygwin/in.h (struct in_addr): Guard with s_addr to avoid
potential collision with Win32 headers.

11 years agomerge from gcc
DJ Delorie [Wed, 10 Oct 2012 03:11:22 +0000 (03:11 +0000)]
merge from gcc

11 years ago* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.
Christopher Faylor [Tue, 9 Oct 2012 22:07:10 +0000 (22:07 +0000)]
* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.

11 years ago* pinfo.cc: Remove unneeded assert.h.
Christopher Faylor [Tue, 9 Oct 2012 15:12:07 +0000 (15:12 +0000)]
* pinfo.cc: Remove unneeded assert.h.

11 years ago * cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switch
Corinna Vinschen [Tue, 9 Oct 2012 12:47:40 +0000 (12:47 +0000)]
* cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switch
statement.  Drop "not yet supported" and "Server" from Windows 2012
output string.

11 years ago * libc/posix/wordfree.c (wordfree): The wrong words are freed
Corinna Vinschen [Tue, 9 Oct 2012 12:05:51 +0000 (12:05 +0000)]
* libc/posix/wordfree.c (wordfree): The wrong words are freed
when WRDE_DOOFFS is in use. Restructure the code so that the memory
needed to be freed is instead kept in an internal linked list...
* libc/posix/wordexp2.h: ...as defined here...
* libc/posix/wordexp.c (wordexp): ...and build this internal
linked list here, avoiding wasteful strdup calls in the process.

11 years ago * libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
Corinna Vinschen [Tue, 9 Oct 2012 09:26:15 +0000 (09:26 +0000)]
* libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
allocation failure. Cleanup leftover resources when failing.

11 years ago * libc/posix/wordexp.c (wordexp): Handle expanded words longer
Corinna Vinschen [Tue, 9 Oct 2012 09:20:46 +0000 (09:20 +0000)]
* libc/posix/wordexp.c (wordexp): Handle expanded words longer
than 500 bytes.

11 years ago * libc/posix/wordexp.c (wordexp): Don't leak file streams.
Corinna Vinschen [Tue, 9 Oct 2012 09:09:20 +0000 (09:09 +0000)]
* libc/posix/wordexp.c (wordexp): Don't leak file streams.

11 years ago2012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Thu, 4 Oct 2012 08:47:32 +0000 (08:47 +0000)]
2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
* doc/as.texinfo: Document new option zEC12.
* doc/c-s390.texi: Likewise.

2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* gas/s390/s390.exp: Run zEC12 tests.
* gas/s390/zarch-zEC12.d: New file.
* gas/s390/zarch-zEC12.s: New file.

2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390-mkopc.c: Support new option zEC12.
* s390-opc.c: Add new instruction formats.
* s390-opc.txt: Add new instructions for zEC12.

2012-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* s390.h (s390_opcode_cpu_val): Add S390_OPCODE_ZEC12.

11 years ago* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
DJ Delorie [Wed, 3 Oct 2012 20:24:50 +0000 (20:24 +0000)]
* libc/machine/rl78/setjmp.S: Convert from CPP macros to GAS
macros, to avoid dependence on the line separation character.

* rl78/crt0.S (_interrupt_vector_table): Convert from CPP macros
to GAS macros, to avoid dependence on the line separation
character.

11 years ago* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
DJ Delorie [Tue, 2 Oct 2012 22:55:10 +0000 (22:55 +0000)]
* libc/sys/sysnecv850/sbrk.c (_sbrk): Change heap_start to be an
array of undefined size, to avoid problems when compiled with
-msda=4.

* v850/sbrk.c (_sbrk): Change heap_start to be an array of
undefined size, to avoid problems when compiled with -msda=4.

11 years ago2012-10-02 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Tue, 2 Oct 2012 20:14:15 +0000 (20:14 +0000)]
2012-10-02  Steve Ellcey  <sellcey@mips.com>

* mips/configure.in: Add new linker scripts to script list.
* mips/configure: Regenerate.
* mips/mti32.ld: New.
* mips/mti64.ld: New.
* mips/mti64_n32.ld: New.
* mips/mti64_64.ld: New.
* mips/sde32.ld: New.
* mips/sde64.ld: New.

11 years ago2012-10-01 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 1 Oct 2012 21:57:54 +0000 (21:57 +0000)]
2012-10-01  Jeff Johnston  <jjohnstn@redhat.com>

        * README: replace sources.redhat.com with sourceware.org.
        * HOWTO: Ditto.

11 years agoSync toplevel files with GCC tree
H.J. Lu [Sat, 29 Sep 2012 15:35:53 +0000 (15:35 +0000)]
Sync toplevel files with GCC tree

2012-09-28  Ian Lance Taylor  <iant@google.com>

* Makefile.def: Make all-target-libgo depend on
all-target-libbacktrace.
* Makefile.in: Rebuild.

2012-09-26  Ian Lance Taylor  <iant@google.com>

* Makefile.def: Make all-gcc depend on all-libbacktrace.
* Makefile.in: Rebuild.

2012-09-06  Diego Novillo  <dnovillo@google.com>

* configure.ac: Bump minimum GMP version to 4.2.3.
* configure: Re-generate.

2012-09-05  Georg-Johann Lay  <avr@gjlay.de>

PR target/54461
* configure.ac (noconfigdirs,target=avr-*-*): Add target-newlib,
target-libgloss if not configured --with-avrlibc=no.
* configure: Regenerate.

2012-09-04  Jason Merrill  <jason@redhat.com>

* configure.ac: Fix --enable-languages=all.

2012-09-03  Richard Guenther  <rguenther@suse.de>

PR bootstrap/54138
* configure.ac: Re-organize ISL / CLOOG checks to allow
disabling with either --without-isl or --without-cloog.
* configure: Regenerated.

2012-09-03  Georg-Johann Lay  <avr@gjlay.de>

* configure.ac (noconfigdirs,target=avr): Add target-libquadmath.
* configure: Regenerate.

11 years agoSync config with GCC
H.J. Lu [Sat, 29 Sep 2012 15:22:16 +0000 (15:22 +0000)]
Sync config with GCC

2012-09-03  Richard Guenther  <rguenther@suse.de>

PR bootstrap/54138
* config/cloog.m4: Adjust for toplevel reorg.
* config/isl.m4: Adjust.

11 years agoDon't abort() when disassembling bad moxie instructions.
Anthony Green [Fri, 28 Sep 2012 03:53:39 +0000 (03:53 +0000)]
Don't abort() when disassembling bad moxie instructions.

11 years ago2012-09-26 Ian Bolton <ian.bolton@arm.com>
Jeff Johnston [Wed, 26 Sep 2012 20:11:54 +0000 (20:11 +0000)]
2012-09-26  Ian Bolton  <ian.bolton@arm.com>
        Jim MacArthur  <jim.macarthur@arm.com>
        Marcus Shawcroft  <marcus.shawcroft@arm.com>
        Nigel Stephens  <nigel.stephens@arm.com>
        Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
        Richard Earnshaw  <rearnsha@arm.com>
        Sofiane Naci  <sofiane.naci@arm.com>
        Tejas Belagod  <tejas.belagod@arm.com>
        Yufeng Zhang  <yufeng.zhang@arm.com>

        * aarch64/Makefile.in: New file.
        * aarch64/_exit.c: New file.
        * aarch64/_kill.c: New file.
        * aarch64/aclocal.m4: Generated.
        * aarch64/configure: Generated.
        * aarch64/configure.in: New file.
        * aarch64/cpu-init/Makefile.in: New file.
        * aarch64/cpu-init/rdimon-aem-el3.S: New file.
        * aarch64/crt0.S: New file.
        * aarch64/elf-rdimon.specs: New file.
        * aarch64/libcfunc.c: New file.
        * aarch64/svc.h: New file.
        * aarch64/syscalls.c: New file.
        * configure.in: Add AArch64.
        * configure: Re-generated.

11 years ago2012-09-26 Ian Bolton <ian.bolton@arm.com>
Jeff Johnston [Wed, 26 Sep 2012 20:06:50 +0000 (20:06 +0000)]
2012-09-26  Ian Bolton  <ian.bolton@arm.com>
        Jim MacArthur  <jim.macarthur@arm.com>
        Marcus Shawcroft  <marcus.shawcroft@arm.com>
        Nigel Stephens  <nigel.stephens@arm.com>
        Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
        Richard Earnshaw  <rearnsha@arm.com>
        Sofiane Naci  <sofiane.naci@arm.com>
        Tejas Belagod  <tejas.belagod@arm.com>
        Yufeng Zhang  <yufeng.zhang@arm.com>

        * configure.host: Add AArch64.
        * libc/include/machine/ieeefp.h: Add AArch64.
        * libc/include/machine/setjmp.h: Add AArch64.
        * libc/include/machine/time.h: Add AArch64.
        * libc/include/sys/config.h: Add AArch64.
        * libc/machine/aarch64/Makefile.am: New file.
        * libc/machine/aarch64/Makefile.in: Generated.
        * libc/machine/aarch64/aclocal.m4: Generated.
        * libc/machine/aarch64/configure: Generated.
        * libc/machine/aarch64/configure.in: New file.
        * libc/machine/aarch64/setjmp.S: New file.
        * libc/machine/configure.in: Add AArch64.
        * libc/machine/configure: Re-generated.
        * libm/machine/aarch64/Makefile.am: New file.
        * libm/machine/aarch64/Makefile.in: Generated.
        * libm/machine/aarch64/aclocal.m4: Generated.
        * libm/machine/aarch64/configure: Generated.
        * libm/machine/aarch64/configure.in: New file.
        * libm/machine/aarch64/s_ceil.c: New file.
        * libm/machine/aarch64/s_floor.c: New file.
        * libm/machine/aarch64/s_fma.c: New file.
        * libm/machine/aarch64/s_fmax.c: New file.
        * libm/machine/aarch64/s_fmin.c: New file.
        * libm/machine/aarch64/s_llrint.c: New file.
        * libm/machine/aarch64/s_llround.c: New file.
        * libm/machine/aarch64/s_lrint.c: New file.
        * libm/machine/aarch64/s_lround.c: New file.
        * libm/machine/aarch64/s_nearbyint.c: New file.
        * libm/machine/aarch64/s_rint.c: New file.
        * libm/machine/aarch64/s_round.c: New file.
        * libm/machine/aarch64/s_trunc.c: New file.
        * libm/machine/aarch64/sf_ceil.c: New file.
        * libm/machine/aarch64/sf_floor.c: New file.
        * libm/machine/aarch64/sf_fma.c: New file.
        * libm/machine/aarch64/sf_fmax.c: New file.
        * libm/machine/aarch64/sf_fmin.c: New file.
        * libm/machine/aarch64/sf_llrint.c: New file.
        * libm/machine/aarch64/sf_llround.c: New file.
        * libm/machine/aarch64/sf_lrint.c: New file.
        * libm/machine/aarch64/sf_lround.c: New file.
        * libm/machine/aarch64/sf_nearbyint.c: New file.
        * libm/machine/aarch64/sf_rint.c: New file.
        * libm/machine/aarch64/sf_round.c: New file.
        * libm/machine/aarch64/sf_trunc.c: New file.
        * libm/machine/configure.in: Add AArch64.
        * libm/machine/configure: Re-generated.

11 years ago2012-09-26 Michael Hope <michael.hope@linaro.org>
Jeff Johnston [Wed, 26 Sep 2012 19:11:41 +0000 (19:11 +0000)]
2012-09-26  Michael Hope  <michael.hope@linaro.org>

        * doc/makedoc.c (dup_): Rename to avoid colliding with dup(2).

11 years ago2012-09-21 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Fri, 21 Sep 2012 15:16:59 +0000 (15:16 +0000)]
2012-09-21  Steve Ellcey  <sellcey@mips.com>

* configure.ac: Add mips*-mti-elf* target.
* configure: Regenerate.

11 years ago * configure.ac (host_libs): Add libbacktrace.
Ian Lance Taylor [Thu, 20 Sep 2012 00:04:27 +0000 (00:04 +0000)]
* configure.ac (host_libs): Add libbacktrace.
(target_libraries): Add libbacktrace.
* Makefile.def (host_modules): Add libbacktrace.
(target_modules): Likewise.
* configure, Makefile.in: Rebuild.

11 years ago2012-09-19 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 19 Sep 2012 21:22:33 +0000 (21:22 +0000)]
2012-09-19  Steve Ellcey  <sellcey@mips.com>

* mt-sde: Change -mcode-xonly to -mcode-readable=pcrel.

11 years agoMoved the Changelog entries for breakpoint.c and remote.c out of Changelog
Mike Wrighton [Mon, 17 Sep 2012 20:39:12 +0000 (20:39 +0000)]
Moved the Changelog entries for breakpoint.c and remote.c out of Changelog
and into gdb/Changelog.

11 years ago* pinfo.cc (pinfo::init): Detect potential race where short block has been
Christopher Faylor [Mon, 17 Sep 2012 20:07:49 +0000 (20:07 +0000)]
* pinfo.cc (pinfo::init): Detect potential race where short block has been
retrieved but PID_EXECED flag is not set.

11 years agoAdd support for tilegx in gold.
Walter Lee [Sat, 15 Sep 2012 17:11:26 +0000 (17:11 +0000)]
Add support for tilegx in gold.
* configure.ac (ENABLE_GOLD): support tilegx*
* configure: rebuild
elfcpp:
* tilegx.h: New file.
* elfcpp.h: add EM_TILEGX.
gold:
* tilegx.cc: New file.
* Makefile.am (TARGETSOURCES): Add tilegx.cc
(ALL_TARGETOBJS): Add tilegx.$(OBJEXT)
* configure.tgt: Add entries for tilegx*.
* configure.ac: Likewise.
* Makefile.in: Rebuild.
* configure: Likewise.
* testsuite/icf_safe_test.sh (arch_specific_safe_fold): Handle
tilegx.

11 years ago PR target/38607
David Edelsohn [Fri, 14 Sep 2012 23:55:22 +0000 (23:55 +0000)]
    PR target/38607
        Merge upstream change.
        * libtool.m4 (_LT_COMPILER_PIC): Add -fPIC to GCC and GXX for AIX.

        * configure.ac: Add target-libquadmath to noconfigdirs for AIX.
        Add libgomp*.o to compare_exclusions for AIX.
        * configure: Regenerate.

11 years ago* cygthread.cc (cygthread::stub): Remove old, unnecessary, FIXMEd code.
Christopher Faylor [Fri, 14 Sep 2012 03:32:52 +0000 (03:32 +0000)]
* cygthread.cc (cygthread::stub): Remove old, unnecessary, FIXMEd code.
* spawn.cc (child_info_spawn::worker): Avoid calling close_all_files() twice.

11 years agobi-endian support for moxie.
Anthony Green [Thu, 13 Sep 2012 23:57:33 +0000 (23:57 +0000)]
bi-endian support for moxie.

11 years ago* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
Mike Wrighton [Wed, 12 Sep 2012 20:01:10 +0000 (20:01 +0000)]
* gdb/remote.c (remote_insert_hw_breakpoint): Throw exception if
there is an error inserting hardware breakpoints and use the
error message from the target.

* gdb/breakpoint.c (insert_bp_location, insert_breakpoint_locations):
Catch this exception and print the error message contained within. Do not
print the default hardware error breakpoint message in this case.

11 years ago2012-09-11 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
Richard Earnshaw [Wed, 12 Sep 2012 16:25:49 +0000 (16:25 +0000)]
2012-09-11  Chris Schlumberger-Socha  <chris.schlumberger-socha@arm.com>

bfd/

* bfd-in2.h: Regenerated.
* elf64-aarch64.c
(elf64_aarch64_howto_table): Add R_AARCH64_GOT_LD_PREL19 reloc to HOWTO.
(elf64_aarch64_reloc_map): Add reloc entry.
(aarch64_resolve_relocation): Likewise.
(bfd_elf_aarch64_put_addend): Likewise.
(aarch64_reloc_got_type): Likewise.
(elf64_aarch64_final_link_relocate): Likewise.
(lf64_aarch64_check_relocs): Likewise.
(elf64_aarch64_check_relocs): New case for R_AARCH64_ADR_PREL_LO21
reloc.
* libbfd.h: Regenerated.
* reloc.c (R_AARCH64_GOT_LD_PREL19): New reloc.

gas/

* config/tc-aarch64.c
(reloc_table): Add reloc to table entry.
(parse_address_main): Add support for #:<reloc_op>:<symbol>.
(parse_operands): Check for unused reloc.
(md_apply_fix): New case for reloc.
(aarch64_force_relocation): Likewise.

gas/testsuite

* gas/aarch64/reloc-insn.d
(BFD_RELOC_AARCH64_GOT_LD_PREL19): Add expected asm for new reloc test.
* gas/aarch64/reloc-insn.s
(BFD_RELOC_AARCH64_GOT_LD_PREL19): Add test for reloc.

include/

* elf/aarch64.h (R_AARCH64_GOT_LD_PREL19): New reloc.

ld/testsuite

* ld-aarch64/aarch64-elf.exp: New reloc tests.
* ld-aarch64/emit-relocs-309-low-bad.d: New file. Expected asm for test
failure (lower bound overflow).
* ld-aarch64/emit-relocs-309-low.d: New file. Expected asm for test
success (lower bound).
* ld-aarch64/emit-relocs-309-up-bad.d: New file. Expected asm for test
failure (upper bound overflow).
* ld-aarch64/emit-relocs-309-up.d: New file. Expected asm for test
success (upper bound).
* ld-aarch64/emit-relocs-309.s: New file. Asm for new reloc tests.

11 years ago2012-09-06 Cary Coutant <ccoutant@google.com>
Cary Coutant [Thu, 6 Sep 2012 23:08:07 +0000 (23:08 +0000)]
2012-09-06  Cary Coutant  <ccoutant@google.com>

include/
* dwarf2.def: Edit comment.

11 years agoAdd Intel Itanium Series 9500 support
H.J. Lu [Tue, 4 Sep 2012 13:52:04 +0000 (13:52 +0000)]
Add Intel Itanium Series 9500 support

bfd/

2012-09-04  Sergey A. Guriev <sergey.a.guriev@intel.com>

* cpu-ia64-opc.c (ins_cnt6a): New function.
(ext_cnt6a): Ditto.
(ins_strd5b): Ditto.
(ext_strd5b): Ditto.
(elf64_ia64_operands): Add new operand types.

gas/

2012-09-04  Sergey A. Guriev  <sergey.a.guriev@intel.com>

* config/tc-ia64.c (reg_symbol): Add a new register.
(indirect_reg): Ditto.
(pseudo_func): Add new symbolic constants.
(operand_match): Add new operand types recognition.
(operand_insn): Add new register recognition.
(md_begin): Add new register definition.
(specify_resource): Add new register recognition.

gas/testsuite/

2012-09-04  Sergey A. Guriev  <sergey.a.guriev@intel.com>

* gas/testsuite/gas/ia64/psn.d: New file.
* gas/testsuite/gas/ia64/psn.s: New file.
* gas/testsuite/gas/ia64/ia64.exp: Add new testcase.
* gas/testsuite/gas/ia64/opc-i.d: Fixed failing tests.
* gas/testsuite/gas/ia64/opc-m.d: Ditto.

include/opcode/

2012-09-04  Sergey A. Guriev <sergey.a.guriev@intel.com>

* ia64.h (ia64_opnd): Add new operand types.

opcodes/

2012-09-04  Sergey A. Guriev <sergey.a.guriev@intel.com>

* ia64-asmtab.h (completer_index): Extend bitfield to full uint.
* ia64-gen.c: Promote completer index type to longlong.
(irf_operand): Add new register recognition.
(in_iclass_mov_x): Add an entry for the new mov_* instruction type.
(lookup_specifier): Add new resource recognition.
(insert_bit_table_ent): Relax abort condition according to the
changed completer index type.
(print_dis_table): Fix printf format for completer index.
* ia64-ic.tbl: Add a new instruction class.
* ia64-opc-i.c (ia64_opcodes_i): Define new I-instructions.
* ia64-opc-m.c (ia64_opcodes_m): Define new M-instructions.
* ia64-opc.h: Define short names for new operand types.
* ia64-raw.tbl: Add new RAW resource for DAHR register.
* ia64-waw.tbl: Add new WAW resource for DAHR register.
* ia64-asmtab.c: Regenerate.

11 years ago* faq-what.xml: Fix typos, clarify responsibility slightly.
Christopher Faylor [Tue, 4 Sep 2012 00:19:00 +0000 (00:19 +0000)]
* faq-what.xml: Fix typos, clarify responsibility slightly.

11 years ago * pseudo-reloc.cc (auto_protect_for): New function.
Corinna Vinschen [Sun, 2 Sep 2012 10:21:34 +0000 (10:21 +0000)]
* pseudo-reloc.cc (auto_protect_for): New function.
(__write_memory): Call auto_protect_for to handle page protection.
(do_pseudo_reloc): Call auto_protect_for to restore old page protection.

11 years ago * cygcheck.cc (dump_sysinfo): Drop "not yet supported" text from
Corinna Vinschen [Sun, 2 Sep 2012 10:06:12 +0000 (10:06 +0000)]
* cygcheck.cc (dump_sysinfo): Drop "not yet supported" text from
Windows 8.  Update products array.

11 years ago* rx/rx.ld: Add W_* sections to .rodata.
DJ Delorie [Thu, 30 Aug 2012 21:08:14 +0000 (21:08 +0000)]
* rx/rx.ld: Add W_* sections to .rodata.
* rx/rx-sim.ld: Likewise.

11 years agolibgloss: cr16: add custom syscall list
Michael Frysinger [Thu, 30 Aug 2012 07:04:42 +0000 (07:04 +0000)]
libgloss: cr16: add custom syscall list

11 years agoAdd support for constructing pc-relative addresses to the plt, by
Walter Lee [Tue, 28 Aug 2012 02:43:22 +0000 (02:43 +0000)]
Add support for constructing pc-relative addresses to the plt, by
adding the necessary assembly operators and relocations.

bfd:
* reloc.c (Add BFD_RELOC_TILEGX_IMM16_X0_HW0_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW0_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW1_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW1_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW2_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW2_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW3_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW3_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL,
BFD_RELOC_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): new relocations.
* elfxx-tilegx.c (tilegx_elf_howto_table): Handle new relocations.
(tilegx_reloc_map): Ditto.
(reloc_to_create_func): Ditto.
(tilegx_elf_check_relocs): Ditto.
(tilegx_elf_gc_sweep_hook): Ditto.
(tilegx_elf_relocate_section): Ditto.
* libbfd.h: Regenerate.
* bfd-in2.h: Regenerate.

gas:
* tc-tilegx.c (O_hw0_plt): Define operator.
(O_hw1_plt): Ditto.
(O_hw1_last_plt): Ditto.
(O_hw2_last_plt): Ditto.
(md_begin): Handle new operators.
(emit_tilegx_instruction): Ditto.
(md_apply_fix): Ditto.
* doc/c-tilegx.texi: Document new operators.

include/elf:
* tilegx.h (R_TILEGX_IMM16_X0_HW0_PLT_PCREL): New relocation.
(R_TILEGX_IMM16_X1_HW0_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW1_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X1_HW1_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW2_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X1_HW2_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW3_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X1_HW3_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW0_LAST_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X1_HW0_LAST_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW1_LAST_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X1_HW1_LAST_PLT_PCREL): Ditto.
(R_TILEGX_IMM16_X0_HW2_LAST_PLT_PCREL ): Ditto.
(R_TILEGX_IMM16_X1_HW2_LAST_PLT_PCREL): Ditto.

11 years ago* pinfo.cc (pinfo::init): Remove assertion.
Christopher Faylor [Sun, 26 Aug 2012 17:20:30 +0000 (17:20 +0000)]
* pinfo.cc (pinfo::init): Remove assertion.

11 years agoDon't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes
H.J. Lu [Sun, 26 Aug 2012 14:41:28 +0000 (14:41 +0000)]
Don't set HOST_LIB_PATH_bfd/HOST_LIB_PATH_opcodes

PR binutils/4970
* Makefile.def (host_modules): Rmove lib_path=.libs from bfd
and opcodes.
* Makefile.in: Regenerated.

11 years agoSync toplevel files with GCC tree
H.J. Lu [Sun, 26 Aug 2012 14:34:40 +0000 (14:34 +0000)]
Sync toplevel files with GCC tree

2012-08-14   Diego Novillo  <dnovillo@google.com>

Merge from cxx-conversion branch.

* Makefile.tpl (STAGE[+id+]_CXXFLAGS): Remove
POSTSTAGE1_CONFIGURE_FLAGS.
* Makefile.in: Regenerate.
* configure.ac (ENABLE_BUILD_WITH_CXX): Remove.  Update all users.
Force C++ when bootstrapping.
* configure: Regenerate.

2012-07-06  Richard Guenther  <rguenther@suse.de>

* Makefile.def (cloog): Pass $(HOST_GMPINC) and $(HOST_ISLINC)
as CPPFLAGS, pass path to built gmp as LDFLAGS, always use
--with-gmp=system.
* Makefile.in: Regenerated.
* configure: Likewise.

2012-07-06  Richard Guenther  <rguenther@suse.de>

* configure.ac (extra_isl_gmp_configure_flags): Initialize and subst.
* Makefile.def (isl): Use extra_isl_gmp_configure_flags and
supply V=1 as extra_make_flags.
* configure: Regenerated.
* Makefile.in: Likewise.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* Makfile.def (isl): Remove not necessary extra_exports and
extra_make_flags.
(cloog): Use $$CPPFLAGS instead of ${CPPFLAGS}.
* Makefile.in: Regenerated.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* Makefile.def (cloog): Add V=1 to extra_make_flags.
* configure.ac: If either the ISL or the CLooG check failed
do not try to build in-tree versions.
* Makefile.in: Regenerated.
* configure: Regenerated.

2012-07-02  Richard Guenther  <rguenther@suse.de>
Michael Matz  <matz@suse.de>
Tobias Grosser <tobias@grosser.es>
Sebastian Pop <sebpop@gmail.com>

* Makefile.def: Add ISL host module, remove PPL host module.
Adjust ClooG host module to use the proper ISL.
* Makefile.tpl: Pass ISL include flags instead of PPL ones.
* configure.ac: Include config/isl.m4.  Add ISL host library,
remove PPL.  Remove PPL configury, add ISL configury, adjust
ClooG configury.
* Makefile.in: Regenerated.
* configure: Likewise.

2012-07-02  Richard Guenther  <rguenther@suse.de>

Merge from graphite branch
2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* config/cloog.m4: Remove support for CLooG-ppl and CLooG-parma,
both cloog.org and legacy versions. The only supported version will
be CLooG with the isl backend.

2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* configure.ac: Require cloog isl 0.17.0

2011-07-21  Tobias Grosser  <tobias@grosser.es>

* configure: Regenerated.
* config/cloog.m4: Do not define CLOOG_ORG

2012-06-29  Steven Bosscher  <steven@gcc.gnu.org>

* configure.ac: Skip C if explicitly selected.
* configure: Regenerate.

2012-06-28  Christophe Lyon <christophe.lyon@st.com>

* configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Make sure
they contain -O2.
* configure: Regenerate.

2012-06-20  Jason Merrill  <jason@redhat.com>

* Makefile.tpl (check-target-libgomp-c++): New.
(check-target-libitm-c++): New.
* Makefile.def (c++): Add them.
* Makefile.in: Regenerate.

2012-05-16  Olivier Hainque  <hainque@adacore.com>

* Makefile.tpl (gcc-no-fixedincludes): Rename into ...
(gcc-install-no-fixedincludes): Now forwarder to local target in gcc/
(install-no-fixedincludes): Adjust accordingly.
* Makefile.in: Regenerate.

2012-05-09  Nick Clifton  <nickc@redhat.com>
    Paul Smith  <psmith@gnu.org>

PR bootstrap/50461
* configure.ac (mpfr-dir): When using in-tree MPFR sources
allow for the fact that from release v3.1.0 of MPFR the source
files were moved into a src sub-directory.
* configure: Regenerate.

2012-05-07  Janne Blomqvist  <jb@gcc.gnu.org>

* configure.ac: Bump minimum MPFR version to 2.4.0.
* configure: Regenerated.

2012-05-01  Richard Henderson  <rth@redhat.com>

* Makefile.def (libatomic): New target_module.
* configure.ac (target_libraries): Add libatomic.
(noconfigdirs): Check if libatomic is supported.
* Makefile.in, configure: Rebuild.

config/

2012-08-26  Art Haas <ahaas@impactweather.com>

* cloog.m4 (CLOOG_INIT_FLAGS): Use = instead of == in test.

2012-07-04  Tristan Gingold  <gingold@adacore.com>

* isl.m4 (ISL_CHECK_VERSION): Set to yes if cross-compiling.
Fix comments.

2012-07-03  Richard Guenther  <rguenther@suse.de>

* cloog.m4: Remove debugging print.

2012-07-03  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* isl.m4 (ISL_CHECK_VERSION): Add -lisl to LIBS, not LDFLAGS.

2012-07-02  Richard Guenther  <rguenther@suse.de>

* isl.m4 (_ISL_CHECK_CT_PROG): Omit main function header/footer.
Fix version test.

2012-07-02  Richard Guenther  <rguenther@suse.de>
Michael Matz  <matz@suse.de>
Tobias Grosser <tobias@grosser.es>
Sebastian Pop <sebpop@gmail.com>

* cloog.m4: Set up to work against ISL only.
* isl.m4: New file.

11 years agoSync libtool.m4 with GCC tree
H.J. Lu [Sun, 26 Aug 2012 14:09:08 +0000 (14:09 +0000)]
Sync libtool.m4 with GCC tree

2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>

Merge upstream change
* libtool.m4 (_LT_ENABLE_LOCK): Support x32.

2011-11-21  Andreas Tobler  <andreast@fgznet.ch>

* libtool.m4: Additional FreeBSD 10 fixes.

11 years agoPatch adds support to allow plugins to map selected subset of sections to unique
Sriraman Tallam [Fri, 24 Aug 2012 18:35:35 +0000 (18:35 +0000)]
Patch adds support to allow plugins to map selected subset of sections to unique
segments.

2012-08-24  Sriraman Tallam  <tmsriram@google.com>

* gold.cc (queue_middle_tasks): Call layout again when unique
segments for sections is desired.
* layout.cc (Layout::Layout): Initialize new members.
(Layout::get_output_section_flags): New function.
(Layout::choose_output_section): Call get_output_section_flags.
(Layout::layout): Make output section for mapping to a unique segment.
(Layout::insert_section_segment_map): New function.
(Layout::attach_allocated_section_to_segment): Make unique segment for
output sections marked so.
(Layout::segment_precedes): Check for unique segments when sorting.
* layout.h (Layout::Unique_segment_info): New struct.
(Layout::Section_segment_map): New typedef.
(Layout::insert_section_segment_map): New function.
(Layout::get_output_section_flags): New function.
(Layout::is_unique_segment_for_sections_specified): New function.
(Layout::set_unique_segment_for_sections_specified): New function.
(Layout::unique_segment_for_sections_specified_): New member.
(Layout::section_segment_map_): New member.
* object.cc (Sized_relobj_file<size, big_endian>::do_layout):
Rename is_gc_pass_one to is_pass_one.
Rename is_gc_pass_two to is_pass_two.
Rename is_gc_or_icf to is_two_pass.
Check for which pass based on whether symbols data is present.
Make it two pass when unique segments for sections is desired.
* output.cc (Output_section::Output_section): Initialize new
members.
* output.h (Output_section::is_unique_segment): New function.
(Output_section::set_is_unique_segment): New function.
(Output_section::is_unique_segment_): New member.
(Output_section::extra_segment_flags): New function.
(Output_section::set_extra_segment_flags): New function.
(Output_section::extra_segment_flags_): New member.
(Output_section::segment_alignment): New function.
(Output_section::set_segment_alignment): New function.
(Output_section::segment_alignment_): New member.
(Output_segment::Output_segment): Initialize is_unique_segment_.
(Output_segment::is_unique_segment): New function.
(Output_segment::set_is_unique_segment): New function.
(Output_segment::is_unique_segment_): New member.
* plugin.cc (allow_unique_segment_for_sections): New function.
(unique_segment_for_sections): New function.
(Plugin::load): Add new functions to transfer vector.
* Makefile.am (plugin_final_layout.readelf.stdout): Add readelf output.
* Makefile.in: Regenerate.
* testsuite/plugin_final_layout.sh: Check if unique segment
functionality works.
* testsuite/plugin_section_order.c (onload): Check if new interfaces
are available.
(allow_unique_segment_for_sections): New global.
(unique_segment_for_sections): New global.
(claim_file_hook): Call allow_unique_segment_for_sections.
(all_symbols_read_hook): Call unique_segment_for_sections.

2012-08-24  Sriraman Tallam  <tmsriram@google.com>

* plugin-api.h (ld_plugin_allow_unique_segment_for_sections):
New interface.
(ld_plugin_unique_segment_for_sections): New interface.
(LDPT_ALLOW_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
(LDPT_UNIQUE_SEGMENT_FOR_SECTIONS): New enum val.
(tv_allow_unique_segment_for_sections): New member.
(tv_unique_segment_for_sections): New member.

11 years ago * gas/config/tc-arm.c (check_obsolete): New function.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:52:49 +0000 (07:52 +0000)]
* gas/config/tc-arm.c (check_obsolete): New function.
(do_rd_rm_rn): Check swp{b} for obsoletion.
* gas/testsuite/gas/arm/armv8-a-bad.d: New testcase.
* gas/testsuite/gas/arm/armv8-a-bad.l: Likewise.
* gas/testsuite/gas/arm/armv8-a-bad.s: Likewise.
* gas/testsuite/gas/arm/depr-swp.l: Update for change in expected output.
* gas/testsuite/gas/arm/depr-swp.s: Add additional test.
* include/opcode/arm.h (ARM_CPU_IS_ANY): New define.

11 years ago * bfd/elf32-arm.c (v8): New array.
Matthew Gretton-Dann [Fri, 24 Aug 2012 07:50:37 +0000 (07:50 +0000)]
* bfd/elf32-arm.c (v8): New array.
(tag_cpu_arch_combine): Add support for ARMv8 attributes.
(elf32_arm_merge_eabi_attributes): Likewise.
(VFP_VERSION_COUNT): New define.
* binutils/readelf.c (arm_attr_tag_CPU_arch): Update for ARMv8.
(arm_attr_tag_FP_arch): Likewise.
(arm_attr_tag_Advanced_SIMD_arch): Likewise.
* gas/config/tc-arm.h (arm_ext_v8): New variable.
(fpu_vfp_ext_armv8): Likewise.
(fpu_neon_ext_armv8): Likewise.
(fpu_crypto_ext_armv8): Likewise.
(arm_archs): Add armv8-a.
(arm_extensions): Add crypto, fp, and simd.
(arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
(cpu_arch_ver): Add support for ARMv8.
(aeabi_set_public_sttributes): Likewise.
* gas/doc/c-arm.texi (ARM Options): Document new architecture and
extension options for ARMv8.
* gas/testsuite/gas/arm/attr-march-all.d: Update for change in expected
output.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv8-a+crypto.d: New testcase.
* gas/testsuite/gas/arm/attr-march-armv8-a+fp.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv8-a+simd.d: Likewise.
* gas/testsuite/gas/arm/attr-march-armv8-a.d: Likewise.
* include/elf/arm.h (TAG_CPU_ARCH_V8): New define.
(MAX_TAG_CPU_ARCH): Update.
* include/opcode/arm.h (ARM_EXT_V8): New define.
(FPU_VFP_EXT_ARMV8): Likewise.
(FPU_NEON_EXT_ARMV8): Likewise.
(FPU_CRYPTO_EXT_ARMV8): Likewise.
(ARM_AEXT_V8A): Likewise.
(FPU_VFP_ARMV8): Likwise.
(FPU_NEON_ARMV8): Likewise.
(FPU_CRYPTO_ARMV8): Likewise.
(FPU_ARCH_VFP_ARMV8): Likewise.
(FPU_ARCH_NEON_VFP_ARMV8): Likewise.
(FPU_ARCH_CRYPTO_NEON_VFP_ARMV8): Likewise.
(ARM_ARCH_V8A): Likwise.
(ARM_ARCH_V8A_FP): Likewise.
(ARM_ARCH_V8A_SIMD): Likewise.
(ARM_ARCH_V8A_CRYPTO): Likewise.
* ld/testsuite/ld-arm/arm-elf.exp: Add new testcases.
* ld/testsuite/ld-arm/attr-merge-vfp-3.d: Update for change in expected
output.
* ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-7.d: New testcase.
* ld/testsuite/ld-arm/attr-merge-vfp-7r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-armv8-hard.s: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-armv8.s: Likewise.

11 years ago* pinfo.cc (_pinfo::exists): Don't consider a process with no state to exist.
Christopher Faylor [Thu, 23 Aug 2012 14:45:52 +0000 (14:45 +0000)]
* pinfo.cc (_pinfo::exists): Don't consider a process with no state to exist.

11 years ago* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on systems which
Christopher Faylor [Thu, 23 Aug 2012 04:19:59 +0000 (04:19 +0000)]
* libc/stdio/flags.c (__sflags): Guard against using O_BINARY on systems which
do not provide it.

11 years agoFix sparc opcode encoding for 4-arg crypto instructions.
David S. Miller [Tue, 21 Aug 2012 23:00:35 +0000 (23:00 +0000)]
Fix sparc opcode encoding for 4-arg crypto instructions.

include/opcode

* sparc.h (F3F4): New macro.

opcodes

* sparc-opc.c (4-argument crypto instructions): Fix encoding using
F3F4 macro.

gas/testsuite

* gas/sparc/crypto.d: Fix opcodes for 4-arg crypto instructions.

11 years ago* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode flags to
Christopher Faylor [Tue, 21 Aug 2012 14:51:50 +0000 (14:51 +0000)]
* libc/stdio/flags.c (__sflags): Rewrite recognition of extended mode flags to
just loop over more allowed flags.  Support glibc 'e' flag on systems defining
_GLIBC_EXTENSION.  Support C11 'x' flag.

11 years ago* net.cc (get_adapters_addresses): Drop FIXME part of comment.
Christopher Faylor [Tue, 21 Aug 2012 14:41:57 +0000 (14:41 +0000)]
* net.cc (get_adapters_addresses): Drop FIXME part of comment.

11 years ago* DevNotes: Add entry cgf-000016.
Christopher Faylor [Fri, 17 Aug 2012 17:29:21 +0000 (17:29 +0000)]
* DevNotes: Add entry cgf-000016.
* cygtls.h (_cygtls::push): Inline.
(_cygtls::interrupt_now): Change signal number argument to siginfo_t argument.
(_cygtls::interrupt_setup): Ditto.
(_cygtls::set_siginfo): Delete declaration.
(_cygtls::reset_signal_arrived): Don't reset signal_arrived signal.  Just reset
flag.
* exceptions.cc (_cygtls::interrupt_now): Reflect argument changes.  Pass si to
interrupt_setup.
(_cygtls::interrupt_setup): Reflect argument changes.  Fill out tls infodata
here using passed-in si.  Use si.si_signo instead of sig.
(sigpacket::setup_handler): Move this function into sigpacket class.  Use si
field from the class as appropriate.
(sigpacket::process): Don't call tls->set_siginfo here since setup_handler
could fail.  Eliminate now-unneeded sig argument.
* sigproc.h (sigpacket::setup_handler): Move setup_handler to this class.

11 years ago* exceptions.cc (sig_handle_tty_stop): Clear tls sig field.
Christopher Faylor [Fri, 17 Aug 2012 15:56:05 +0000 (15:56 +0000)]
* exceptions.cc (sig_handle_tty_stop): Clear tls sig field.
(sigpacket::process): When continuing, set tls->sig before arming
signal_arrived.

11 years ago * fhandler_clipboard.cc (fhandler_dev_clipboard::read): Use
Corinna Vinschen [Fri, 17 Aug 2012 09:23:34 +0000 (09:23 +0000)]
* fhandler_clipboard.cc (fhandler_dev_clipboard::read): Use
read-ahead buffer for reading Windows clipboard if caller's
buffer is too small for complete characters.
* include/limits.h: Remove outdated TODO comment.

11 years agowhitespace cleanup
Christopher Faylor [Thu, 16 Aug 2012 23:34:45 +0000 (23:34 +0000)]
whitespace cleanup

11 years ago* cygtls.cc (_cygtls::operator HANDLE): Reverse '?' test stupidity.
Christopher Faylor [Thu, 16 Aug 2012 19:24:19 +0000 (19:24 +0000)]
* cygtls.cc (_cygtls::operator HANDLE): Reverse '?' test stupidity.

11 years ago* cygheap.cc (init_cygheap::find_tls): Don't consider unitialized threads.
Christopher Faylor [Thu, 16 Aug 2012 17:11:41 +0000 (17:11 +0000)]
* cygheap.cc (init_cygheap::find_tls): Don't consider unitialized threads.
* cygtls.cc (_cygtls::operator HANDLE): Return NULL when tid is not set.
* exceptions.cc (setup_handler): Don't try to suspend a thread if it has no
handle.

11 years agofix typo
Christopher Faylor [Wed, 15 Aug 2012 19:43:59 +0000 (19:43 +0000)]
fix typo

11 years agoRename cancelable_wait -> cygwait throughout.
Christopher Faylor [Wed, 15 Aug 2012 19:07:42 +0000 (19:07 +0000)]
Rename cancelable_wait -> cygwait throughout.
* DevNotes: Add entry cgf-000015.
* cygwait.h (cygwait): Don't allow an optional PLARGE_INTERGER argument.

This page took 0.078608 seconds and 5 git commands to generate.