[PATCH v3] kallsyms: add support for relative offsets in kallsyms address table

Andrew Morton akpm at linux-foundation.org
Sat Jan 23 10:43:58 AEDT 2016


On Fri, 22 Jan 2016 15:34:28 -0800 Andrew Morton <akpm at linux-foundation.org> wrote:

> > Support for the above is enabled by default for all architectures except
> > IA-64, whose symbols are too far apart to capture in this manner.
> 
> scripts/kallsyms.c: In function 'record_relative_base':
> scripts/kallsyms.c:744: error: 'ULLONG_MAX' undeclared (first use in this function)
> scripts/kallsyms.c:744: error: (Each undeclared identifier is reported only once
> scripts/kallsyms.c:744: error: for each function it appears in.)
> 
> That's with (ancient) glibc-headers-2.5-3.  It appears that limits.h's
> ULLONG_MAX requires "#ifdef __USE_ISOC99".  I'm not sure what's the
> correct way of turning this on.

Actually, how about we replace it with -1ULL and get on with life.


More information about the Linuxppc-dev mailing list