* NEWS: Document .ARM.exidx / .ARM.extab support.
* dwarf.c (read_leb128): Make non-static. * dwarf.h (read_leb128): Declare. * readelf.c (REMOVE_ARCH_BITS): Define. (find_section_by_address): New. (read_uleb128): Move higher. Use read_leb128 from dwarf.c. (find_symbol_for_address): Handle the Thumb bit for ARM, by using REMOVE_ARCH_BITS. (struct arm_section, struct arm_unw_aux_info, arm_print_vma_and_name) (arm_free_section, arm_section_get_word, decode_arm_unwind) (dump_arm_unwind, arm_process_unwind): New. (process_unwind): Handle ARM.
This commit is contained in:
parent
1ba53b71ca
commit
0b6ae52290
5 changed files with 638 additions and 31 deletions
|
@ -227,7 +227,7 @@ print_dwarf_vma (dwarf_vma val, unsigned byte_size)
|
|||
fputs (buff + (byte_size == 4 ? 8 : 0), stdout);
|
||||
}
|
||||
|
||||
static unsigned long int
|
||||
unsigned long int
|
||||
read_leb128 (unsigned char *data, unsigned int *length_return, int sign)
|
||||
{
|
||||
unsigned long int result = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue