]> err.no Git - linux-2.6/commit
kbuild: fix segfault in modpost
authorPetr Stetiar <ynezz@true.cz>
Mon, 27 Aug 2007 10:15:07 +0000 (12:15 +0200)
committerSam Ravnborg <sam@neptun.(none)>
Fri, 12 Oct 2007 19:15:30 +0000 (21:15 +0200)
commita83710e584b8ef46fc44472ec6f0c342003416e8
tree621cd4139b63f7a20efc5f29db54a34cfe0f64ea
parent88f567f3a3c1901a40150b43fda87adad1b3e807
kbuild: fix segfault in modpost

Fix modpost segfault.

Before:
-------
ynezz@ntbk:~/linux-2.6.git$ scripts/mod/modpost vmlinux ath_pci.o
Segmentation fault

After:
------
ynezz@ntbk:~/linux-2.6.git$ scripts/mod/modpost vmlinux ath_pci.o
FATAL: section header offset=815726848 in file 'ath_pci.o' is bigger then filesize=153968

Sam: This seems to warn for a binutils issue. Anyway modpost should not
segfault.

Signed-off-by: Petr Stetiar <ynezz@true.cz>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
scripts/mod/modpost.c