y.s 693 B

123456789101112131415161718192021222324252627282930313233
  1. ;# Library file y.s has linkonce entries for fn and fn2. Note
  2. ;# that this version of fn has different code, as if compiled
  3. ;# with different optimization flags than the one in x.s (not
  4. ;# important for this test, though). The reference from
  5. ;# .gcc_except_table to the linkonce-excluded fn2 must be zero,
  6. ;# or g++ EH will not work.
  7. .section .gnu.linkonce.t.fn2,"ax",@progbits
  8. .weak fn2
  9. .type fn2,@function
  10. fn2:
  11. L:c:
  12. .long 3
  13. L:d:
  14. .size fn2,L:d-L:c
  15. .section .gnu.linkonce.t.fn,"ax",@progbits
  16. .weak fn
  17. .type fn,@function
  18. fn:
  19. L:e:
  20. .long 4
  21. L:f:
  22. .size fn,L:f-L:e
  23. .section .gcc_except_table,"aw",@progbits
  24. .long 7
  25. .long L:c
  26. .long L:d-L:c
  27. .long 0x6066
  28. .long L:e
  29. .long L:f-L:e