aboutsummaryrefslogtreecommitdiffstats
path: root/trunk/testsuite/reloc9.sh
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 /trunk/testsuite/reloc9.sh
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
Diffstat (limited to 'trunk/testsuite/reloc9.sh')
-rwxr-xr-xtrunk/testsuite/reloc9.sh2
1 files changed, 1 insertions, 1 deletions
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