diff options
Diffstat (limited to 'binutils-2.25/ld/testsuite/ld-aarch64/local-addend-r.d')
-rw-r--r-- | binutils-2.25/ld/testsuite/ld-aarch64/local-addend-r.d | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/binutils-2.25/ld/testsuite/ld-aarch64/local-addend-r.d b/binutils-2.25/ld/testsuite/ld-aarch64/local-addend-r.d new file mode 100644 index 00000000..eb814041 --- /dev/null +++ b/binutils-2.25/ld/testsuite/ld-aarch64/local-addend-r.d @@ -0,0 +1,16 @@ +#source: emit-relocs-local-addend-foo.s +#source: emit-relocs-local-addend-bar.s +#ld: -e0 -r +#readelf: -r + +Relocation section '\.rela\.text' at offset .* contains 4 entries: + Offset Info Type Sym\. Value Sym\. Name \+ Addend +000000000000 000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 0 +000000000004 000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 0 +00000000000c 000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 10 +000000000010 000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 10 + +Relocation section '\.rela\.rodata' at offset .* contains 2 entries: + Offset Info Type Sym\. Value Sym. Name \+ Addend +000000000008 000200000101 R_AARCH64_ABS64 0000000000000000 \.rodata \+ 0 +000000000018 000200000101 R_AARCH64_ABS64 0000000000000000 \.rodata \+ 10 |