2018-04-11 18:42:03 +00:00
|
|
|
From c626121f38adf6fcd39a5f69249c650b4b52c10d Mon Sep 17 00:00:00 2001
|
2015-07-22 13:44:51 +00:00
|
|
|
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
|
|
|
|
Date: Mon, 13 Jan 2014 21:50:59 -0500
|
2018-07-11 18:57:33 +00:00
|
|
|
Subject: [PATCH] Add .eh_frame to list of relocations stripped
|
2015-07-22 13:44:51 +00:00
|
|
|
|
|
|
|
---
|
|
|
|
conf/Makefile.common | 2 +-
|
|
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
|
|
|
|
diff --git a/conf/Makefile.common b/conf/Makefile.common
|
2018-02-27 18:56:41 +00:00
|
|
|
index 311da61c6c5..044ab3abe88 100644
|
2015-07-22 13:44:51 +00:00
|
|
|
--- a/conf/Makefile.common
|
|
|
|
+++ b/conf/Makefile.common
|
2016-03-04 18:32:29 +00:00
|
|
|
@@ -38,7 +38,7 @@ CFLAGS_KERNEL = $(CFLAGS_PLATFORM) -ffreestanding
|
2015-07-22 13:44:51 +00:00
|
|
|
LDFLAGS_KERNEL = $(LDFLAGS_PLATFORM) -nostdlib $(TARGET_LDFLAGS_OLDMAGIC)
|
|
|
|
CPPFLAGS_KERNEL = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) -DGRUB_KERNEL=1
|
|
|
|
CCASFLAGS_KERNEL = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM)
|
2016-03-04 18:32:29 +00:00
|
|
|
-STRIPFLAGS_KERNEL = -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version -R .MIPS.abiflags -R .ARM.exidx
|
|
|
|
+STRIPFLAGS_KERNEL = -R .eh_frame -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version -R .MIPS.abiflags -R .ARM.exidx
|
2015-07-22 13:44:51 +00:00
|
|
|
|
|
|
|
CFLAGS_MODULE = $(CFLAGS_PLATFORM) -ffreestanding
|
|
|
|
LDFLAGS_MODULE = $(LDFLAGS_PLATFORM) -nostdlib $(TARGET_LDFLAGS_OLDMAGIC) -Wl,-r,-d
|