elf: Don't use .set for alpha target
authorH.J. Lu <hjl.tools@gmail.com>
Sat, 18 Apr 2020 18:23:09 +0000 (11:23 -0700)
committerH.J. Lu <hjl.tools@gmail.com>
Sat, 18 Apr 2020 18:23:09 +0000 (11:23 -0700)
commit54975ae91f6645bea4b57038e7b812cb9ceade29
treeb213d38e6cd9ac85f519408e8165fd9c359abdee
parent08feed99cbcc75ecdd111f7a10c163b6f99c428f
elf: Don't use .set for alpha target

Since the .set directive of ELF/alpha target is different, define NO_SET
to 1 to use "=" for ELF/alpha target.

* testsuite/ld-elf/elf.exp (ASFLAGS): Add "--defsym NO_SET=1" for
alpha target.
* testsuite/ld-elf/pr19789.s: Use "=" if NO_SET is defined.
ld/ChangeLog
ld/testsuite/ld-elf/elf.exp
ld/testsuite/ld-elf/pr19789.s