[Buildroot] [PATCH v2 4/4] arch: define appropriate ld emulation values for the MIPS architecture

Jan Heylen heyleke at gmail.com
Tue Apr 5 19:45:21 UTC 2016


based upon patch from Thomas Petazzoni:
http://thread.gmane.org/gmane.comp.lib.uclibc.buildroot/60942
---
 arch/Config.in.mips | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/arch/Config.in.mips b/arch/Config.in.mips
index fda1a1d..37e4bf6 100644
--- a/arch/Config.in.mips
+++ b/arch/Config.in.mips
@@ -83,3 +83,11 @@ config BR2_GCC_TARGET_ABI
 	default "32"		if BR2_MIPS_OABI32
 	default "n32"		if BR2_MIPS_NABI32
 	default "64"		if BR2_MIPS_NABI64
+
+config BR2_LD_TARGET_EMULATION
+	default "elf64ltsmip"		if  BR2_mips64el && BR2_MIPS_NABI64
+	default "elf64btsmip"		if  BR2_mips64   && BR2_MIPS_NABI64
+	default "elf32ltsmipn32"	if  BR2_mips64el && BR2_MIPS_NABI32
+	default "elf32btsmipn32"	if  BR2_mips64   && BR2_MIPS_NABI32
+	default "elf32ltsmip"		if (BR2_mips64el && BR2_MIPS_OABI32) || BR2_mipsel
+	default "elf32btsmip"		if (BR2_mips64   && BR2_MIPS_OABI32) || BR2_mips
-- 
2.5.0



More information about the buildroot mailing list