old-cross-binutils/ld/testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s
Thomas Preud'homme 4c4ac9642a Fix Thumb-Thumb farcall v6-M (no profile) test
2016-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>

ld/
    * testsuite/ld-arm/arm-elf.exp (Thumb-Thumb farcall v6-M (no profile)):
    Set address of .foo section when linking.
    * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile-b.s: Place myfunc
    in .foo section.
    * testsuite/ld-arm/farcall-thumb-thumb-m-no-profile.d: Adapt expected
    output to the above changes.
2016-01-14 18:00:55 +08:00

7 lines
125 B
ArmAsm

.eabi_attribute Tag_CPU_arch, 11 @ V6-M
.thumb
.type myfunc, function
.global myfunc
.section .foo, "xa"
myfunc:
bx lr