Condition default value for CONFIG_ARMV7M_TARGET2_PREL on UCLIBCXX_EXCEPTION

This commit is contained in:
Gregory Nutt 2015-06-01 15:12:33 -06:00
parent 2e78f2235b
commit 1c816c1d19

View File

@ -108,7 +108,8 @@ config ARMV7M_OABI_TOOLCHAIN
config ARMV7M_TARGET2_PREL
bool "R_ARM_TARGET2 is PC relative"
default n
default n if !UCLIBCXX_EXCEPTION
default y if UCLIBCXX_EXCEPTION
depends on ELF
---help---
Perform a PC relative relocation for relocation type R_ARM_TARGET2