ELF: Don't check relocations in non-loaded, non-alloced sections
[deliverable/binutils-gdb.git] / ld / testsuite / ld-arm / stm32l4xx-cannot-fix-far-ldm.s
CommitLineData
a504d23a
LA
1 .syntax unified
2 .cpu cortex-m4
3 .fpu fpv4-sp-d16
4 .text
5 .align 1
6 .thumb
7 .thumb_func
8 .global _start
9_start:
10 .space 0xFFFF00
11
12 @ Multiple load, case #2
13 @ ldm rx, {...} ->
14 @ mov ry, rx where ry is the lowest register from upper_list
15 @ ldm ry!, { lower_list }
16 @ ldm ry, { upper_list }
17 ldm.w r0, {r1-r9}
18
19 .space 0x100
20
21 @ Check that the linker never generates a wrong branch
22 @ ldm rx, {...} -> ldm rx, {...}
23 @ Emit a warning during the link phase and keep the same instruction
24
25 ldm.w r9, {r1-r9}
26
27 nop
This page took 0.233944 seconds and 4 git commands to generate.