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