* [trivial] avoid a warning for each module on s390x
@ 2003-03-03 23:08 Arnd Bergmann
0 siblings, 0 replies; only message in thread
From: Arnd Bergmann @ 2003-03-03 23:08 UTC (permalink / raw)
To: linux-kernel; +Cc: Kai Germaschewski, Trivial Patches
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.
--- linux-2.5.63/scripts/modpost.c Tue Feb 18 18:41:54 2003
+++ linux-s390x/scripts/modpost.c Mon Feb 24 22:42:01 2003
@@ -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 */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2003-03-03 22:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-03 23:08 [trivial] avoid a warning for each module on s390x Arnd Bergmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox