scripts/sortextable: support objects with more than 64K sections.
authorJamie Iles <jamie.iles@oracle.com>
Tue, 12 Nov 2013 23:06:51 +0000 (15:06 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 13 Nov 2013 03:09:00 +0000 (12:09 +0900)
commit59c36455d061e200f386e1817362f6afd6265b6a
treeecaf2b9b1282e3ecc24198c56005f79a16740ad1
parenta2529ad9e5bed1935ac30cbe5b53de805485b171
scripts/sortextable: support objects with more than 64K sections.

Building with a large config and -ffunction-sections results in a large
number of sections and sortextable needs to be able to handle that.
Implement support for > 64K sections as modpost does.

Signed-off-by: Jamie Iles <jamie.iles@oracle.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Michal Marek <mmarek@suse.cz>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
scripts/sortextable.c
scripts/sortextable.h