avoid a warning for each module on s390x
s390x has a reference to _GLOBAL_OFFSET_TABLE_ in each module that is resolved by the module loader. This patch prevents modpost from emitting a warning about that symbol.
scripts/modpost.c +3 -0
@@ -289,6 +289,9 @@/* undefined symbol */ if (ELF_ST_BIND (sym->st_info) !=STB_GLOBAL )break ; +/* ignore global offset table */ +if (strcmp (symname,"_GLOBAL_OFFSET_TABLE_" ) ==0 ) +break ; s =alloc_symbol (symname);/* add to list */