d6f18fe6ca
Specify -T relocs.ld for emit-relocs-local-addend.d to be consistent will all other emit-relocs* testcases ld/testsuite/ * ld-aarch64/emit-relocs-local-addend.d: Use target linker script.
16 lines
903 B
Makefile
16 lines
903 B
Makefile
#source: emit-relocs-local-addend-foo.s
|
|
#source: emit-relocs-local-addend-bar.s
|
|
#ld: -T relocs.ld -e0 --emit-relocs
|
|
#readelf: -r
|
|
|
|
Relocation section '\.rela\.text' at offset 0x102f8 contains 4 entries:
|
|
Offset Info Type Sym\. Value Sym\. Name \+ Addend
|
|
000000010000 000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 0
|
|
000000010004 000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 0
|
|
00000001000c 000200000113 R_AARCH64_ADR_PRE 0000000000010018 \.rodata \+ 10
|
|
000000010010 000200000115 R_AARCH64_ADD_ABS 0000000000010018 \.rodata \+ 10
|
|
|
|
Relocation section '\.rela\.rodata' at offset 0x10358 contains 2 entries:
|
|
Offset Info Type Sym\. Value Sym. Name \+ Addend
|
|
000000010020 000200000101 R_AARCH64_ABS64 0000000000010018 \.rodata \+ 0
|
|
000000010030 000200000101 R_AARCH64_ABS64 0000000000010018 \.rodata \+ 10
|