shared-2.d 814 B

1234567891011121314151617181920
  1. #source: textrel1.s
  2. #source: textrel2.s
  3. #as: -little
  4. #ld: -shared -EL --hash-style=sysv
  5. #readelf: -d
  6. #target: sh*-*-elf sh*-*-linux* sh*-*-netbsd*
  7. # Make sure that there is no unnecessary DT_TEXTREL entry.
  8. Dynamic section at offset 0x[0-9a-f]+ contains 9 entries:
  9. Tag Type Name/Value
  10. 0x00000004 \(HASH\) 0x[0-9a-f]+
  11. 0x00000005 \(STRTAB\) 0x[0-9a-f]+
  12. 0x00000006 \(SYMTAB\) 0x[0-9a-f]+
  13. 0x0000000a \(STRSZ\) [0-9]+ \(bytes\)
  14. 0x0000000b \(SYMENT\) 16 \(bytes\)
  15. 0x00000007 \(RELA\) 0x[0-9a-f]+
  16. 0x00000008 \(RELASZ\) 12 \(bytes\)
  17. 0x00000009 \(RELAENT\) 12 \(bytes\)
  18. 0x00000000 \(NULL\) 0x0