Fix gold incremental test failures.
authorCary Coutant <ccoutant@gmail.com>
Thu, 12 Mar 2015 05:07:51 +0000 (22:07 -0700)
committerCary Coutant <ccoutant@gmail.com>
Thu, 12 Mar 2015 05:07:51 +0000 (22:07 -0700)
commit943c8b4393ca97b6c4805c724069028be6955b89
tree8a6cc1d7b292bc71ab44ff2477349a462d7601a5
parent97737159383af8af7a766ad3dade8ed0d11fa6a1
Fix gold incremental test failures.

Newer version 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.

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.
gold/ChangeLog
gold/options.cc
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
This page took 0.024492 seconds and 4 git commands to generate.