relasz.d 879 B

12345678910111213141516171819
  1. #source: relasz.s
  2. #target: [check_shared_lib_support]
  3. #ld: -shared --hash-style=sysv -Taarch64.ld
  4. #readelf: -d
  5. # Check that the RELASZ section has the correct size even if we are
  6. # using a non-default linker script that merges .rela.dyn and .rela.plt
  7. # in the output.
  8. Dynamic section at offset 0x[0-9a-f]+ contains 9 entries:
  9. Tag Type Name/Value
  10. 0x0000000000000004 \(HASH\) 0x[0-9a-f]+
  11. 0x0000000000000005 \(STRTAB\) 0x[0-9a-f]+
  12. 0x0000000000000006 \(SYMTAB\) 0x[0-9a-f]+
  13. 0x000000000000000a \(STRSZ\) [0-9]+ \(bytes\)
  14. 0x000000000000000b \(SYMENT\) [0-9]+ \(bytes\)
  15. 0x0000000000000007 \(RELA\) 0x[0-9a-f]+
  16. 0x0000000000000008 \(RELASZ\) 24 \(bytes\)
  17. 0x0000000000000009 \(RELAENT\) 24 \(bytes\)
  18. 0x0000000000000000 \(NULL\) 0x0