]> 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)
commit440d5c870f6001b0a28c0a29d26414e7bd2bb3cf
treedf29f8479dedda8939f680998aa857e4ebd1d176
parentb6d7895b1433f7899367f78aeacb99739cd0a687
mod/file2alias: make modpost compile on darwin again

commit 017b5918bf81dc2b432543fabad9d0365ce238ca 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