AArch64: Implement choice between Cortex-A53 erratum workarounds. (PR ld/24373)
[binutils-gdb.git] / ld / testsuite / ld-aarch64 / erratum843419-adrp.d
blob371201cf0b81579495e1f3164b9cb7bdb784138a
1 #source: erratum843419-near.s
2 #as:
3 #ld: -Ttext=0x400000 --fix-cortex-a53-843419=adrp
4 #objdump: -dr
5 #...
7 Disassembly of section \.text:
9 0*400000 <_start>:
10 ...
11 400ffc: 90000040 adrp x0, 408000 <e843419@0002_00000010_1008\+0x6fe8>
12 401000: f9000042 str x2, \[x2\]
13 401004: d2800002 mov x2, #0x0 // #0
14 401008: 14000004 b 401018 <e843419@0002_00000010_1008>
15 40100c: d503201f nop
16 401010: 14000400 b 402010 <e843419@0002_00000010_1008\+0xff8>
17 401014: d503201f nop
19 0*401018 <e843419@0002_00000010_1008>:
20 401018: f9402001 ldr x1, \[x0, #64\]
21 40101c: 17fffffc b 40100c <_start\+0x100c>
22 ...