diff options
author | Cary Coutant <ccoutant@gmail.com> | 2017-12-01 22:03:09 -0800 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2017-12-01 22:03:09 -0800 |
commit | 059256c7465164fc070482dbe04ebe4e2ccf1a08 (patch) | |
tree | 1275b750ca92942492ff9a890440f839c6ed4953 /gold/testsuite/two_file_test_1_v1.cc | |
parent | 97cbe998d0dd5c13a0317fbb24d745da367d8caa (diff) | |
download | binutils-059256c7465164fc070482dbe04ebe4e2ccf1a08.zip binutils-059256c7465164fc070482dbe04ebe4e2ccf1a08.tar.gz binutils-059256c7465164fc070482dbe04ebe4e2ccf1a08.tar.bz2 |
Fix incremental linking failure with GCC 7+.
With the new compiler, we're running out of patch space for the .eh_frame
section. To workaround that issue, we compile the before and after versions
both with no unwind tables.
gold/
PR gold/22309
* testsuite/Makefile.am (two_file_test_1_v1_ndebug.o): Compile with
no EH information.
(two_file_test_1_ndebug.o): Likewise.
* testsuite/Makefile.in: Regenerate.
* testsuite/two_file_test_1.cc: Touch to force recompilation with new
flags.
* testsuite/two_file_test_1_v1.cc: Likewise.
Diffstat (limited to 'gold/testsuite/two_file_test_1_v1.cc')
-rw-r--r-- | gold/testsuite/two_file_test_1_v1.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gold/testsuite/two_file_test_1_v1.cc b/gold/testsuite/two_file_test_1_v1.cc index d2ea0e2..f95ee73 100644 --- a/gold/testsuite/two_file_test_1_v1.cc +++ b/gold/testsuite/two_file_test_1_v1.cc @@ -25,6 +25,9 @@ // source file, then do an incremental link with the primary version of // the file. +// For incremental linking tests, this file needs to be compiled with +// -fno-exceptions -fno-asynchronous-unwind-tables. + // This tests references between files. This is file 1, and // two_file_test_2.cc is file 2. We test in several different ways: |