summaryrefslogblamecommitdiff
path: root/system/binutils/ppc32-pic-required.patch
blob: c9395d9456791ad6277db31de4af7ee60a6c9724 (plain) (tree)






















                                                                                           
On the 32-bit PowerPC target, musl does not support shared libraries without
PIC, because secure-PLT is required.

Upstream-URL: https://sourceware.org/bugzilla/show_bug.cgi?id=30918

--- binutils-2.41/ld/testsuite/ld-shared/shared.exp.old	2023-07-02 23:00:00.000000000 +0000
+++ binutils-2.41/ld/testsuite/ld-shared/shared.exp	2023-09-24 08:44:39.404937347 +0000
@@ -226,6 +226,7 @@
 	setup_xfail "*-*-solaris2*"
 	setup_xfail "ia64-*-linux*"
 	setup_xfail "alpha*-*-linux*"
+	setup_xfail "powerpc-*-linux-musl"
 	setup_xfail "powerpc64*-*-*"
 	if { ![istarget hppa*64*-*-linux*] } {
 	    setup_xfail "hppa*-*-linux*"
@@ -307,6 +308,7 @@
 	    setup_xfail "*-*-solaris2*"
 	    setup_xfail "ia64-*-linux*"
 	    setup_xfail "alpha*-*-linux*"
+	    setup_xfail "powerpc-*-linux-musl"
 	    setup_xfail "powerpc64*-*-*"
 	    if { ![istarget hppa*64*-*-linux*] } {
 		setup_xfail "hppa*-*-linux*"