[testsuite] Improve LTO testing with -r
Jie Zhang
jie@codesourcery.com
Mon Oct 11 15:54:00 GMT 2010
Some LTO tests do relocatable linking. Some target boards set a linker
script which can't be used for relocatable linking. This patch changes
lto.exp to use the default linker script instead if -r is found in the
options.
make check RUNTESTFLAGS="lto.exp"
has no regressions on x86_64-unknown-linux-gnu with this patch.
Is it OK?
Regards,
--
Jie Zhang
CodeSourcery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcc-testsuite-lto-r-ldscript.diff
Type: text/x-patch
Size: 1481 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20101011/433b85f4/attachment.bin>
More information about the Gcc-patches
mailing list