summaryrefslogtreecommitdiff
path: root/arch/powerpc/config.mk
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2011-04-20 22:11:21 +0200
committerWolfgang Denk <wd@denx.de>2011-04-20 22:11:21 +0200
commit8c4734e9afc0856f297805563e83fb74398b9a16 (patch)
tree5a282c2946d37d985aec9709564faf11793f6c62 /arch/powerpc/config.mk
parent9d8fbd1b20e262a4cfc5da4ee64aebff443d2be8 (diff)
downloadu-boot-8c4734e9afc0856f297805563e83fb74398b9a16.tar.gz
u-boot-8c4734e9afc0856f297805563e83fb74398b9a16.tar.bz2
u-boot-8c4734e9afc0856f297805563e83fb74398b9a16.zip
Revert "PowerPC: Add support for -msingle-pic-base"
This reverts commit 39768f7715ed637ef02f49fc7de664cc1aaf14b3. Reson: it breaks a number of boards with embedded environment as the code size grows in some places.
Diffstat (limited to 'arch/powerpc/config.mk')
-rw-r--r--arch/powerpc/config.mk2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/config.mk b/arch/powerpc/config.mk
index 3afc439e58..e682071bd7 100644
--- a/arch/powerpc/config.mk
+++ b/arch/powerpc/config.mk
@@ -26,8 +26,6 @@ CROSS_COMPILE ?= ppc_8xx-
CONFIG_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