[PATCH] C6X readelf unwinding table parsing

Paul Brook paul@codesourcery.com
Tue Mar 22 09:31:00 GMT 2011


The attached patch teaches readelf -u how to grok the C6X ABI defined 
unwinding tables.  These are similar to those used by ARM, so much of the code 
is shared.  Notable differences are the handling of PREL31 offsets, different 
unwinding opcodes, and the addition of two more standard personality routines.

Ok?

Paul

2011-03-22  Paul Brook  <paul@codesourcery.com>

	binutils/
	* readelf.c (arm_section_get_word): Handle C6000 relocations.
	(decode_tic6x_unwind_regmask, decode_arm_unwind_bytecode,
	decode_tic6x_unwind_bytecode, expand_prel31): New functions.
	(decode_arm_unwind): Split out common code from ARM specific bits.
	(dump_arm_unwind): Use expand_prel31.
	(arm_process_unwind): Handle SHT_C6000_UNWIND sections.
	(process_unwind): Add SHT_C6000_UNWIND.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch
Type: text/x-patch
Size: 13029 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20110322/5184d100/attachment.bin>


More information about the Binutils mailing list