modpost: support objects with more than 64k sections
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 28 Jul 2010 23:47:53 +0000 (01:47 +0200)
committerMichal Marek <mmarek@suse.cz>
Tue, 3 Aug 2010 13:05:56 +0000 (15:05 +0200)
This patch makes modpost able to process object files with more than
64k sections. Needed for huge kernel builds (allyesconfig, for example)
with -ffunction-sections. 64k sections handling is covered, for example,
by this document:

"IA-64 gABI Proposal 74: Section Indexes"
http://www.codesourcery.com/public/cxx-abi/abi/prop-74-sindex.html

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Signed-off-by: Anders Kaseorg <andersk@mit.edu>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Andi Kleen <andi@firstfloor.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>

No differences found