forked from Imagelibrary/binutils-gdb
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.
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user