From: Tom Rini Date: Tue, 17 Feb 2015 15:22:48 -0500 Subject: [U-Boot] [U-Boot,v1] tools/imagetool: remove linker script In-Reply-To: <1423436770-32399-1-git-send-email-andreas.devel@googlemail.com> References: <1423436770-32399-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <20150217202248.GG11752@bill-the-cat> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Mon, Feb 09, 2015 at 12:06:10AM +0100, Andreas Bie?mann wrote: > Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated > lists for imagetool which is the base for some host tools (mkimage, dumpimage, > et al.). Unfortunately some host tool chains do not support the used type of > linker scripts. Therefore this commit broke these host-tools for them, namely > FreeBSD and Darwin (OS/X). > > This commit tries to fix this. In order to have a clean distinction between host > and embedded code space we need to introduce our own linker generated list > instead of re-using the available linker_lists.h provided functionality. So we > copy the implementation used in linux kernel script/mod/file2alias.c which has > the very same problem (cause it is a host tool). This code also comes with an > abstraction for Mach-O binary format used in Darwin systems. > > Signed-off-by: Andreas Bie?mann > Cc: Guilherme Maciel Ferreira Applied to u-boot/master, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 836 bytes Desc: Digital signature URL: