mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-03 04:12:10 +08:00
54975ae91f
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.
14 lines
196 B
ArmAsm
14 lines
196 B
ArmAsm
.text
|
|
.globl __foo
|
|
.type __foo, %function
|
|
__foo:
|
|
.byte 0
|
|
.globl __foo1
|
|
.ifdef NO_SET
|
|
__foo1 = __foo
|
|
.else
|
|
.set __foo1, __foo
|
|
.endif
|
|
.symver __foo,foo@@VERS.2
|
|
.symver __foo1,foo@VERS.1
|