Skip to content
Snippets Groups Projects
Commit a4594e41 authored by Stefano Babic's avatar Stefano Babic Committed by Albert Aribaud
Browse files

ARM: fix broken build of ARM


Commit 8aba9dce 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: default avatarStefano Babic <sbabic@denx.de>
CC: Jason Liu <liu.h.jason@gmail.com>
CC: lool@dooz.org
CC: Wolfgang Denk <wd@denx.de>
CC: Albert Aribaud <albert.aribaud@free.fr>
Tested-by: default avatarAlexander Holler <holler@ahsoftware.de>
parent fe38434d
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment