mirror of
https://git.yoctoproject.org/poky
synced 2026-04-28 15:32:27 +02:00
0002-purgatory-Pass-r-directly-to-linker.patch 0003-kexec-ARM-Fix-add_buffer_phys_virt-align-issue.patch 0005-Disable-PIE-during-link.patch refreshed for 2.0.28 (From OE-Core rev: ad748d0cf6ed87edcd33a13ed8aae11690d4d8ab) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
30 lines
946 B
Diff
30 lines
946 B
Diff
From 494888bcc3bbf070dfce1b2686ee34c8619aa33d Mon Sep 17 00:00:00 2001
|
|
From: Khem Raj <raj.khem@gmail.com>
|
|
Date: Sat, 10 Jun 2017 11:18:49 -0700
|
|
Subject: [PATCH] Disable PIE during link
|
|
|
|
We have explcitly disabled PIE during compile so we
|
|
just need to match it with linker flags
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
---
|
|
purgatory/Makefile | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/purgatory/Makefile b/purgatory/Makefile
|
|
index 6673423..a7405ea 100644
|
|
--- a/purgatory/Makefile
|
|
+++ b/purgatory/Makefile
|
|
@@ -60,7 +60,7 @@ $(PURGATORY): CPPFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS) \
|
|
-Iinclude \
|
|
-I$(shell $(CC) -print-file-name=include)
|
|
$(PURGATORY): LDFLAGS=$($(ARCH)_PURGATORY_EXTRA_CFLAGS)\
|
|
- -Wl,--no-undefined -nostartfiles -nostdlib \
|
|
+ -Wl,--no-undefined -no-pie -nostartfiles -nostdlib \
|
|
-nodefaultlibs -e purgatory_start -Wl,-r \
|
|
-Wl,-Map=$(PURGATORY_MAP)
|
|
|