tocsave1.s 338 B

123456789101112131415161718192021222324
  1. .abiversion 1
  2. .global _start
  3. .type _start,@function
  4. .section ".opd","aw",@progbits
  5. .p2align 3
  6. _start:
  7. .quad .L_start, .TOC.@tocbase, 0
  8. .text
  9. .L_start:
  10. nop
  11. .L1:
  12. # tocsave in a function prologue
  13. .reloc .,R_PPC64_TOCSAVE,.L1
  14. nop
  15. nop
  16. # tocsave on a call
  17. bl foo
  18. .reloc .,R_PPC64_TOCSAVE,.L1
  19. nop
  20. blr
  21. .size _start, .-.L_start