This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[gold commit] Fix gold incremental test failures
- From: Cary Coutant <ccoutant at google dot com>
- To: Binutils <binutils at sourceware dot org>
- Date: Thu, 12 Mar 2015 14:47:22 -0700
- Subject: [gold commit] Fix gold incremental test failures
- Authentication-results: sourceware.org; auth=none
Newer versions of GCC pass -z relro to the linker, but incremental
linking does not support relro. This patch adds a check to complain
about the conflict, and changes the testsuite to pass -z norelro to
the incremental tests.
-cary
2015-03-11 Cary Coutant <ccoutant@google.com>
gold/
* options.cc (General_options::finalize): Don't allow -z relro
with incremental linking.
* testsuite/Makefile.am (incremental_test): Add -z norelro.
(incremental_test_2): Likewise.
(incremental_test_3): Likewise.
(incremental_test_4): Likewise.
(incremental_test_5): Likewise.
(incremental_test_6): Likewise.
(incremental_copy_test): Likewise.
(incremental_common_test_1): Likewise.
(incremental_comdat_test_1): Likewise.
* testsuite/Makefile.in: Regenerate.