ld: Append -mx86-used-note=no to ASFLAGS
authorH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 11:47:41 +0000 (04:47 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Fri, 31 Aug 2018 11:48:05 +0000 (04:48 -0700)
commite9d644e8fb2e7fa2f61e4b978f75881d906e0dbc
treea02c2c595bc617546cdb97267e72ada0a0fbf84c
parent9a8d6a757d29ad8c80dc7640ac902d722b1b473f
ld: Append -mx86-used-note=no to ASFLAGS

Since x86 assembler may generate .note.gnu.property section, append
-mx86-used-note=no to tests which don't expect .note.gnu.property
section on ELF/x86 targets.

* testsuite/ld-elf/elf.exp (ASFLAGS): Save, append
-mx86-used-note=no and restore.
* testsuite/ld-ifunc/ifunc.exp (ASFLAGS): Likewise.
* testsuite/ld-scripts/defined.exp (ASFLAGS): Likewise.
* testsuite/ld-scripts/overlay-size.exp (ASFLAGS): Likewise
ld/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-ifunc/ifunc.exp
ld/testsuite/ld-scripts/defined.exp
ld/testsuite/ld-scripts/overlay-size.exp