MIPS: Introduce --gc-sections for MIPS
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Fri, 15 Apr 2011 15:16:44 +0000 (17:16 +0200)
committerShinya Kuribayashi <skuribay@pobox.com>
Mon, 9 May 2011 15:08:10 +0000 (00:08 +0900)
commit660da0947abff3bc98bb0baa37a6db5050ff46d6
tree8586e9594f64d2a366706b3729180e0516a913d6
parent7aa1f198c897e48a011f9f0dca6b3088bc474236
MIPS: Introduce --gc-sections for MIPS

All architectures but MIPS are using --gc-sections on final linking.
This patch introduces that feature for MIPS to reduce the memory and
flash footprint.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Cc: Thomas Lange <thomas@corelatus.se>
Cc: Vlad Lungu <vlad.lungu@windriver.com>
Signed-off-by: Shinya Kuribayashi <skuribay@pobox.com>
arch/mips/config.mk
board/dbau1x00/u-boot.lds
board/gth2/u-boot.lds
board/incaip/u-boot.lds
board/micronas/vct/u-boot.lds
board/pb1x00/u-boot.lds
board/qemu-mips/u-boot.lds
board/tb0229/u-boot.lds
examples/standalone/mips.lds