From 44ed2c81899fcfcc3deb6f547bfbd3ecdc48c22b Mon Sep 17 00:00:00 2001 From: zzw Date: Thu, 15 Mar 2018 11:01:09 +0800 Subject: [PATCH] fix mbed-ci build error L6216E fix mbed-ci build error L6216E * (.ARM.exidx) and *(.init_array) must be placed explicitly, otherwise it is shared between two regions, and the linker is unable to decide where to place it. --- .../TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct | 2 ++ 1 file changed, 2 insertions(+) diff --git a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct index 1b9ee2aeb0..6080041b2f 100644 --- a/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct +++ b/targets/TARGET_Realtek/TARGET_AMEBA/TARGET_RTL8195A/device/TOOLCHAIN_ARM_STD/rtl8195a.sct @@ -18,6 +18,8 @@ LR_IRAM 0x10007000 (0x70000 - 0x7000) { } ER_IRAM +0 FIXED { + *(.ARM.exidx) + *(.init_array) *rtl8195a_crypto*.o (+RO) *(i.mbedtls*) *libc.a (+RO)