u-boot-brain/arch
Thomas Petazzoni f40ad66fa0 arch/sh: don't bring common/env_embedded.o into the link
The linker script for SuperH brings the .ppcenv and .ppcenvr section
of common/env_embedded.o into the .text section. However, the .ppcenv
section is only ever filled in by env_embedded.o when
CONFIG_SYS_USE_PPCENV is defined, but no platforms in mainline U-Boot
use this.

In addition, common/env_embedded.o is not always built (when you use
CONFIG_ENV_IS_NOWHERE for example), which causes the following build
failure:

Fixes:

  LD      u-boot
/home/thomas/sh4aeb-linux-musl/bin/sh4aeb-linux-ld.bfd: cannot find common/env_embedded.o

We fix this by no longer adding the .ppcenv and .ppcenvr sections from
common/env_embedded.o into the .text section.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
2017-08-26 07:40:36 +09:00
..
arc env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
arm ARM: dts: uniphier: add dr_mode property to dwc3 node 2017-08-20 23:07:02 +09:00
m68k m68k: add board stmark2, mcf5441x based 2017-08-18 01:26:52 +02:00
microblaze env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
mips env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nds32 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
nios2 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
powerpc env: Rename some other getenv()-related functions 2017-08-16 08:31:11 -04:00
sandbox sandbox: remove os_putc() and os_puts() 2017-07-28 12:02:47 -06:00
sh arch/sh: don't bring common/env_embedded.o into the link 2017-08-26 07:40:36 +09:00
x86 env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
xtensa env: Rename getenv/_f() to env_get() 2017-08-16 08:30:24 -04:00
.gitignore .gitignore: drop include/asm/proc from ignore pattern 2014-06-19 11:18:54 -04:00
Kconfig Convert CONFIG_CMD_ZBOOT to Kconfig 2017-08-11 17:44:53 -04:00