Retro68/binutils/ld/testsuite/ld-gc/start3.s
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

30 lines
420 B
ArmAsm

.text
.global _start
_start:
.dc.a foo
.ifdef UNDERSCORE
.dc.a ___start_xx, ___stop_xx
.else
.dc.a __start_xx, __stop_xx
.endif
.section .text,"axG",%progbits,foo_group
.global foo
foo:
.dc.a 0
.section xx,"aG",%progbits,foo_group
.global foo_xx
foo_xx:
.dc.a 1
.section .text,"axG",%progbits,bar_group
.global bar
bar:
.dc.a 2
.section xx,"aG",%progbits,bar_group
.global bar_xx
bar_xx:
.dc.a 3