mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-10 05:42:56 +01:00
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: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com> Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
This commit is contained in:
parent
40c477082f
commit
b52da2aed8
3 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue