Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12-SP1:GA
grub2.1383
grub2-ppc64le-04-powerpc64-LE-s-linker-knows-ho...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File grub2-ppc64le-04-powerpc64-LE-s-linker-knows-how-to-handle-the-undefi.patch of Package grub2.1383
From ccd71bef390c23fa2e513d6144d16d591279d0a2 Mon Sep 17 00:00:00 2001 From: Ram Pai <linuxram@us.ibm.com> Date: Mon, 24 Feb 2014 23:41:41 +0000 Subject: [PATCH 04/23] ignore .TOC. symbol during build powerpc64 LE's linker knows how to handle the undefined symbol .TOC. in grub modules. So just ignore that symbol during build. Signed-off-by: Ram Pai <linuxram@us.ibm.com> --- grub-core/gensyminfo.sh.in | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/grub-core/gensyminfo.sh.in b/grub-core/gensyminfo.sh.in index 2e8716b..7754dc9 100644 --- a/grub-core/gensyminfo.sh.in +++ b/grub-core/gensyminfo.sh.in @@ -34,4 +34,9 @@ else fi # Print all undefined symbols used by module -@TARGET_NM@ -u @TARGET_NMFLAGS_MINUS_P@ -p $module | sed "s@^\([^ ]*\).*@undefined $modname \1@g" +if test x"@GRUB_TARGET_CPU@" = xpowerpc; then + #ignore the special .TOC. symbol on powerpc64le + @TARGET_NM@ -u @TARGET_NMFLAGS_MINUS_P@ -p $module | grep -w -v '.TOC.' +else + @TARGET_NM@ -u @TARGET_NMFLAGS_MINUS_P@ -p $module +fi | sed "s@^\([^ ]*\).*@undefined $modname \1@g" -- 1.8.3.1
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor