From 1b4bc931cd11e8393a406e65a58af5ec7a637ec7 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Wed, 25 Feb 2015 09:54:48 -0600 Subject: [PATCH] Adjust microMIPS compile options to enable interlinking with 32-bit code --- arch/mips/src/mips32/Toolchain.defs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/arch/mips/src/mips32/Toolchain.defs b/arch/mips/src/mips32/Toolchain.defs index 21974a88ae9..5aeed13bb9e 100644 --- a/arch/mips/src/mips32/Toolchain.defs +++ b/arch/mips/src/mips32/Toolchain.defs @@ -104,12 +104,14 @@ ifeq ($(CONFIG_DEBUG_CUSTOMOPT),y) endif ifeq ($(CONFIG_ARCH_MIPS_M14K),y) - MIPS_MARCH = 24kc - MIPS_MPROCESSOR = elf32pic32mx - MIPS_MICROMIPS = -mmicromips -else MIPS_MARCH = m14k MIPS_MPROCESSOR = elf32pic32mz +# MIPS_MICROMIPS = -mmicromips +# MIPS_MICROMIPS = -mmicromips -minterlink-mips16 -mno-jals + MIPS_MICROMIPS = -mmicromips -minterlink-compressed +else + MIPS_MARCH = 24kc + MIPS_MPROCESSOR = elf32pic32mx MIPS_MICROMIPS = endif