]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/testsuite/ld-mmix/x.s
Imported binutils-2.20
[msp430-binutils.git] / ld / testsuite / ld-mmix / x.s
index faf4073d42f0c3753dded79c0f5e279568f256a2..e7222b1db0adf264286e442d4bb96410a5d97b87 100644 (file)
@@ -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