u-boot-brain/arch/sandbox/cpu
Ovidiu Panait a402035028 sandbox: u-boot.lds: Remove bogus __bss_start symbol
The sections described in the sandbox linker script are inserted before
data section via "INSERT BEFORE .data;". Running readelf -S on sandbox
u-boot binary shows that the bss section is located after the data
section:

  Section Headers:
  [Nr] Name              Type             Address           Offset
       Size              EntSize          Flags  Link  Info  Align
  ...
  [25] .u_boot_list      PROGBITS         000000000041d1c8  0021d1c8
       000000000000dd90  0000000000000000  WA       0     0     8
  [26] _u_boot_sandbox_g PROGBITS         000000000042af58  0022af58
       00000000000000a0  0000000000000000  WA       0     0     8
  [27] .data             PROGBITS         000000000042b000  0022b000
       000000000000f708  0000000000000000  WA       0     0     32
  [28] .bss              NOBITS           000000000043a720  0023a708
       0000000000018930  0000000000000000  WA       0     0     32

This means that the __bss_start assignment in the linker script is bogus,
as the actual bss section start is located elsewhere. Remove this
assignment, as the __bss_start symbol is not used on sandbox anyway.

Signed-off-by: Ovidiu Panait <ovidiu.panait@windriver.com>
2020-08-22 08:54:51 -06:00
..
cpu.c common: Drop linux/delay.h from common header 2020-05-18 21:19:23 -04:00
eth-raw-os.c sandbox: Drop use of special os_malloc() where possible 2020-02-05 19:33:46 -07:00
Makefile sandbox: Use 'extras' to specify 'head' files 2018-12-05 06:01:34 -07:00
os.c sandbox: also restore terminal settings when killed by SIGINT 2020-04-16 08:07:57 -06:00
sdl.c sandbox: sdl: Add an option to double the screen size 2020-02-05 19:33:46 -07:00
spl.c common: Drop log.h from common header 2020-05-18 21:19:18 -04:00
start.c common: Drop init.h from common header 2020-05-18 17:33:33 -04:00
state.c sandbox: handling out of memory 2020-07-09 18:57:21 -06:00
u-boot-spl.lds sandbox: u-boot.lds: Remove bogus __bss_start symbol 2020-08-22 08:54:51 -06:00
u-boot.lds sandbox: u-boot.lds: Remove bogus __bss_start symbol 2020-08-22 08:54:51 -06:00