[PATCH 4/6] kbuild: Support padding in kallsyms tables v2

2014-02-18 Thread Andi Kleen
From: Andi Kleen 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

[PATCH 4/6] kbuild: Support padding in kallsyms tables v2

2014-02-14 Thread Andi Kleen
From: Andi Kleen 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

Re: [PATCH 4/6] kbuild: Support padding in kallsyms tables

2014-02-08 Thread Markus Trippelsdorf
On 2014.02.08 at 09:46 -0800, Andi Kleen wrote: > > 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 19

Re: [PATCH 4/6] kbuild: Support padding in kallsyms tables

2014-02-08 Thread Andi Kleen
> 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 Nice

[PATCH 4/6] kbuild: Support padding in kallsyms tables

2014-02-07 Thread Andi Kleen
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