repo.or.cz
/
binutils-gdb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Re-add support for lbarx, lharx, stbcx. and sthcx. insns back to the E6500 cpu.
[binutils-gdb.git]
/
ld
/
testsuite
/
ld-aarch64
/
pcrel.s
blob
df542ef5deea7e065c8efc3836b53bc56dd11e95
1
.text
2
.align 2
3
main
:
4
# R_AARCH64_ADR_PREL_PG_HI21
5
# R_AARCH64_ADR_PREL_PG_HI21_NC
6
# R_AARCH64_ADR_LO_21
7
adrp x0
, :
pg_hi21
:
global_a
8
adrp x1
, :
pg_hi21_nc
:
global_a
9
adr x2
,
global_a
10
11
#R_AARCH64_LD_PREL_LO19
12
ldr x3
,
global_a
13
14
# R_AARCH64_PREL16
15
# R_AARCH64_PREL32
16
# R_AARCH64_PREL64
17
.hword global_a - .
18
.word global_a - .
19
.xword global_a - .
20