]> git.sur5r.net Git - u-boot/commit
arm: keep all sections in ELF file
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Thu, 7 Nov 2013 13:21:46 +0000 (14:21 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Sat, 7 Dec 2013 05:53:58 +0000 (06:53 +0100)
commit47ed5dd031d7d2c587e6afd386e79ccec1a1b7f7
treeee44012f0dbdab4ea6f4f4434dfa85974b659329
parent3064d599afaed1e601479efa372a6e83d4ea9deb
arm: keep all sections in ELF file

Current LDS files /DISCARD/ a lot of sections when linking ELF
files, causing diagnostic tools such as readelf or objdump to
produce partial output. Keep all section at link stage, filter
only at objcopy time so that .bin remains minimal.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
Reviewed-by: Benoît Thébaudeau <benoit.thebaudeau@advansee.com>
14 files changed:
Makefile
arch/arm/config.mk
arch/arm/cpu/arm926ejs/mxs/u-boot-spl.lds
arch/arm/cpu/arm926ejs/spear/u-boot-spl.lds
arch/arm/cpu/ixp/u-boot.lds
arch/arm/cpu/u-boot-spl.lds
arch/arm/cpu/u-boot.lds
board/actux1/u-boot.lds
board/actux2/u-boot.lds
board/actux3/u-boot.lds
board/dvlhost/u-boot.lds
board/freescale/mx31ads/u-boot.lds
board/ti/am335x/u-boot.lds
board/vpac270/u-boot-spl.lds