From: Tom Rini Date: Mon, 14 Aug 2017 17:15:31 -0400 Subject: [U-Boot] [PATCH 2/2] hello_world.c: fix entry point in case of arm thumb binary In-Reply-To: <20170812090346.7887-3-max.krummenacher@toradex.com> References: <20170812090346.7887-1-max.krummenacher@toradex.com> <20170812090346.7887-3-max.krummenacher@toradex.com> Message-ID: <20170814211531.GN20467@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 Sat, Aug 12, 2017 at 11:03:46AM +0200, Max Krummenacher wrote: > If compiling for thumb the U-Boot 'go' command can not jump to the entry > point, as the jump will be done in the assumption that the code jumped to > is using the arm instruction set. > > So add add a simple forwarder in arm instruction set which then jumps > to the 'real' entry. > > Signed-off-by: Max Krummenacher This looks like a special case of what we're doing in f99993c10882 and dc89c6fb778e and perhaps we need to move that kind of fixup around to somewhere else, as I assume you've found this problem on a custom application? Or are you utilizing hello_world in some test suites? Just curious, thanks! -- Tom -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 819 bytes Desc: Digital signature URL: