modpost: fix modpost warnings for xtensa
Max Filippov [Mon, 17 Sep 2012 01:44:38 +0000 (05:44 +0400)]
Suppress warnings for two informational sections (.xt.lit and .xt.prop)
used by the Xtensa architecture.

Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: Chris Zankel <chris@zankel.net>

scripts/mod/modpost.c

index 68e9f5e..00f7512 100644 (file)
@@ -827,6 +827,8 @@ static const char *section_white_list[] =
        ".note*",
        ".got*",
        ".toc*",
+       ".xt.prop",                              /* xtensa */
+       ".xt.lit",         /* xtensa */
        NULL
 };