MIPS: optimize and fix ELF sections
authorDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Sun, 6 Jan 2019 19:42:43 +0000 (20:42 +0100)
committerDaniel Schwierzeck <daniel.schwierzeck@gmail.com>
Wed, 16 Jan 2019 12:56:43 +0000 (13:56 +0100)
commit2fdadc0f82431d8b5249257cc1651d32c473895b
tree4e081a03acbb2906319d374d45481ffdab21b44c
parent4deb09632d8046a68c0636371816477cfbcb70dd
MIPS: optimize and fix ELF sections

Discard ABI related sections which are not required for debugging.
Rearrange debug sections similar to Linux. Remove the remaining
explicitely specified sections in the unused part because those
sections are not created anymore or because the linker puts them
by default at the end of the ELF binary.

Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
Tested-by: Ezequiel Garcia <ezequiel@collabora.com>
arch/mips/cpu/u-boot-spl.lds
arch/mips/cpu/u-boot.lds