diff options
Diffstat (limited to 'arch/powerpc/config.mk')
-rw-r--r-- | arch/powerpc/config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk index 255f3d7..8d72fbd 100644 --- a/arch/powerpc/config.mk +++ b/arch/powerpc/config.mk @@ -26,6 +26,8 @@ CROSS_COMPILE ?= ppc_8xx- STANDALONE_LOAD_ADDR = 0x40000 LDFLAGS_FINAL += --gc-sections PLATFORM_RELFLAGS += -fpic -mrelocatable -ffunction-sections -fdata-sections +PLATFORM_RELFLAGS += $(call cc-option,-msingle-pic-base,) +PLATFORM_RELFLAGS += $(call cc-option,-fno-jump-tables,) PLATFORM_CPPFLAGS += -DCONFIG_PPC -D__powerpc__ PLATFORM_LDFLAGS += -n |