mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-04 01:50:38 +00:00
20 lines
308 B
ArmAsm
20 lines
308 B
ArmAsm
@ Test to ensure that a purecode Thumb2 call exceeding 4Mb generates a stub.
|
|
|
|
.global _start
|
|
.syntax unified
|
|
.arch armv7-m
|
|
.thumb
|
|
.thumb_func
|
|
|
|
@ We will place the section .text at 0x1000.
|
|
|
|
.text
|
|
bar:
|
|
bx lr
|
|
|
|
@ We will place the section .foo at 0x02001014.
|
|
|
|
.section .foo, "0x20000006"
|
|
_start:
|
|
bl bar
|