summaryrefslogtreecommitdiffstats
path: root/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch
diff options
context:
space:
mode:
authorAnuj Mittal <anuj.mittal@intel.com>2019-07-29 11:20:26 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-07-31 13:50:46 +0100
commitcfb190a3c9771b382d994702a6e74bb662bf6a8c (patch)
tree85fc94dbf4ec102b1e86fab99ee1be5ea34ebdf7 /meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch
parent07ba3a1d7320946c22a3dafefcb2aab6b1906b90 (diff)
downloadpoky-cfb190a3c9771b382d994702a6e74bb662bf6a8c.tar.gz
grub: upgrade 2.02 -> 2.04
* For changes in this version, see: http://git.savannah.gnu.org/cgit/grub.git/tree/NEWS?h=grub-2.04 * Remove backported patches and refresh others. * Remove the musl patch as it's no longer needed. * Use configure option --disable-werror instead of passing through CFLAGS. (From OE-Core rev: 07222d213d1da0ccade1c61ed19a7ecdc4966edd) Signed-off-by: Anuj Mittal <anuj.mittal@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch')
-rw-r--r--meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch21
1 files changed, 11 insertions, 10 deletions
diff --git a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch
index ffc2d40d89..26890261b7 100644
--- a/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch
+++ b/meta/recipes-bsp/grub/files/grub-module-explicitly-keeps-symbole-.module_license.patch
@@ -1,13 +1,14 @@
1From 7461a3de38b66edbe2f5593f9bdab9f2704d32bc Mon Sep 17 00:00:00 2001 1From 917133acc701dbc4636165d3b08d15dc5829a06f Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com> 2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Wed, 17 Aug 2016 04:06:34 -0400 3Date: Wed, 17 Aug 2016 04:06:34 -0400
4Subject: [PATCH] grub module explicitly keeps symbole .module_license 4Subject: [PATCH] grub module explicitly keeps symbole .module_license
5 5
6While using oe-core toolchain to strip grub module 'all_video.mod', 6While using oe-core toolchain to strip grub module 'all_video.mod',
7it stripped symbol table: 7it stripped symbol table:
8--------------
9root@localhost:~# objdump -t all_video.mod
10 8
9---------------
10root@localhost:~# objdump -t all_video.mod
11
11all_video.mod: file format elf64-x86-64 12all_video.mod: file format elf64-x86-64
12 13
13SYMBOL TABLE: 14SYMBOL TABLE:
@@ -43,16 +44,16 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
43 grub-core/genmod.sh.in | 2 +- 44 grub-core/genmod.sh.in | 2 +-
44 1 file changed, 1 insertion(+), 1 deletion(-) 45 1 file changed, 1 insertion(+), 1 deletion(-)
45 46
46Index: grub-2.02/grub-core/genmod.sh.in 47diff --git a/grub-core/genmod.sh.in b/grub-core/genmod.sh.in
47=================================================================== 48index 1250589..dd14308 100644
48--- grub-2.02.orig/grub-core/genmod.sh.in 49--- a/grub-core/genmod.sh.in
49+++ grub-2.02/grub-core/genmod.sh.in 50+++ b/grub-core/genmod.sh.in
50@@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; th 51@@ -56,7 +56,7 @@ if test x@TARGET_APPLE_LINKER@ != x1; then
51 if test x@platform@ != xemu; then 52 if test x@platform@ != xemu; then
52 @TARGET_STRIP@ --strip-unneeded \ 53 @TARGET_STRIP@ --strip-unneeded \
53 -K grub_mod_init -K grub_mod_fini \ 54 -K grub_mod_init -K grub_mod_fini \
54- -K _grub_mod_init -K _grub_mod_fini \ 55- -K _grub_mod_init -K _grub_mod_fini \
55+ -K _grub_mod_init -K _grub_mod_fini -K .module_license \ 56+ -K _grub_mod_init -K _grub_mod_fini -K .module_license \
56 -R .note.gnu.gold-version -R .note.GNU-stack \ 57 -R .note.gnu.gold-version -R .note.GNU-stack \
57 -R .note -R .comment -R .ARM.exidx $tmpfile || exit 1 58 -R .gnu.build.attributes \
58 fi 59 -R .rel.gnu.build.attributes \