* ld-elf/eh-group.exp: Only run on ELF targets.

* ld-elf/eh5b.s: Export main, start, __start.
This commit is contained in:
Alan Modra 2008-09-25 03:16:42 +00:00
parent 4ac0c89885
commit 68db4c759f
3 changed files with 16 additions and 0 deletions

View 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.

View 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" ""

View File

@ -24,6 +24,12 @@
.cfi_def_cfa 0, 16
.cfi_endproc
.globl main
.globl start
.globl _start
.globl __start
main:
start:
_start:
__start:
.long 0