Skip to contentSkip to conversation

Fix linuxloader reference for MIPS*

PATCH Superseded Mark Hatle 1 participant 2 messages Oct 6, 2016

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Mark Hatle

author
#0 lore raw

PATCH 1/1 Fix linuxloader reference for MIPS*

Fix linux loader reference for MIPS*

Note, this patch assumes the previously submitted change for the mipsisa*r6* work has been applied. It's critical that the mips* match is -after- any more specific mips matches.

Mark Hatle (1):
linuxloader.bbclass: Adjust mips to cover all mips/mips64

 meta/classes/linuxloader.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
Signature · 1 line
2.9.3
author
#1 lore raw

PATCH 1/1 linuxloader.bbclass: Adjust mips to cover all mips/mips64

[YOCTO #10389]

Use a glob (*) to match all mips (not previously matched). This will ensure that the linuxloader is properly returned for mips, mipsel, mips64, mips64el and their n32 variants.

See: https://sourceware.org/glibc/wiki/ABIList#mips for the official list of loaders.

---
 meta/classes/linuxloader.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
meta/classes/linuxloader.bbclass +4 -1
index 8d85e6e..4be5503 100644
@@ -1,12 +1,15 @@
 
 linuxloader () {
 	case ${TARGET_ARCH} in
-		powerpc | mips | mipsel | microblaze )
+		powerpc | microblaze )
 			dynamic_loader="${base_libdir}/ld.so.1"
 			;;
 		mipsisa32r6el | mipsisa32r6 | mipsisa64r6el | mipsisa64r6)
 			dynamic_loader="${base_libdir}/ld-linux-mipsn8.so.1"
 			;;
+                mips* )
+			dynamic_loader="${base_libdir}/ld.so.1"
+			;;
 		powerpc64)
 			dynamic_loader="${base_libdir}/ld64.so.1"
 			;;
Signature · 1 line
2.9.3