aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2010-04-13 17:00:41 +0000
committerjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2010-04-13 17:00:41 +0000
commitac2eeba55196424954b58cf540c44e42bc2774dc (patch)
tree1d79b834f3872b82537501f3174c38199ca7e54f
parent2c05df4177eccfb49024960a6006383fa203e8d1 (diff)
downloadprelink-cross-ac2eeba55196424954b58cf540c44e42bc2774dc.tar.gz
prelink-cross-ac2eeba55196424954b58cf540c44e42bc2774dc.tar.bz2
prelink-cross-ac2eeba55196424954b58cf540c44e42bc2774dc.zip
* testsuite/reloc8.sh: Don't use -Wl,-z,nocopyreloc on
sparc64. * testsuite/reloc9.sh: Likewise. git-svn-id: http://sourceware.org/svn/prelink@184 94c539fb-cf18-0410-b60f-edeeb537fa16
-rw-r--r--trunk/ChangeLog4
-rwxr-xr-xtrunk/testsuite/reloc8.sh2
-rwxr-xr-xtrunk/testsuite/reloc9.sh2
3 files changed, 6 insertions, 2 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index bcb27ad..df5308b 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,5 +1,9 @@
2010-04-13 Jakub Jelinek <jakub@redhat.com>
+ * testsuite/reloc8.sh: Don't use -Wl,-z,nocopyreloc on
+ sparc64.
+ * testsuite/reloc9.sh: Likewise.
+
* src/dwarf2.c (DEBUG_TYPES): Define.
(debug_sections): Add .debug_types entry.
(read_abbrev): Handle new DWARF4 forms.
diff --git a/trunk/testsuite/reloc8.sh b/trunk/testsuite/reloc8.sh
index 08864bd..9820d12 100755
--- a/trunk/testsuite/reloc8.sh
+++ b/trunk/testsuite/reloc8.sh
@@ -11,7 +11,7 @@ rm -f reloc8 reloc8lib*.so reloc8.log
rm -f prelink.cache
NOCOPYRELOC=-Wl,-z,nocopyreloc
case "`uname -m`" in
- x86_64|s390*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;;
+ x86_64|s390*|sparc*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;;
esac
$CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc8lib1.so $srcdir/reloc3lib1.c
$CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc8lib2.so $srcdir/reloc1lib2.c reloc8lib1.so
diff --git a/trunk/testsuite/reloc9.sh b/trunk/testsuite/reloc9.sh
index 55dd0d7..a835f89 100755
--- a/trunk/testsuite/reloc9.sh
+++ b/trunk/testsuite/reloc9.sh
@@ -11,7 +11,7 @@ rm -f reloc9 reloc9lib*.so reloc9.log
rm -f prelink.cache
NOCOPYRELOC=-Wl,-z,nocopyreloc
case "`uname -m`" in
- x86_64|s390*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;;
+ x86_64|s390*|sparc*) if file reloc1lib1.so | grep -q 64-bit; then NOCOPYRELOC=; fi;;
esac
$CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc9lib1.so $srcdir/reloc3lib1.c
$CC -shared -O2 -Wl,-z,nocombreloc -fpic -o reloc9lib2.so $srcdir/reloc1lib2.c reloc9lib1.so