aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-arc/jli-simple.rd
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-arc/jli-simple.rd')
-rw-r--r--ld/testsuite/ld-arc/jli-simple.rd10
1 files changed, 10 insertions, 0 deletions
diff --git a/ld/testsuite/ld-arc/jli-simple.rd b/ld/testsuite/ld-arc/jli-simple.rd
new file mode 100644
index 0000000..13b85bb
--- /dev/null
+++ b/ld/testsuite/ld-arc/jli-simple.rd
@@ -0,0 +1,10 @@
+
+Relocation section '\.rela\.text' .*:
+ Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
+00010054 [0-9a-f]+ R_ARC_JLI_SECTOFF 00010060 __jli\.foo \+ 0
+00010056 [0-9a-f]+ R_ARC_JLI_SECTOFF 00010064 __jli\.bar \+ 0
+
+Relocation section '\.rela\.jlitab' .*:
+ Offset +Info +Type +Sym.Value +Sym. Name \+ Addend
+00010060 [0-9a-f]+ R_ARC_S25H_PCREL 00010054 .text \+ 4
+00010064 [0-9a-f]+ R_ARC_S25H_PCREL 00010054 .text \+ 8