diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-02-10 09:20:44 +0300 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2010-04-07 09:10:53 +0400 |
commit | b874ed17472de492cfbf58c8e362364bc80e3dcd (patch) | |
tree | 9859c1fee31d617716ff00695e8ee01e40ba6165 | |
parent | dd97022cbeaae5fd4bce25cf7e86019101a040ef (diff) | |
download | u-boot-b874ed17472de492cfbf58c8e362364bc80e3dcd.tar.xz |
Blackfin: link with normal ABI target
If someone uses the FDPIC toolchain to compile U-Boot, make sure the
linker knows to use the normal ABI target rather than the FDPIC one.
This wasn't needed with older toolchains, but when we fixed the linker
such that the default target changed based on tuple, this broke.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | lib_blackfin/config.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib_blackfin/config.mk b/lib_blackfin/config.mk index 323d28f068..1b5cbbaf29 100644 --- a/lib_blackfin/config.mk +++ b/lib_blackfin/config.mk @@ -23,7 +23,7 @@ CROSS_COMPILE ?= bfin-uclinux- -STANDALONE_LOAD_ADDR = 0x1000 +STANDALONE_LOAD_ADDR = 0x1000 -m elf32bfin CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU))) CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE))) @@ -33,7 +33,7 @@ CONFIG_ENV_SIZE := $(strip $(subst ",,$(CONFIG_ENV_SIZE))) PLATFORM_RELFLAGS += -ffixed-P3 -fomit-frame-pointer -mno-fdpic PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN -LDFLAGS += --gc-sections +LDFLAGS += --gc-sections -m elf32bfin PLATFORM_RELFLAGS += -ffunction-sections -fdata-sections ifneq (,$(CONFIG_BFIN_CPU)) |