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-3c.s
diff --git a/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s
b/ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s
new file mode 100644
(file)
index 0000000..
0495851
--- /dev/null
+++ b/
ld/testsuite/ld-riscv-elf/pcrel-lo-addend-3c.s
@@ -0,0
+1,13
@@
+ .text
+ .globl _start
+ .align 3
+_start:
+.LA0: auipc a5, %got_pcrel_hi (ll)
+ ld a0, %pcrel_lo (.LA0 + 0x4)(a5)
+
+ .globl ll
+ .data
+ll:
+ .dword 0
+ .dword 0
+ .dword 0
This page took
0.024767 seconds
and
4
git commands to generate.