From mboxrd@z Thu Jan 1 00:00:00 1970 From: Albert ARIBAUD Date: Sat, 15 Nov 2014 13:30:33 +0100 Subject: [U-Boot] Query on CONFIG_SYS_THUMB_BUILD In-Reply-To: References: <5464DC59.2040707@gmail.com> <20141114162643.53b09a8f@lilith> Message-ID: <20141115133033.0ccbc688@lilith> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Simon, On Fri, 14 Nov 2014 18:56:07 -0700, Simon Glass wrote: > > I believe you've built crt0.S for ARM, not Thumb. > > Yes, but I suspect that is a function of the build system. I checked > the rest of U-Boot and most of it (including SPL) is Thumb 2. I > suppose we could use Thumb 2 for crt0.S if all the instructions are > supported. Ok. Just in case, I'll run a check on whether crt0.S can be assembled for Thumb and still wrk as expected. :) Do you have a list of source files which still build for ARM under CONFIG_SYS_THUMB_BUILD? I' would prefer all of the code to be thumb for consistence, except probably... exception :) entry points -- and even these should be able to run in full Thumb 2. > Regards, > Simon Amicalement, -- Albert.