]>
Commit | Line | Data |
---|---|---|
1 | From: Bernhard Walle <bwalle@suse.de> | |
2 | Subject: [PATCH] Strip L2^B symbols | |
3 | Patch-mainline: never | |
4 | References: bnc #456682 | |
5 | ||
6 | This patches strips all L2^B symbols that happen on s390 only from System.map. | |
7 | We don't need that symbols as this are local labels. It confuses (older) | |
8 | versions of crash and just makes System.map larger. | |
9 | ||
10 | The proper fix needs to be in binutils. However, since the binutils maintainer | |
11 | at SUSE is not cooperative I workarounded this in the kernel. The proper | |
12 | binutils patch is already mainline [1]. | |
13 | ||
14 | ||
15 | Signed-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 |