This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 compiling for AArch64 big endian.
> 
> This patch fixes all glibc backtrace tests and causes no other
> regressions on glibc.
> 
> Please note that I don't have commit access, if this is OK could
> someone merge it for me?
> 
> Thanks,
> Matt Leach
> 
> libgcc/
> 2013-11-26  Matthew Leach  <matthew.leach@arm.com>
> 
> 	* config/aarch64/linux-unwind.h (aarch64_fallback_frame_state):
> 	Check for correct opcodes on BE.
> 

Thanks, I've put this in.

R.



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]