diff --git a/[refs] b/[refs] index 784241f0fcb1..7e00d3c9a3c0 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: a95bcfac2b5f353f99c6a338d77eb5584ab35d83 +refs/heads/master: fd1db0a31319bd21c521b197ce17c557556b821b diff --git a/trunk/scripts/mod/modpost.c b/trunk/scripts/mod/modpost.c index 757294b4f322..508c5895c680 100644 --- a/trunk/scripts/mod/modpost.c +++ b/trunk/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"