X-Git-Url: http://pilppa.org/gitweb/?a=blobdiff_plain;f=scripts%2Fmod%2Fmodpost.c;h=0a4051fbd34e24116cd55c4e758605ea683348a8;hb=d71fce6b932d83e0a1caa49dfa5a536fd50f07c9;hp=ee58ded021d77d815eaa350207befda54186c008;hpb=e4903fb59590f86190280a549420f6cb85bd7f7e;p=linux-2.6-omap-h63xx.git diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index ee58ded021d..0a4051fbd34 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -709,6 +709,7 @@ static int secref_whitelist(const char *modname, const char *tosec, /* Check for pattern 0 */ if ((strncmp(fromsec, ".text.init.refok", strlen(".text.init.refok")) == 0) || + (strncmp(fromsec, ".exit.text.refok", strlen(".exit.text.refok")) == 0) || (strncmp(fromsec, ".data.init.refok", strlen(".data.init.refok")) == 0)) return 1; @@ -1121,6 +1122,7 @@ static int initexit_section_ref_ok(const char *name) ".machvec", /* ia64 + powerpc uses these */ ".machine.desc", ".opd", /* See comment [OPD] */ + "__dbe_table", ".parainstructions", ".pdr", ".plt", /* seen on ARCH=um build on x86_64. Harmless */