]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
tools/imagetool: remove linker script
authorAndreas Bießmann <andreas.devel@googlemail.com>
Sun, 8 Feb 2015 23:06:10 +0000 (00:06 +0100)
committerLothar Waßmann <LW@KARO-electronics.de>
Tue, 1 Sep 2015 11:52:20 +0000 (13:52 +0200)
commit7a919df564980595e861155ae48691045b54258a
tree215a315bb00ca6e517e44ae777654ff0dc3ce862
parentdd4e3fa6586580edbf7bfc9218901578b85e745a
tools/imagetool: remove linker script

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 <andreas.devel@googlemail.com>
Cc: Guilherme Maciel Ferreira <guilherme.maciel.ferreira@gmail.com>
Makefile
tools/Makefile
tools/imagetool.c
tools/imagetool.h
tools/imagetool.lds [deleted file]