]> git.ipfire.org Git - ipfire-2.x.git/blame - src/patches/suse-2.6.27.31/patches.suse/s390-System.map.diff
Add a patch to fix Intel E100 wake-on-lan problems.
[ipfire-2.x.git] / src / patches / suse-2.6.27.31 / patches.suse / s390-System.map.diff
CommitLineData
6a930a95
BS
1From: Bernhard Walle <bwalle@suse.de>
2Subject: [PATCH] Strip L2^B symbols
3Patch-mainline: never
4References: bnc #456682
5
6This patches strips all L2^B symbols that happen on s390 only from System.map.
7We don't need that symbols as this are local labels. It confuses (older)
8versions of crash and just makes System.map larger.
9
10The proper fix needs to be in binutils. However, since the binutils maintainer
11at SUSE is not cooperative I workarounded this in the kernel. The proper
12binutils patch is already mainline [1].
13
14
15Signed-off-by: Bernhard Walle <bwalle@suse.de>
16
17[1] http://article.gmane.org/gmane.comp.gnu.binutils.cvs/12731
18---
19 scripts/mksysmap | 2 +-
20 1 file changed, 1 insertion(+), 1 deletion(-)
21
22--- a/scripts/mksysmap
23+++ b/scripts/mksysmap
24@@ -41,5 +41,5 @@
25 # so we just ignore them to let readprofile continue to work.
26 # (At least sparc64 has __crc_ in the middle).
27
28-$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)' > $2
29+$NM -n $1 | grep -v '\( [aNUw] \)\|\(__crc_\)\|\( \$[adt]\)\|\(L2\ 2\)' > $2
30