aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-s390/gotreloc-1.s
blob: 0e1f6f7715ddf61e8b08fe98a513fc53b8f2c4d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
.text
	.globl foo
foo:
	lgrl	%r1,bar@GOTENT
	lg	%r1,bar@GOT(%r12)
	lrl	%r1,bar@GOTENT
	l	%r1,bar@GOT(%r12)
	ly	%r1,bar@GOT(%r12)
	lgrl	%r1,_GLOBAL_OFFSET_TABLE_@GOTENT
	lgrl	%r1,misaligned_sym@GOTENT

.data
.globl	bar
bar:	.quad	0x123

.globl  misaligned_sym
	.byte	1
misaligned_sym:
	.quad	42