mod/file2alias: make modpost compile on darwin again
authorAndreas Bießmann <andreas@biessmann.de>
Fri, 24 Feb 2012 07:23:53 +0000 (08:23 +0100)
committerRusty Russell <rusty@rustcorp.com.au>
Sun, 26 Feb 2012 23:59:31 +0000 (10:29 +1030)
commit e49ce14150c64b29a8dd211df785576fa19a9858 breaks cross compiling
the linux kernel on darwin hosts.
This fix introduce some minimal glue to adopt linker section handling
for darwin hosts.

Signed-off-by: Andreas Bießmann <andreas@biessmann.de>
CC: Rusty Russell <rusty@rustcorp.com.au>
CC: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
CC: Jochen Friedrich <jochen@scram.de>
CC: Samuel Ortiz <sameo@linux.intel.com>
CC: "K. Y. Srinivasan" <kys@microsoft.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Tested-by: Bernhard Walle <bernhard@bwalle.de>

No differences found