mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-26 00:32:02 +00:00
21 lines
308 B
ArmAsm
21 lines
308 B
ArmAsm
@ Test to ensure that a Thumb-2 B.W can branch to an ARM funtion.
|
|
|
|
.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
|
|
|