[U-Boot] [RFC PATCH] ppc4xx: Use gc-sections to reduce image size

2010-09-23 Thread Stefan Roese
This patch enables gc-sections for PPC4xx. This is done to generate smaller U-Boot images. For this the linker script also needs some tweaking: - For example change *(text) to *(text*) - Add KEEP to some of the symbols, especially "resetvec" This patch is tested on the following boards and reduce

Re: [U-Boot] [RFC PATCH] ppc4xx: Use gc-sections to reduce image size

2010-09-24 Thread Detlev Zundel
Hi Stefan, > This patch enables gc-sections for PPC4xx. This is done to > generate smaller U-Boot images. For this the linker script > also needs some tweaking: > > - For example change *(text) to *(text*) > - Add KEEP to some of the symbols, especially "resetvec" > > This patch is tested on the f