dt-relr-1a.d 846 B

123456789101112131415161718192021222324252627
  1. #source: dt-relr-1.s
  2. #as: --64
  3. #ld: -shared -melf_x86_64 $DT_RELR_LDFLAGS
  4. #readelf: -r -s --wide
  5. #target: x86_64-*-linux*
  6. Relocation section '.rela.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
  7. +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
  8. [0-9a-f]+ +[0-9a-f]+ +R_X86_64_64 +0+ +data1 \+ 0
  9. [0-9a-f]+ +[0-9a-f]+ +R_X86_64_64 +0+ +data1 \+ 0
  10. Relocation section '.rela.plt' at offset 0x[0-9a-f]+ contains 1 entry:
  11. +Offset +Info +Type +Symbol's Value +Symbol's Name \+ Addend
  12. [0-9a-f]+ +[0-9a-f]+ +R_X86_64_JUMP_SLOT +0+ +func1 \+ 0
  13. Relocation section '.relr.dyn' at offset 0x[a-f0-9]+ contains 2 entries:
  14. +3 offsets
  15. [a-f0-9]+
  16. [a-f0-9]+
  17. [a-f0-9]+
  18. #...
  19. Symbol table '.symtab' contains [0-9]+ entries:
  20. +Num: +Value +Size Type +Bind +Vis +Ndx Name
  21. #...
  22. +[0-9]+: +[a-f0-9]+ +0 +NOTYPE +LOCAL +DEFAULT +[0-9]+ +__ehdr_start
  23. #pass