* ld-elf/eh-group.exp: Only run on ELF targets.
authorAlan Modra <amodra@gmail.com>
Thu, 25 Sep 2008 03:16:42 +0000 (03:16 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 25 Sep 2008 03:16:42 +0000 (03:16 +0000)
* ld-elf/eh5b.s: Export main, start, __start.

ld/testsuite/ChangeLog
ld/testsuite/ld-elf/eh-group.exp
ld/testsuite/ld-elf/eh5b.s

index e7f98599cacf5d4b04698110d3a278f0c0830c58..ea0d673c6ac57978439310b7465a3f36c026fa46 100644 (file)
@@ -1,3 +1,8 @@
+2008-09-25  Alan Modra  <amodra@bigpond.net.au>
+
+       * ld-elf/eh-group.exp: Only run on ELF targets.
+       * ld-elf/eh5b.s: Export main, start, __start.
+
 2008-09-20  Richard Sandiford  <rdsandiford@googlemail.com>
 
        * ld-mips-elf/reloc-estimate-1.d: Make endian-neutral.
index c55e06ebc388415c763b376039a70b66fbc39ae0..607235570dc28facab5b3e1c1f13adca1d8c92d5 100644 (file)
@@ -35,6 +35,11 @@ if {![check_as_cfi]} {
     return
 }
 
+# The test uses ELF .section directive
+if ![is_elf_format] {
+    return
+}
+
 set build_tests_ld {
   {"Build eh-group1.o"
    "-r" ""
index 3e5e0108f95db7797bada784bd51cdc236b24801..fa27edd31d05c8db2e8e1cc3f5548e6eb0602f49 100644 (file)
        .cfi_def_cfa 0, 16
        .cfi_endproc
 
+       .globl main
+       .globl start
        .globl _start
+       .globl __start
+main:
+start:
 _start:
+__start:
        .long 0