[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140208121241.GA401@x4>
Date: Sat, 8 Feb 2014 13:12:41 +0100
From: Markus Trippelsdorf <markus@...ppelsdorf.de>
To: Andi Kleen <ak@...ux.intel.com>
Cc: mmarek@...e.cz, linux-kernel@...r.kernel.org,
linux-kbuild@...r.kernel.org
Subject: Re: [PATCH 4/6] kbuild: Support padding in kallsyms tables
On 2014.02.08 at 08:50 +0100, Andi Kleen wrote:
> Add support for padding the variable length tables in kallsyms.
> This adds a new --pad=XXX option to kallsyms to specify the table lengths,
> and another option --pad-file=X to write the table lengths to a file.
> Then when a table is shorter than the padding add the necessary padding
> at the end.
>
> This allows to replace an existing symbol table later with a different
> one that may differ slightly.
>
> Add 5% slack for now in case the prediction is too small
> (can happen with LTO)
With attached config I get:
KSYM .tmp_kallsyms2.o
kallsyms: address pointers padding too short: 24495 missing
OBJCOPY .tmp_kallsyms2.bin
PATCHFILE vmlinux
Not enough padding in vmlinux for new kallsyms, missing 192120
Makefile:840: recipe for target 'vmlinux' failed
--
Markus
View attachment "config" of type "text/plain" (67313 bytes)
Powered by blists - more mailing lists