提交 909252d2 编写于 作者: S Sam Ravnborg

kbuild: fix false section mismatch with ARCH=um build

Ignoring references to .init.text, .exit.text from the .plt section brought
the false positives down to two warnings for a defconfig build of ARCH=um
on x86_64.
Signed-off-by: NSam Ravnborg <sam@ravnborg.org>
上级 35899c57
......@@ -822,6 +822,7 @@ static int init_section_ref_ok(const char *name)
".pdr",
"__param",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL
};
/* Start of section names */
......@@ -894,6 +895,7 @@ static int exit_section_ref_ok(const char *name)
".eh_frame",
".stab",
".smp_locks",
".plt", /* seen on ARCH=um build on x86_64. Harmless */
NULL
};
/* Start of section names */
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册