[Buildroot] [PATCH] uboot: Use "mdbtrick" target when building elf for ARC
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Sun Jun 12 19:40:40 UTC 2016
Hello,
On Fri, 27 May 2016 20:51:41 +0300, Zakharov Vlad wrote:
> By default position independent executables (PIE) are generated
> when building U-Boot elf target. MetaWare debugger doesn't support
> PIE (position-independent executable).
>
> In order to allow MDB load and run U-Boot elf, we need to do a
> special trick, called "mdbtrick".
>
> This special build target is used to fake generated U-Boot elf by:
> 1. Reset PIE flag in ELF header
> 2. Strip all debug information from elf
>
> Signed-off-by: Zakharov Vlad <vzakhar at synopsys.com>
> ---
> boot/uboot/uboot.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list