ld: Append -Wa,-mx86-used-note=no for S-records tests
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 11:44:45 +0000 (04:44 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 11:44:59 +0000 (04:44 -0700)
commit9a8d6a757d29ad8c80dc7640ac902d722b1b473f
treee8991fada70520846d8c346e739149db795dece5
parent5e8a54c6c4c753b6bbd447c74f5df8707bb0a06c
ld: Append -Wa,-mx86-used-note=no for S-records tests

Since x86 assembler may generate .note.gnu.property section and S-records
can't handle .note.gnu.property sections, add -mx86-used-note=no to
S-records tests on ELF/x86 targets to avoid .note.gnu.property section.

* testsuite/ld-srec/srec.exp: Append -Wa,-mx86-used-note=no to
CC and CXX on ELF/x86 targets.
ld/ChangeLog
ld/testsuite/ld-srec/srec.exp
This page took 0.04193 seconds and 4 git commands to generate.