diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2009-07-31 04:55:48 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2009-07-31 04:55:48 +0000 |
commit | dd52c6dee232ec529d5a52ae0d40842f0d0cfc66 (patch) | |
tree | 2a7ec7ea4ad52ac71a775e16fcd901dc4c486491 /ld/testsuite/ld-mmix/x.s | |
parent | 080a1b9fb589cccd3ec63e91e871ef832c67abfd (diff) | |
download | gdb-dd52c6dee232ec529d5a52ae0d40842f0d0cfc66.zip gdb-dd52c6dee232ec529d5a52ae0d40842f0d0cfc66.tar.gz gdb-dd52c6dee232ec529d5a52ae0d40842f0d0cfc66.tar.bz2 |
* ld-mmix/x.s, ld-mmix/y.s, ld-mmix/zeroeh.ld,
ld-mmix/zeroehelf.d, ld-mmix/zeroehmmo.d: Use .gcc_except_table,
not .eh_frame.
Diffstat (limited to 'ld/testsuite/ld-mmix/x.s')
-rw-r--r-- | ld/testsuite/ld-mmix/x.s | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/ld/testsuite/ld-mmix/x.s b/ld/testsuite/ld-mmix/x.s index faf4073..e7222b1 100644 --- a/ld/testsuite/ld-mmix/x.s +++ b/ld/testsuite/ld-mmix/x.s @@ -1,8 +1,11 @@ ;# Main file, x.s, with the program (_start) referring to two ;# linkonce functions fn and fn2. The functions fn and fn2 are ;# supposed to be equivalent of C++ template instantiations; the -;# main file instantiates fn. There's the equivalent of an FDE -;# entry in .eh_frame, referring to fn via a local label. +;# main file instantiates fn. An exception-table-lookalike entry +;# refers to fn via a local label. We use .gcc_except_table as we +;# can't be bothered to produce syntactically valid .eh_frame contents +;# and there's no option to turn off warning messages for invalid +;# contents. .text .global _start @@ -20,7 +23,7 @@ L:a: L:b: .size fn,L:b-L:a - .section .eh_frame,"aw",@progbits + .section .gcc_except_table,"aw",@progbits .long 2 .long L:a .long L:b-L:a |