projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
RISC-V: Clarify the addends of pc-relative access.
[deliverable/binutils-gdb.git]
/
ld
/
testsuite
/
ld-riscv-elf
/
pcrel-lo-addend-3b.s
diff --git a/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s
b/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s
new file mode 100644
(file)
index 0000000..
0b7ebd6
--- /dev/null
+++ b/
ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3b.s
@@ -0,0
+1,13
@@
+ .text
+ .globl _start
+ .align 3
+_start:
+.LA0: auipc a5, %got_pcrel_hi (ll + 0x4)
+ ld a0, %pcrel_lo (.LA0)(a5)
+
+ .globl ll
+ .data
+ll:
+ .dword 0
+ .dword 0
+ .dword 0
This page took
0.023474 seconds
and
4
git commands to generate.