u-boot/arch/arm
Joel Stanley 3045d61c1c aspeed/spl: Remove OVERLAY from linker script
The generic arm linker script contains this section:

   .bss __rel_dyn_start (OVERLAY) : {
       ...
   }

The (OVERLAY) syntax in the description causes the .bss section to be
included in the NOR area of the image:

 $ objdump -t -j .bss spl/u-boot-spl
  SYMBOL TABLE:
  0000c61c l    d  .bss	00000000 .bss
  0000c640 l     O .bss	00000040 __value.0
  0000c68c g     O .bss	00000000 __bss_end
  0000c61c g     O .bss	00000000 __bss_start
  0000c680 g     O .bss	0000000c stdio_devices

This is what the custom linker script tries to avoid, as the NOR area is
read-only.

Remove the OVERLAY syntax to fix the BSS location:

 $ objdump -t -j .bss spl/u-boot-spl
  SYMBOL TABLE:
  83000000 l    d  .bss	00000000 .bss
  83000000 l     O .bss	00000040 __value.0
  0000c61c g     O .bss	00000000 __image_copy_end
  8300004c g     O .bss	00000000 __bss_end
  83000000 g     O .bss	00000000 __bss_start
  83000040 g     O .bss	0000000c stdio_devices

This restores the state of the linker script before the patch that fixed
the linker lists issue.

Fixes: f6810b749f ("aspeed/ast2600: Fix SPL linker script")
Signed-off-by: Joel Stanley <joel@jms.id.au>
2022-07-06 14:32:00 -04:00
..
cpu arch/Kconfig.nxp: Re-organize slightly 2022-07-05 17:04:01 -04:00
dts ARM: dts: ast2500: Update SDHCI nodes 2022-07-06 14:31:29 -04:00
include nxp: config_fsl_chain_trust.h: Clean up and remove unused portions 2022-07-05 17:04:01 -04:00
lib Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00
mach-apple
mach-aspeed aspeed/spl: Remove OVERLAY from linker script 2022-07-06 14:32:00 -04:00
mach-at91 First set of u-boot-at91 features for the 2022.10 cycle 2022-06-30 15:21:52 -04:00
mach-bcm283x
mach-bcmbca arm: bcmbca: introduce the bcmbca architecture and 47622 SOC 2022-06-10 13:37:32 -04:00
mach-bcmstb
mach-cortina
mach-davinci spl: Move SPL_LDSCRIPT defaults to one place 2022-06-28 17:03:31 -04:00
mach-exynos arm: samsung: Migrate a number of symbols to Kconfig 2022-06-28 17:04:37 -04:00
mach-highbank
mach-hpe ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00
mach-imx siemens: Move CONFIG_FACTORYSET to Kconfig 2022-06-28 17:04:38 -04:00
mach-integrator
mach-ipq40xx
mach-k3 arm: mach-k3: common: Use ddr_init in spl_enable_dcache 2022-07-06 14:30:08 -04:00
mach-keystone
mach-kirkwood Convert CONFIG_KIRKWOOD_PCIE_INIT et al to Kconfig 2022-07-05 17:05:00 -04:00
mach-lpc32xx
mach-mediatek
mach-meson
mach-mvebu arm: mvebu: Use MVEBU_SPL_BOOT_DEVICE instead of SPL_BOOT_DEVICE 2022-06-06 12:09:29 -04:00
mach-nexell
mach-npcm
mach-octeontx
mach-octeontx2
mach-omap2 siemens: Move CONFIG_FACTORYSET to Kconfig 2022-06-28 17:04:38 -04:00
mach-orion5x linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
mach-owl
mach-qemu
mach-rmobile Migrate CUSTOM_SYS_INIT_SP_ADDR to Kconfig using system-constants.h 2022-06-06 12:09:19 -04:00
mach-rockchip spl: Move SPL_LDSCRIPT defaults to one place 2022-06-28 17:03:31 -04:00
mach-s5pc1xx
mach-snapdragon
mach-socfpga arch: arm: socfpga: timer_s10: Override udelay for secure section 2022-06-17 16:26:52 +08:00
mach-sti stm32mp1: fix reference for STMicroelectronics 2022-06-17 14:12:27 +02:00
mach-stm32
mach-stm32mp Merge branch 'master' into next 2022-06-20 14:40:59 -04:00
mach-sunxi spl: Move SPL_LDSCRIPT defaults to one place 2022-06-28 17:03:31 -04:00
mach-tegra Convert CONFIG_TEGRA_GPU to Kconfig 2022-06-28 17:03:31 -04:00
mach-u8500
mach-uniphier serial: Replace CONFIG_DEBUG_UART_BASE by CONFIG_VAL(DEBUG_UART_BASE) 2022-06-06 18:01:21 -04:00
mach-versal spi: cadence_qspi: Enable apb linear mode for apb read & write operations 2022-06-29 16:00:31 +02:00
mach-versatile
mach-zynq spl: Move SPL_LDSCRIPT defaults to one place 2022-06-28 17:03:31 -04:00
mach-zynqmp arm64: zynqmp: Add debug messages to bl2_plat_get_bl31_params() 2022-06-24 14:11:05 +02:00
mach-zynqmp-r5
thumb1/include/asm/proc-armv
config.mk linker_lists: Rename sections to remove . prefix 2022-06-23 12:58:18 -04:00
Kconfig siemens: Move CONFIG_FACTORYSET to Kconfig 2022-06-28 17:04:38 -04:00
Kconfig.debug
Makefile ARM: hpe: gxp: add core support 2022-06-22 21:30:04 -04:00