This is the mail archive of the
binutils-cvs@sourceware.org
mailing list for the binutils project.
gdb and binutils branch master updated. 3f7308212cefe5cd958b29e0b9e92d92c4dbe941
- From: hp at sourceware dot org
- To: binutils-cvs at sourceware dot org
- Date: 17 Oct 2014 11:12:47 -0000
- Subject: gdb and binutils branch master updated. 3f7308212cefe5cd958b29e0b9e92d92c4dbe941
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gdb and binutils".
The branch, master has been updated
via 3f7308212cefe5cd958b29e0b9e92d92c4dbe941 (commit)
via c1e29d6622533257267e6dd136a34f9785edfb28 (commit)
via cb9322a80e3a92aceb7e325ab34f2a15edbae05a (commit)
from 32a8097ba5dd6ddb71c0fb2fccbac262c371846a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=3f7308212cefe5cd958b29e0b9e92d92c4dbe941
commit 3f7308212cefe5cd958b29e0b9e92d92c4dbe941
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date: Fri Oct 17 13:10:18 2014 +0200
Fix ld tests with sysroot=/ and --enable-targets=all and test --print-sysroot
* ld-scripts/sysroot-prefix.exp: Log $ld_sysroot. Handle sysroot
== "/" as a separate sysroot-configuration with separable
test-types.
(sysroot_prefix_tests): Include all existing sysroot tests in
sysroot == "/" tests except exclude those where a --sysroot option
is not specified.
* lib/ld-lib.exp (check_sysroot_available): Rewrite to use
--print-sysroot instead of relying on error code from using
--sysroot=... Also, set $ld_sysroot.
The reason we exclude not just the failing "full-path =-prefixed
without" but also the passing "plain =-prefixed without but -Lpath"
for sysroot == "/" is that for the latter to succeed, we have to make
assumptions about the system not having a /sysroot directory or
assumptions about its contents etc.
When passing --enable-targets=all --enable-64-bit-bfd (the
latter not required for a "64-bit-host" of course) the ld --help
output got too much to handle for poor tcl (or maybe dejagnu is
to blame) and remote_exec exited with an error, so the
configuration being tested was mishandled as being a
sysroot-less configuration. Using --version instead of --help
would work too, but the new --print-sysroot option calls for
nominal coverage, so why not use that instead.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=c1e29d6622533257267e6dd136a34f9785edfb28
commit c1e29d6622533257267e6dd136a34f9785edfb28
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date: Fri Oct 17 13:07:09 2014 +0200
Implement --print-sysroot in ld.
* ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
* lexsup.c (ld_options): Add entry for --print-sysroot.
(parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=cb9322a80e3a92aceb7e325ab34f2a15edbae05a
commit cb9322a80e3a92aceb7e325ab34f2a15edbae05a
Author: Hans-Peter Nilsson <hp@bitrange.com>
Date: Fri Oct 17 13:06:56 2014 +0200
Implement --print-sysroot in ld.
* ldlex.h (enum option_values): Add entry OPTION_PRINT_SYSROOT.
* lexsup.c (ld_options): Add entry for --print-sysroot.
(parse_args) <OPTION_PRINT_SYSROOT>: Print sysroot and exit early.
-----------------------------------------------------------------------
Summary of changes:
ld/ChangeLog | 7 +++++
ld/ldlex.h | 1 +
ld/lexsup.c | 7 +++++
ld/testsuite/ChangeLog | 12 +++++++++
ld/testsuite/ld-scripts/sysroot-prefix.exp | 37 ++++++++++++++++-----------
ld/testsuite/lib/ld-lib.exp | 14 ++++------
6 files changed, 55 insertions(+), 23 deletions(-)
hooks/post-receive
--
gdb and binutils