Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] Fix linuxloader reference for MIPS*
@ 2016-10-06 16:55 Mark Hatle
  2016-10-06 16:55 ` [PATCH] linuxloader.bbclass: Adjust mips to cover all mips/mips64 Mark Hatle
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Hatle @ 2016-10-06 16:55 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
2.9.3



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

* [PATCH] linuxloader.bbclass: Adjust mips to cover all mips/mips64
  2016-10-06 16:55 [PATCH] Fix linuxloader reference for MIPS* Mark Hatle
@ 2016-10-06 16:55 ` Mark Hatle
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Hatle @ 2016-10-06 16:55 UTC (permalink / raw)
  To: openembedded-core

[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.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
---
 meta/classes/linuxloader.bbclass | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/meta/classes/linuxloader.bbclass b/meta/classes/linuxloader.bbclass
index 8d85e6e..4be5503 100644
--- a/meta/classes/linuxloader.bbclass
+++ b/meta/classes/linuxloader.bbclass
@@ -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"
 			;;
-- 
2.9.3



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

end of thread, other threads:[~2016-10-06 16:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-06 16:55 [PATCH] Fix linuxloader reference for MIPS* Mark Hatle
2016-10-06 16:55 ` [PATCH] linuxloader.bbclass: Adjust mips to cover all mips/mips64 Mark Hatle

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox