[U-Boot] [PATCH 19/27] Blackfin: build with -mno-fdpic
Mike Frysinger
vapier at gentoo.org
Thu Jan 29 01:03:28 CET 2009
Use the -mno-fdpic flag so that any Blackfin toolchain can be used to build
up u-boot, including ones that output FDPIC ELF by default.
Signed-off-by: Mike Frysinger <vapier at gentoo.org>
---
blackfin_config.mk | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/blackfin_config.mk b/blackfin_config.mk
index b2d94d5..f3fcd7a 100644
--- a/blackfin_config.mk
+++ b/blackfin_config.mk
@@ -24,7 +24,7 @@
CONFIG_BFIN_CPU := $(strip $(subst ",,$(CONFIG_BFIN_CPU)))
CONFIG_BFIN_BOOT_MODE := $(strip $(subst ",,$(CONFIG_BFIN_BOOT_MODE)))
-PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer
+PLATFORM_RELFLAGS += -ffixed-P5 -fomit-frame-pointer -mno-fdpic
PLATFORM_CPPFLAGS += -DCONFIG_BLACKFIN
LDFLAGS += --gc-sections
--
1.6.1.1
More information about the U-Boot
mailing list