Use __asm__ rather than asm in gold testsuite
authorAlan Modra <amodra@gmail.com>
Tue, 16 Jun 2020 11:55:18 +0000 (21:25 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Jun 2020 12:42:39 +0000 (22:12 +0930)
commit423054beadf317757d43aefb9eddfe711a42e3e1
treed11d2a50f931a3dad26abe6c8be4e92a11255a73
parentc802e8a76c4eaa3a8a62d7dcfe7be98bf718a2f0
Use __asm__ rather than asm in gold testsuite

discard_locals_test.c:28:6: error: expected declaration specifiers or
‘...’ before string constant
 asm (".Lshould_be_discarded:");
      ^

* testsuite/discard_locals_test.c: Replace uses of asm with __asm__.
* testsuite/discard_locals_relocatable_test.c: Likewise.
gold/ChangeLog
gold/testsuite/discard_locals_relocatable_test.c
gold/testsuite/discard_locals_test.c