aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-aarch64/emit-relocs-28.d
blob: fd5c71c3b6df82a2ea132fe3b0fd3e85e2510ebb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#source: emit-relocs-28.s
#as: -mabi=ilp32
#ld: -m [aarch64_choose_ilp32_emul] --defsym globala=0x11000 --defsym globalb=0x45000 --defsym globalc=0x1234  -e0 --emit-relocs
#objdump: -dr

.*: +file format .*


Disassembly of section .text:

.* <\.text>:
  .*:	.* 	adrp	x2, .* <.*>
			.*: R_AARCH64_P32_ADR_PREL_PG_HI21	_GLOBAL_OFFSET_TABLE_
  .*:	.* 	ldr	x0, \[x2, #.*\]
			.*: R_AARCH64_P32_LD32_GOTPAGE_LO14	globala
  .*:	.* 	ldr	x0, \[x2, #.*\]
			.*: R_AARCH64_P32_LD32_GOTPAGE_LO14	globalb
  .*:	.* 	ldr	x0, \[x2, #.*\]
			.*: R_AARCH64_P32_LD32_GOTPAGE_LO14	globalc