15a086bed7
* testsuite/ld-arm/stm32l4xx-fix-all.s: Fix spelling in comments. * testsuite/ld-arm/thumb2-b-interwork.s: Fix spelling in comments. * testsuite/ld-arm/thumb2-bl.s: Fix spelling in comments. * testsuite/ld-s390/tlspic1.s: Fix spelling in comments. * testsuite/ld-s390/tlspic1_64.s: Fix spelling in comments. * testsuite/ld-scripts/section-match-1.d: Fix spelling in comments.
21 lines
309 B
ArmAsm
21 lines
309 B
ArmAsm
@ Test to ensure that a Thumb-2 B.W can branch to an ARM function.
|
|
|
|
.arch armv7-a
|
|
.global _start
|
|
.syntax unified
|
|
.text
|
|
.thumb_func
|
|
|
|
_start:
|
|
b.w bar
|
|
|
|
@ Put this in a separate section to force the assembler to generate a reloc
|
|
|
|
.arm
|
|
.section .after, "xa"
|
|
.global bar
|
|
.type bar, %function
|
|
bar:
|
|
bx lr
|
|
|