aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2009-03-10 14:39:26 +0000
committerjakub <jakub@94c539fb-cf18-0410-b60f-edeeb537fa16>2009-03-10 14:39:26 +0000
commitc3127f42f64663b0a882132643352be378ed515f (patch)
tree892356a9f760ab4486501bc0ee3702cc0fb3ced9
parenta58268f9a771f17fbe4b10dd22015b788af88bc4 (diff)
downloadprelink-cross-c3127f42f64663b0a882132643352be378ed515f.tar.gz
prelink-cross-c3127f42f64663b0a882132643352be378ed515f.tar.bz2
prelink-cross-c3127f42f64663b0a882132643352be378ed515f.zip
* testsuite/reloc2.sh, testsuite/tls3.sh: Add ARM to architectures
requiring PIC shared libraries. git-svn-id: http://sourceware.org/svn/prelink@167 94c539fb-cf18-0410-b60f-edeeb537fa16
-rw-r--r--trunk/ChangeLog5
-rwxr-xr-xtrunk/testsuite/reloc2.sh2
-rwxr-xr-xtrunk/testsuite/tls3.sh2
3 files changed, 7 insertions, 2 deletions
diff --git a/trunk/ChangeLog b/trunk/ChangeLog
index 77d93cd..612614e 100644
--- a/trunk/ChangeLog
+++ b/trunk/ChangeLog
@@ -1,3 +1,8 @@
+2009-03-04 Joseph Myers <joseph@codesourcery.com>
+
+ * testsuite/reloc2.sh, testsuite/tls3.sh: Add ARM to architectures
+ requiring PIC shared libraries.
+
2009-03-04 Daniel Jacobowitz <dan@codesourcery.com>
Joseph Myers <joseph@codesourcery.com>
diff --git a/trunk/testsuite/reloc2.sh b/trunk/testsuite/reloc2.sh
index d64df48..00cf672 100755
--- a/trunk/testsuite/reloc2.sh
+++ b/trunk/testsuite/reloc2.sh
@@ -2,7 +2,7 @@
. `dirname $0`/functions.sh
SHFLAGS=
case "`uname -m`" in
- ia64|ppc*|x86_64|mips*) SHFLAGS=-fpic;; # Does not support non-pic shared libs
+ ia64|ppc*|x86_64|mips*|arm*) SHFLAGS=-fpic;; # Does not support non-pic shared libs
s390*) if file reloc1lib1.so | grep -q 64-bit; then SHFLAGS=-fpic; fi;;
esac
# Disable this test under SELinux if textrel
diff --git a/trunk/testsuite/tls3.sh b/trunk/testsuite/tls3.sh
index 220f9e6..34cbfd7 100755
--- a/trunk/testsuite/tls3.sh
+++ b/trunk/testsuite/tls3.sh
@@ -7,7 +7,7 @@ echo '__thread int a; int main (void) { return a; }' \
( ./tlstest || { rm -f tlstest; exit 77; } ) 2>/dev/null || exit 77
SHFLAGS=
case "`uname -m`" in
- ia64|ppc*|x86_64|alpha*|s390*|mips*) SHFLAGS=-fpic;; # Does not support non-pic shared libs
+ ia64|ppc*|x86_64|alpha*|s390*|mips*|arm*) SHFLAGS=-fpic;; # Does not support non-pic shared libs
esac
# Disable this test under SELinux if textrel
test -z "$SHFLAGS" -a -x /usr/sbin/getenforce -a "`/usr/sbin/getenforce`" = Enforcing && exit 77