qubes-linux-kernel/patches.suse/s390-System.map.diff
2010-07-07 13:12:45 +02:00

31 lines
1.0 KiB
Diff
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From: Bernhard Walle <bwalle@suse.de>
Subject: [PATCH] Strip L2^B symbols
Patch-mainline: never
References: bnc #456682
This patches strips all L2^B symbols that happen on s390 only from System.map.
We don't need that symbols as this are local labels. It confuses (older)
versions of crash and just makes System.map larger.
The proper fix needs to be in binutils. However, since the binutils maintainer
at SUSE is not cooperative I workarounded this in the kernel. The proper
binutils patch is already mainline [1].
Signed-off-by: Bernhard Walle <bwalle@suse.de>
[1] http://article.gmane.org/gmane.comp.gnu.binutils.cvs/12731
---
scripts/mksysmap | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/scripts/mksysmap
+++ b/scripts/mksysmap
@@ -41,5 +41,5 @@
# so we just ignore them to let readprofile continue to work.
# (At least sparc64 has __crc_ in the middle).
-$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2
+$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\(L2\)' > $2