From: Reinhard Meyer Date: Wed, 06 Oct 2010 08:01:08 +0200 Subject: [U-Boot] [PATCH 1/2] arm: implement ELF relocations In-Reply-To: <4CAC0B21.5030602@denx.de> References: <1286307660-7969-1-git-send-email-albert.aribaud@free.fr> <4CAC0B21.5030602@denx.de> Message-ID: <4CAC10A4.30808@emk-elektronik.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert Aribaud, Heiko Schocher, >> ELF relocation tables generated with linker option -pie can >> be used to fixup code and data in a single loop at relocation, >> removing the need for manual fixups anywhere else in the code. To me it looks now like we have dangling use of CONFIG_SKIP_RELOCATE_UBOOT and CONFIG_SYS_ARM_WITHOUT_RELOC all over the source, but it appears to me that they can't really work anymore (I have not tested that). Although I am not happy to have that removed right now (for code size concerns), I would suggest to remove all relocation preventing code which should make the code much more readable. If really required, a new introduction of a define, mainly changing the linker options not to emit relocation information and skipping a few lines of relocation business _could_ be introduced. Best Regards, Reinhard