Fix testcase for PR ld/22471
authorAlan Modra <amodra@gmail.com>
Thu, 30 Nov 2017 02:40:35 +0000 (13:10 +1030)
committerAlan Modra <amodra@gmail.com>
Thu, 30 Nov 2017 02:46:35 +0000 (13:16 +1030)
commit668247656d5dec815a57761e98720dda09f72481
tree903597d14d854f0538b55b6da692f5d2c37b1dd5
parent7505954411a168f5c5b9adec23eac55b1532fbe6
Fix testcase for PR ld/22471

ASFLAGS should be restored after any modification.  Fixes
metag-linux  +FAIL: Long branch stub
metag-linux  +FAIL: Long branch stub (PIC, app)
mn10300-elf  +FAIL: difference of two same-section symbols where the difference is held in another section
mn10300-elf  +FAIL: relaxation and alignment directives

PR 22471
* testsuite/ld-elf/shared.exp: Save and restore ASFLAGS.
ld/ChangeLog
ld/testsuite/ld-elf/shared.exp