public inbox for prelink@sourceware.org
 help / color / mirror / Atom feed
* [ARM prelink 3/3] Adjust tests for ARM
@ 2009-03-04  1:45 Joseph S. Myers
  2009-03-11 12:01 ` Jakub Jelinek
  0 siblings, 1 reply; 2+ messages in thread
From: Joseph S. Myers @ 2009-03-04  1:45 UTC (permalink / raw)
  To: prelink

This is the third of three patches with various fixes to the
prelinker's ARM support.  This one adds ARM to the list of
architectures requiring shared libraries to be PIC.  Please commit if
OK.

2009-03-04  Joseph Myers  <joseph@codesourcery.com>

	* testsuite/reloc2.sh, testsuite/tls3.sh: Add ARM to architectures
	requiring PIC shared libraries.

diff -rupN prelink.tls/testsuite/reloc2.sh prelink.tests/testsuite/reloc2.sh
--- prelink.tls/testsuite/reloc2.sh	2009-03-03 17:05:15.000000000 -0800
+++ prelink.tests/testsuite/reloc2.sh	2009-03-03 17:27:46.000000000 -0800
@@ -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 -rupN prelink.tls/testsuite/tls3.sh prelink.tests/testsuite/tls3.sh
--- prelink.tls/testsuite/tls3.sh	2009-03-03 17:05:15.000000000 -0800
+++ prelink.tests/testsuite/tls3.sh	2009-03-03 17:28:00.000000000 -0800
@@ -7,7 +7,7 @@ echo '__thread int a; int main (void) { 
 ( ./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

-- 
Joseph S. Myers
joseph@codesourcery.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ARM prelink 3/3] Adjust tests for ARM
  2009-03-04  1:45 [ARM prelink 3/3] Adjust tests for ARM Joseph S. Myers
@ 2009-03-11 12:01 ` Jakub Jelinek
  0 siblings, 0 replies; 2+ messages in thread
From: Jakub Jelinek @ 2009-03-11 12:01 UTC (permalink / raw)
  To: Joseph S. Myers; +Cc: prelink

On Wed, Mar 04, 2009 at 01:44:53AM +0000, Joseph S. Myers wrote:
> This is the third of three patches with various fixes to the
> prelinker's ARM support.  This one adds ARM to the list of
> architectures requiring shared libraries to be PIC.  Please commit if
> OK.

All the 3 ARM patches are now in SVN (in addition to fixing PPC64).
Sorry for the delay.

	Jakub

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-11 12:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-04  1:45 [ARM prelink 3/3] Adjust tests for ARM Joseph S. Myers
2009-03-11 12:01 ` Jakub Jelinek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).