2013/10/11 Albert ARIBAUD <[email protected]>: > (foreword: this is an RFC, and in any case, not intended for > the upcoming 2013.10 release :) therefore I put notes here in the > commit message whereas the first actual patch will have notes below > the comment ('---') line of course.) > > 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. > > NOTES: > > *Please test*! :) > > While the build reports show slightly text/data/bss/size > increases, .bin sizes are actually slightly reduced. Go figure. > > I have not modified the x86 and MIPS lds files, which still /DISCARD/ > unwanted sections. If the maintainers (Cc:ed) wish that I include their > lds files in the patch, just let me know (and please test, too).
good idea. I've pushed an initial patch for MIPS to u-boot-mips/testing. I'll do some testing on weekend. -- Best regards, Daniel _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

