提交 b52da2ae 编写于 作者: N Nobuhiro Iwamatsu 提交者: Nobuhiro Iwamatsu

sh: Add KEEP order to start.o section

The start.o section is changed by --gc-section option of ld.
Of this using KEEP order, therefore, evade this problem.
Signed-off-by: NNobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: NNobuhiro Iwamatsu <iwamatsu@nigauri.org>
上级 40c47708
......@@ -38,7 +38,7 @@ SECTIONS
.text :
{
arch/sh/cpu/sh2/start.o (.text)
KEEP(arch/sh/cpu/sh2/start.o (.text))
. = ALIGN(8192);
common/env_embedded.o (.ppcenv)
. = ALIGN(8192);
......
......@@ -44,7 +44,7 @@ SECTIONS
.text :
{
arch/sh/cpu/sh3/start.o (.text)
KEEP(arch/sh/cpu/sh3/start.o (.text))
. = ALIGN(8192);
common/env_embedded.o (.ppcenv)
. = ALIGN(8192);
......
......@@ -41,7 +41,7 @@ SECTIONS
.text :
{
arch/sh/cpu/sh4/start.o (.text)
KEEP(arch/sh/cpu/sh4/start.o (.text))
. = ALIGN(8192);
common/env_embedded.o (.ppcenv)
. = ALIGN(8192);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册