dt-relr-2d.d 476 B

1234567891011121314151617
  1. #source: dt-relr-2.s
  2. #ld: -e _start -pie $DT_RELR_LDFLAGS --no-relax
  3. #readelf: -rW -d
  4. #target: [supports_dt_relr]
  5. #...
  6. 0x[0-9a-f]+ \(RELR\) +0x[0-9a-f]+
  7. 0x[0-9a-f]+ \(RELRSZ\) +(8|16) \(bytes\)
  8. 0x[0-9a-f]+ \(RELRENT\) +(4|8) \(bytes\)
  9. #...
  10. Relocation section '\.rel(a|)\.dyn' at offset 0x[0-9a-f]+ contains 1 entry:
  11. #...
  12. [0-9a-f]+ +[0-9a-f]+ +R_.*_(RELATIVE|UADDR.*) .*
  13. #...
  14. Relocation section '\.relr\.dyn' at offset 0x[0-9a-f]+ contains 2 entries:
  15. 4 offsets
  16. #pass