mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
fe9cd7ab17
explicit patterns for test target qualification. Define extra tool flags for *-*-hpux* and tic6x-*-* targets. Link with a linker script. Use alternative patterns for targets that do not eliminate copy relocs, currently mn10300-*-* and vax-*-*. * ld-elf/comm-data2.s: Handle HPUX's `.comm' syntax. * ld-elf/comm-data2.ld: New test linker script. * ld-elf/comm-data2.xd: Match section's VMA too. Ignore ASCII data dump. * ld-elf/comm-data2r.rd: New test pattern. * ld-elf/comm-data2r.sd: New test pattern. * ld-elf/comm-data2r.xd: New test pattern. * ld-mips-elf/comm-data.exp: Use check_shared_lib_support rather than an explicit pattern for test target qualification. Link with a linker script.
19 lines
223 B
ArmAsm
19 lines
223 B
ArmAsm
.text
|
|
.globl _start
|
|
.globl __start
|
|
_start:
|
|
__start:
|
|
.ifdef HPUX
|
|
foo .comm 4
|
|
.else
|
|
.comm foo, 4, 4
|
|
.endif
|
|
.section .debug_foo,"",%progbits
|
|
.balign 16
|
|
.ifdef ELF64
|
|
.8byte foo
|
|
.else
|
|
.4byte foo
|
|
.endif
|
|
.balign 16
|