Re: [PATCH v2] libgcc: AArch64: Check for correct signal insns on BE when unwinding

2013-11-28 Thread Richard Earnshaw
On 27/11/13 10:43, Matthew Leach wrote: > Hi, > > When unwinding the stack, the unwind code checks for two opcodes that > denote a registrations of a signal handler. This is broken on BE as > the opcodes will be in the wrong byte-order as insns are always LE. > > Add the correct checks when compi

[PATCH v2] libgcc: AArch64: Check for correct signal insns on BE when unwinding

2013-11-27 Thread Matthew Leach
Hi, When unwinding the stack, the unwind code checks for two opcodes that denote a registrations of a signal handler. This is broken on BE as the opcodes will be in the wrong byte-order as insns are always LE. Add the correct checks when compiling for AArch64 big endian. This patch fixes all gli

Re: libgcc: AArch64: Check for correct signal insns on BE when unwinding

2013-11-26 Thread Andrew Pinski
On Tue, Nov 26, 2013 at 9:52 AM, Matthew Leach wrote: > Hi, > > When unwinding the stack, the unwind code checks for two opcodes that > denote a registrations of a signal handler. This is broken on BE as > the opcodes will be in the wrong byte-order as insns are always LE. > > Add the correct chec

libgcc: AArch64: Check for correct signal insns on BE when unwinding

2013-11-26 Thread Matthew Leach
Hi, When unwinding the stack, the unwind code checks for two opcodes that denote a registrations of a signal handler. This is broken on BE as the opcodes will be in the wrong byte-order as insns are always LE. Add the correct checks when compiling for AArch64 big endian. This has been tested wit