nalika / rpms / grub2

Forked from rpms/grub2 2 years ago
Clone

Blame SOURCES/0122-Add-.eh_frame-to-list-of-relocations-stripped.patch

0dc71c
From 9120cc5592d26a945ead586b71820fb9708f5062 Mon Sep 17 00:00:00 2001
0dc71c
From: Fedora Ninjas <grub2-owner@fedoraproject.org>
0dc71c
Date: Mon, 13 Jan 2014 21:50:59 -0500
0dc71c
Subject: [PATCH 122/143] Add .eh_frame to list of relocations stripped
0dc71c
0dc71c
---
0dc71c
 conf/Makefile.common | 2 +-
0dc71c
 1 file changed, 1 insertion(+), 1 deletion(-)
0dc71c
0dc71c
diff --git a/conf/Makefile.common b/conf/Makefile.common
0dc71c
index e4c301f..6f836d8 100644
0dc71c
--- a/conf/Makefile.common
0dc71c
+++ b/conf/Makefile.common
0dc71c
@@ -45,7 +45,7 @@ CFLAGS_KERNEL = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding
0dc71c
 LDFLAGS_KERNEL = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib $(TARGET_LDFLAGS_OLDMAGIC) $(TARGET_LDFLAGS_STATIC_LIBGCC)
0dc71c
 CPPFLAGS_KERNEL = $(CPPFLAGS_CPU) $(CPPFLAGS_PLATFORM) -DGRUB_KERNEL=1
0dc71c
 CCASFLAGS_KERNEL = $(CCASFLAGS_CPU) $(CCASFLAGS_PLATFORM)
0dc71c
-STRIPFLAGS_KERNEL = -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version
0dc71c
+STRIPFLAGS_KERNEL = -R .eh_frame -R .rel.dyn -R .reginfo -R .note -R .comment -R .drectve -R .note.gnu.gold-version
0dc71c
 
0dc71c
 CFLAGS_MODULE = $(CFLAGS_CPU) $(CFLAGS_PLATFORM) -ffreestanding
0dc71c
 LDFLAGS_MODULE = $(LDFLAGS_CPU) $(LDFLAGS_PLATFORM) -nostdlib $(TARGET_LDFLAGS_OLDMAGIC) -Wl,-r,-d
0dc71c
-- 
0dc71c
1.9.3
0dc71c