[Crash-utility] [PATCH] Filter out s390(x) symbols that are local labels

Dave Anderson anderson at redhat.com
Thu Jan 15 19:09:43 UTC 2009


----- "Bernhard Walle" <bwalle at suse.de> wrote:

> Because s390 kernel System.map contains symbols that repeat very
> often
> 
>     grep -c 'L2^B1$' System.map-2.6.27.7-4-default
>     276
> 
> and the limit for symbols with the same name in get_syment_array() is 200,
> we filter out that symbols by modifying s390_verify_symbol() and s390x_verify_symbol().
> 
> The symbols are not needed in crash anyway, because that are only local
> labels and not global symbols needed by crash.
> 
> This is is a workaround. Andreas Krebbel already worked to resolve the problem
> in binutils which prevents that symbols from being included in System.map.
> http://sourceware.org/ml/binutils/2009-01/msg00181.html
> 
> However, since there are kernels (all 2.6.28 at least) out that contain that
> problem, we should also workaround that in crash in my opinion.

Queued for the next release.

Thanks,
  Dave




More information about the Crash-utility mailing list