[PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
As Will noticed, the header this check is currently done in is asm-only, and is not meant to be included from C code. This breaks compilation when compiled for a Thumb2-aware CPU. Move the BX check to its own header, and revert 7a246fd. Reported-by: Will Newton Signed-off-by: "Yann E. MORIN" Cc

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
Hello All! On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: > As Will noticed, the header this check is currently done in > is asm-only, and is not meant to be included from C code. > This breaks compilation when compiled for a Thumb2-aware CPU. > > Move the BX check to its own head

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Will Newton
On Thu, Apr 11, 2013 at 10:13 PM, Yann E. MORIN wrote: Hi Yann, > Hello All! > > On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: > > As Will noticed, the header this check is currently done in > > is asm-only, and is not meant to be included from C code. > > This breaks compilatio

Re: [PATCH] arm: move check for BX to its own header

2013-04-11 Thread Yann E. MORIN
Will, All, On Thu, Apr 11, 2013 at 10:18:12PM +0100, Will Newton wrote: > On Thu, Apr 11, 2013 at 10:13 PM, Yann E. MORIN > wrote: > > I was not able to build a libc, due to assembler error messages, > > that were present even before this patch. > > Which errors did you see? I posted a patch to

Re: [PATCH] arm: move check for BX to its own header

2013-04-25 Thread Yann E. MORIN
Hello All, On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: > As Will noticed, the header this check is currently done in > is asm-only, and is not meant to be included from C code. > This breaks compilation when compiled for a Thumb2-aware CPU. > > Move the BX check to its own head

Re: [PATCH] arm: move check for BX to its own header

2014-04-28 Thread Gregory Fong
Yann E. MORIN free.fr> writes: > > Hello All, > > On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: > > As Will noticed, the header this check is currently done in > > is asm-only, and is not meant to be included from C code. > > This breaks compilation when compiled for a Thumb2-aw

Re: [PATCH] arm: move check for BX to its own header

2014-06-12 Thread Bernhard Reutner-Fischer
On Thu, Apr 11, 2013 at 11:02:03PM +0200, Yann E. MORIN wrote: > As Will noticed, the header this check is currently done in > is asm-only, and is not meant to be included from C code. > This breaks compilation when compiled for a Thumb2-aware CPU. > > Move the BX check to its own header, and reve