diff options
author | Cary Coutant <ccoutant@gmail.com> | 2015-03-11 22:07:51 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2015-03-11 22:07:51 -0700 |
commit | 943c8b4393ca97b6c4805c724069028be6955b89 (patch) | |
tree | 8a6cc1d7b292bc71ab44ff2477349a462d7601a5 /gold/ChangeLog | |
parent | 97737159383af8af7a766ad3dade8ed0d11fa6a1 (diff) | |
download | binutils-gdb-943c8b4393ca97b6c4805c724069028be6955b89.tar.gz |
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.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 14a8610e351..f94e170b864 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,18 @@ +2015-03-11 Cary Coutant <ccoutant@google.com> + + * 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. + 2015-03-09 Cary Coutant <ccoutant@google.com> PR gold/14675 |