mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
20 lines
432 B
ArmAsm
20 lines
432 B
ArmAsm
|
@ Test to ensure that the bl to linker script symbol isn't changed to blx with immediate address.
|
||
|
|
||
|
|
||
|
.syntax unified
|
||
|
.cpu cortex-m3
|
||
|
.fpu softvfp
|
||
|
.thumb
|
||
|
.file "x.c"
|
||
|
.text
|
||
|
.align 2
|
||
|
.global main
|
||
|
.thumb
|
||
|
.thumb_func
|
||
|
.type main, %function
|
||
|
main:
|
||
|
push {r7, lr}
|
||
|
add r7, sp, #0
|
||
|
bl extFunc
|
||
|
pop {r7, pc}
|