From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Wed, 28 Jan 2009 19:03:28 -0500 Subject: [U-Boot] [PATCH 19/27] Blackfin: build with -mno-fdpic In-Reply-To: <1233187416-22378-1-git-send-email-vapier@gentoo.org> References: <1233187416-22378-1-git-send-email-vapier@gentoo.org> Message-ID: <1233187416-22378-20-git-send-email-vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- 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