mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-27 04:52:05 +08:00
dd52c6dee2
ld-mmix/zeroehelf.d, ld-mmix/zeroehmmo.d: Use .gcc_except_table, not .eh_frame.
34 lines
693 B
ArmAsm
34 lines
693 B
ArmAsm
;# Library file y.s has linkonce entries for fn and fn2. Note
|
|
;# that this version of fn has different code, as if compiled
|
|
;# with different optimization flags than the one in x.s (not
|
|
;# important for this test, though). The reference from
|
|
;# .gcc_except_table to the linkonce-excluded fn2 must be zero,
|
|
;# or g++ EH will not work.
|
|
|
|
.section .gnu.linkonce.t.fn2,"ax",@progbits
|
|
.weak fn2
|
|
.type fn2,@function
|
|
fn2:
|
|
L:c:
|
|
.long 3
|
|
L:d:
|
|
.size fn2,L:d-L:c
|
|
|
|
.section .gnu.linkonce.t.fn,"ax",@progbits
|
|
.weak fn
|
|
.type fn,@function
|
|
fn:
|
|
L:e:
|
|
.long 4
|
|
L:f:
|
|
.size fn,L:f-L:e
|
|
|
|
.section .gcc_except_table,"aw",@progbits
|
|
.long 7
|
|
.long L:c
|
|
.long L:d-L:c
|
|
|
|
.long 0x6066
|
|
.long L:e
|
|
.long L:f-L:e
|