aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/rela-abs-relative-be.d
blob: 333122a0bce44c30b151db26a3a32332be0d8c7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#name: rela-abs-relative (big endian)
#source: rela-abs-relative.s
#alltargets: [check_shared_lib_support] aarch64_be-*-*
#ld: -shared -Ttext-segment=0x100000 -Tdata=0x200000 -Trelocs.ld
#objdump: -dR -j .data
#...

Disassembly of section .data:

.* <a>:
  200000:	00 00 00 00 ca fe ca fe 00 00 00 00 00 01 00 ca.*
			200008: R_AARCH64_RELATIVE	\*ABS\*\+0x100ca
  200010:	00 00 00 00 de ad de ad.*