From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] uboot: Use "mdbtrick" target when building elf for ARC
Date: Sun, 12 Jun 2016 21:40:40 +0200 [thread overview]
Message-ID: <20160612214040.4c1aadf4@free-electrons.com> (raw)
In-Reply-To: <1464371501-24130-1-git-send-email-vzakhar@synopsys.com>
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@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
prev parent reply other threads:[~2016-06-12 19:40 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-05-27 17:51 [Buildroot] [PATCH] uboot: Use "mdbtrick" target when building elf for ARC Zakharov Vlad
2016-06-07 9:26 ` Vlad Zakharov
2016-06-12 19:40 ` Thomas Petazzoni [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20160612214040.4c1aadf4@free-electrons.com \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox