You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
qubes-linux-kernel/patches.suse/s390-System.map.diff

31 lines
1.0 KiB

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

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