From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Sat, 07 Feb 2015 22:38:17 +0100 Subject: [U-Boot] [RFC PATCH] tools/imagetool: remove linker generated list In-Reply-To: <1423343957-30605-1-git-send-email-andreas.devel@googlemail.com> References: <54D646A4.1060504@googlemail.com> <1423343957-30605-1-git-send-email-andreas.devel@googlemail.com> Message-ID: <54D685C9.2060608@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Thanks, On 02/07/15 22:19, Andreas Bie?mann wrote: > Commit a93648d197df48fa46dd55f925ff70468bd81c71 introduced linker generated > lists for imagetool which is part of mkimage. It is a nice feature to remove > the annoying register function calls, but is not portable. Unfortunately some > host compilers do not support this type of linker scripts. Therefore this > commit broke this host-tool for theem, namely FreeBSD and Darwin (OS/X). > > This commit tries to fix this. We won't go back to the register functions but > we also can not use the linker script. So use another approach copied from > linux kernel scripts/mod/file2alias.c. > > Signed-off-by: Andreas Bie?mann > Cc: Guilherme Maciel Ferreira > I haven't looked into the details yet, but at least things build again on FreeBSD with this patch. And tools/mkimage at least displays a help :) Thanks again, regards Jeroen