Fix linuxloader reference for MIPS*
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
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.
Signed-off-by Mark Hatle <[email protected]>
--- meta/classes/linuxloader.bbclass | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-)
meta/classes/linuxloader.bbclass +4 -1
@@ -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