summaryrefslogtreecommitdiffstats
path: root/arch/ia64
diff options
context:
space:
mode:
authorTejun Heo <tj@kernel.org>2009-02-06 00:48:02 +0900
committerIngo Molnar <mingo@elte.hu>2009-02-05 20:25:43 +0100
commit56fc82c5360cdf0b250b5eb74f38657b0402faa5 (patch)
treed574e2561849aa76a5caac6cf2e791f524e33b7b /arch/ia64
parent130ace11a9dc682541336d1fe5cb3bc7771a149e (diff)
downloadlinux-56fc82c5360cdf0b250b5eb74f38657b0402faa5.tar.gz
linux-56fc82c5360cdf0b250b5eb74f38657b0402faa5.tar.bz2
linux-56fc82c5360cdf0b250b5eb74f38657b0402faa5.zip
modpost: NOBITS sections may point beyond the end of the file
Impact: fix link failure on certain toolchains with specific configs Recent percpu change made x86_64 split .data.init section into three separate segments - data.init, percpu and data.init2. data.init2 gets .data.nosave and .bss.* and is followed by .notes segment. Depending on configuration both segments might contain no data, in which case the tool chain makes the section header to contain offset beyond the end of the file. modpost isn't too happy about it and fails build - as reported by Pawel Dziekonski: Building modules, stage 2. MODPOST 416 modules FATAL: vmlinux is truncated. sechdrs[i].sh_offset=10354688 > sizeof(*hrd)=64 make[1]: *** [__modpost] Error 1 Teach modpost that NOBITS section may point beyond the end of the file and that .modinfo can't be NOBITS. Reported-by: Pawel Dziekonski <dzieko@gmail.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'arch/ia64')
0 files changed, 0 insertions, 0 deletions