|
@@ -1948,6 +1948,10 @@ static int simplify_symbols(struct module *mod, const struct load_info *info)
|
|
|
|
|
|
switch (sym[i].st_shndx) {
|
|
switch (sym[i].st_shndx) {
|
|
case SHN_COMMON:
|
|
case SHN_COMMON:
|
|
|
|
+ /* Ignore common symbols */
|
|
|
|
+ if (!strncmp(name, "__gnu_lto", 9))
|
|
|
|
+ break;
|
|
|
|
+
|
|
/* We compiled with -fno-common. These are not
|
|
/* We compiled with -fno-common. These are not
|
|
supposed to happen. */
|
|
supposed to happen. */
|
|
pr_debug("Common symbol: %s\n", name);
|
|
pr_debug("Common symbol: %s\n", name);
|