public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] ARM: fix broken build of ARM
@ 2011-01-27 16:03 Stefano Babic
  2011-01-27 19:42 ` Alexander Holler
  2011-01-27 22:44 ` Alexander Holler
  0 siblings, 2 replies; 14+ messages in thread
From: Stefano Babic @ 2011-01-27 16:03 UTC (permalink / raw)
  To: u-boot

Commit 8aba9dceebb14144e07d19593111ee3a999c37fc breaks
ARM boards because for ARM the -pie option is used
for partial linking together with -r option.

The patch adds the -pie option to link u-boot.bin only.

Signed-off-by: Stefano Babic <sbabic@denx.de>
CC: Jason Liu <liu.h.jason@gmail.com>
CC: lool at dooz.org
CC: Wolfgang Denk <wd@denx.de>
CC: Albert Aribaud <albert.aribaud@free.fr>

---
 arch/arm/config.mk |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/config.mk b/arch/arm/config.mk
index 4e165bf..a6a4742 100644
--- a/arch/arm/config.mk
+++ b/arch/arm/config.mk
@@ -67,5 +67,5 @@ LDSCRIPT := $(SRCTREE)/$(CPUDIR)/u-boot.lds
 
 # needed for relocation
 ifndef CONFIG_NAND_SPL
-PLATFORM_LDFLAGS += -pie
+LDFLAGS_u-boot += -pie
 endif
-- 
1.7.1

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2011-01-27 22:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-27 16:03 [U-Boot] [PATCH] ARM: fix broken build of ARM Stefano Babic
2011-01-27 19:42 ` Alexander Holler
2011-01-27 20:20   ` Albert ARIBAUD
2011-01-27 20:55     ` Alexander Holler
2011-01-27 21:10       ` Albert ARIBAUD
2011-01-27 21:14         ` Wolfgang Denk
2011-01-27 21:32           ` Albert ARIBAUD
2011-01-27 21:32         ` Alexander Holler
2011-01-27 21:40           ` Albert ARIBAUD
2011-01-27 22:19             ` Alexander Holler
2011-01-27 22:37               ` Albert ARIBAUD
2011-01-27 22:44               ` Stefano Babic
2011-01-27 22:44 ` Alexander Holler
2011-01-27 22:54   ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox