Эх сурвалжийг харах

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 <noamc@ezchip.com>
Cc: Rusty Russell <rusty@rustcorp.com.au>
Cc: Quentin Casasnovas <quentin.casasnovas@oracle.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Noam Camus 9 жил өмнө
parent
commit
d1189c63ea
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      scripts/mod/modpost.c

+ 2 - 0
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
 };