local-addend-r.d 869 B

12345678910111213141516
  1. #source: emit-relocs-local-addend-foo.s
  2. #source: emit-relocs-local-addend-bar.s
  3. #ld: -e0 -r
  4. #readelf: -r
  5. Relocation section '\.rela\.text' at offset .* contains 4 entries:
  6. Offset Info Type Sym\. Value Sym\. Name \+ Addend
  7. 000000000000 000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 0
  8. 000000000004 000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 0
  9. 00000000000c 000200000113 R_AARCH64_ADR_PRE 0000000000000000 \.rodata \+ 10
  10. 000000000010 000200000115 R_AARCH64_ADD_ABS 0000000000000000 \.rodata \+ 10
  11. Relocation section '\.rela\.rodata' at offset .* contains 2 entries:
  12. Offset Info Type Sym\. Value Sym. Name \+ Addend
  13. 000000000008 000200000101 R_AARCH64_ABS64 0000000000000000 \.rodata \+ 0
  14. 000000000018 000200000101 R_AARCH64_ABS64 0000000000000000 \.rodata \+ 10