]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbbd4197d3a26dfaeb24f02df98780bb60785a685
treedf29f8479dedda8939f680998aa857e4ebd1d176
parentdd6556a9d67d0ae3a0ffc9b802f62bc566c7ac7a
mod/file2alias: make modpost compile on darwin again

commit 27225d60e5ace0d5ad42124daca97a232ca0186a 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>
scripts/mod/file2alias.c