From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michal Simek Date: Wed, 29 Jan 2014 16:37:31 +0100 Subject: [U-Boot] "arm: keep all sections in ELF file" breaks Zynq In-Reply-To: <52B62382.2050001@linaro.org> References: <52B06CA1.3020303@linaro.org> <52B06E0A.1020507@ti.com> <52B071FA.8010806@calxeda.com> <52B0747C.9070503@ti.com> <52B1ABCC.8080000@linaro.org> <20131221114635.1fa82bba@lilith> <52B600AC.6010105@linaro.org> <52B62382.2050001@linaro.org> Message-ID: <52E9203B.6000405@monstr.eu> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, I have also problem with this patch but from the other side. Tool for booting image generation expects that LOAD section is the first. That's why I have to remove PHDR, INTERP sections. Not sure about DYNAMIC section which is also there but behind LOAD section. I can easily create zynq private linker script but maybe there is better way how to remove these section for us via LDFLAGS_FINAL in config.mk. Unfortunatelly I haven't found how to do it. Can someone know if it is possible to remove some sections via ld command line? Thanks, Michal -- Michal Simek, Ing. (M.Eng), OpenPGP -> KeyID: FE3D1F91 w: www.monstr.eu p: +42-0-721842854 Maintainer of Linux kernel - Microblaze cpu - http://www.monstr.eu/fdt/ Maintainer of Linux kernel - Xilinx Zynq ARM architecture Microblaze U-BOOT custodian and responsible for u-boot arm zynq platform -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 263 bytes Desc: OpenPGP digital signature URL: