Commit d1189c63 authored by Noam Camus's avatar Noam Camus Committed by Rusty Russell

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: default avatarNoam Camus <noamc@ezchip.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
parent 47490ec1
...@@ -834,6 +834,8 @@ static const char *const section_white_list[] = ...@@ -834,6 +834,8 @@ static const char *const section_white_list[] =
".xt.lit", /* xtensa */ ".xt.lit", /* xtensa */
".arcextmap*", /* arc */ ".arcextmap*", /* arc */
".gnu.linkonce.arcext*", /* arc : modules */ ".gnu.linkonce.arcext*", /* arc : modules */
".cmem*", /* EZchip */
".fmt_slot*", /* EZchip */
".gnu.lto*", ".gnu.lto*",
NULL NULL
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment