ifunc-21.d 545 B

1234567891011121314151617181920212223242526
  1. #source: ifunc-21.s
  2. #target: [check_shared_lib_support]
  3. #ld: -shared --hash-style=sysv -z nocombreloc
  4. #objdump: -d -s -j .got.plt -j .text
  5. # Ensure the .got.plt slot used is correct
  6. .*: file format elf64-(little|big)aarch64
  7. Contents of section .text:
  8. [0-9a-f]+ .*
  9. Contents of section .got.plt:
  10. [0-9a-f]+ 0+ 0+ 0+ 0+ .*
  11. (10298|102b8) 0+ 0+ [0-9a-f]+ [0-9a-f]+ .*
  12. Disassembly of section .text:
  13. .* <ifunc>:
  14. .*: d65f03c0 ret
  15. .* <bar>:
  16. .*: 90000080 adrp x0, 10000 <.*>
  17. .*: .* ldr x0, \[x0, #(672|704)\]
  18. .*: d65f03c0 ret
  19. #pass