Fix incremental linking failure with GCC 7+.
authorCary Coutant <ccoutant@gmail.com>
Sat, 2 Dec 2017 06:03:09 +0000 (22:03 -0800)
committerCary Coutant <ccoutant@gmail.com>
Sat, 2 Dec 2017 06:03:09 +0000 (22:03 -0800)
commit059256c7465164fc070482dbe04ebe4e2ccf1a08
tree1275b750ca92942492ff9a890440f839c6ed4953
parent97cbe998d0dd5c13a0317fbb24d745da367d8caa
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.
gold/ChangeLog
gold/testsuite/Makefile.am
gold/testsuite/Makefile.in
gold/testsuite/two_file_test_1.cc
gold/testsuite/two_file_test_1_v1.cc