aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arm/thumb-bl-lks-sym.s
blob: 60b7c3a584aa000c64eb70b667650bededad9c3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
@ 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}