From: Noam Camus Date: Mon, 26 Oct 2015 09:21:46 +0000 (+1030) Subject: scripts: [modpost] add new sections to white list X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=d1189c63ea5e3272dc390a83e1235f142b739eb4;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git scripts: [modpost] add new sections to white list In our ARC toolchain the default linker script includes special sections used for code and data located in special fast memory. To avoid warnings we add these sections i.e. .cmem* and .fmt_slot* to white list. Signed-off-by: Noam Camus Cc: Rusty Russell Cc: Quentin Casasnovas Signed-off-by: Rusty Russell --- diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index b2ae8afc1ab1..e080746e1a6b 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -834,6 +834,8 @@ static const char *const section_white_list[] = ".xt.lit", /* xtensa */ ".arcextmap*", /* arc */ ".gnu.linkonce.arcext*", /* arc : modules */ + ".cmem*", /* EZchip */ + ".fmt_slot*", /* EZchip */ ".gnu.lto*", NULL };