diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-05-25 04:42:58 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2017-03-03 11:03:18 -0700 |
commit | 9c3fda8166172bb9fa818bf2b7fec003847393d8 (patch) | |
tree | b75417ce654d435a8645a87ca0f17b5723d2155d /gold/testsuite/defsym_test.c | |
parent | bb101959912073f460669d75097215cde7b20019 (diff) | |
download | gdb-9c3fda8166172bb9fa818bf2b7fec003847393d8.zip gdb-9c3fda8166172bb9fa818bf2b7fec003847393d8.tar.gz gdb-9c3fda8166172bb9fa818bf2b7fec003847393d8.tar.bz2 |
gold/ld: add support for poisoned system directories
This is based on the old CodeSourcery patch written by Joseph Myers to add
support to the link for detecting & rejecting bad -L paths when using a
cross-compiler. The differences here:
* The command line flags are always available.
* We can turn on & off the warning via the command line.
* The configure option controls the default warning behavior.
* Add support for gold.
It is not currently upstream, nor has it been submitted at all. There are
no plans to do so currently either.
BUG=chromium:488360
TEST=`cbuildbot chromiumos-sdk` passes # tests arm/amd64/mipsel/x86
TEST=`cbuildbot panther_moblab-full whirlwind-release` pass
TEST=`cbuildbot {x32,arm64}-generic-full` has no new failures
TEST=x86_64-cros-linux-gnu-ld throws warnings when using -L/lib (gold & bfd)
Reviewed-on: https://chromium-review.googlesource.com/272083
Diffstat (limited to 'gold/testsuite/defsym_test.c')
0 files changed, 0 insertions, 0 deletions