* ld-elf/shared.exp: Revert previous delta. Do not build

libraries in a non-native environment.
This commit is contained in:
Nick Clifton 2011-05-23 09:13:57 +00:00
parent 6061a67d14
commit 45394486ba
2 changed files with 12 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2011-05-23 Nick Clifton <nickc@redhat.com>
* ld-elf/shared.exp: Revert previous delta. Do not build
libraries in a non-native environment.
2011-05-23 Alan Modra <amodra@gmail.com>
PR 12763

View File

@ -21,6 +21,13 @@
# Exclude non-ELF targets.
# The following tests require running the executable generated by ld,
# or enough of a build environment to create a fully linked executable.
# This is not commonly available when testing a cross-built linker.
if ![isnative] {
return
}
if ![is_elf_format] {
return
}
@ -154,11 +161,6 @@ set build_tests {
run_cc_link_tests $build_tests
# The following tests require running the executable generated by ld.
if ![isnative] {
return
}
set run_tests {
{"Run normal with libfoo.so"
"tmpdir/begin.o tmpdir/libfoo.so tmpdir/end.o" ""