table.S.tpl 792 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. /*
  2. * Copyright 2022 Yury Gribov
  3. *
  4. * The MIT License (MIT)
  5. *
  6. * Use of this source code is governed by MIT license that can be
  7. * found in the LICENSE.txt file.
  8. */
  9. .data
  10. .globl _${lib_suffix}_tramp_table
  11. .hidden _${lib_suffix}_tramp_table
  12. .ignore strict_delay
  13. .p2align 3
  14. _${lib_suffix}_tramp_table:
  15. .zero $table_size
  16. .text
  17. .globl _${lib_suffix}_tramp_resolve
  18. .hidden _${lib_suffix}_tramp_resolve
  19. .globl _${lib_suffix}_save_regs_and_resolve
  20. .hidden _${lib_suffix}_save_regs_and_resolve
  21. .type _${lib_suffix}_save_regs_and_resolve, %function
  22. _${lib_suffix}_save_regs_and_resolve:
  23. .cfi_startproc
  24. setwd wsz = 0x1, nfx = 1
  25. addd 0x0, %g0, %r0
  26. disp %ctpr1, _${lib_suffix}_tramp_resolve
  27. call %ctpr1, wbs = 0
  28. return %ctpr3
  29. ct %ctpr3
  30. .cfi_endproc