aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-bsp/u-boot/u-boot-rockchip/binutils-2.28-ld-fix.patch
blob: b3f6795b30f00e40c41530132b3691b25e451824 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: git/arch/arm/config.mk
===================================================================
--- git.orig/arch/arm/config.mk
+++ git/arch/arm/config.mk
@@ -89,7 +89,7 @@ PLATFORM_LIBS := arch/arm/lib/eabi_compa
 endif

 # needed for relocation
-LDFLAGS_u-boot += -pie
+LDFLAGS_u-boot += -N -pie

 #
 # FIXME: binutils versions < 2.22 have a bug in the assembler where