X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=scripts%2Fmod%2Fmodpost.c;h=508c5895c6808880be73eda7c087e70c48348b80;hb=fd1db0a31319bd21c521b197ce17c557556b821b;hp=757294b4f3222d28dfeef6415f9784a497b23c84;hpb=e3505dd50caf54e6f81f897cb347441409974a15;p=linux-2.6-omap-h63xx.git diff --git a/scripts/mod/modpost.c b/scripts/mod/modpost.c index 757294b4f32..508c5895c68 100644 --- a/scripts/mod/modpost.c +++ b/scripts/mod/modpost.c @@ -721,7 +721,7 @@ static int check_section(const char *modname, const char *sec) /* consume all digits */ while (*e && e != sec && isdigit(*e)) e--; - if (*e == '.') { + if (*e == '.' && !strstr(sec, ".linkonce")) { warn("%s (%s): unexpected section name.\n" "The (.[number]+) following section name are " "ld generated and not expected.\n"