From 0b6ae52290bac3fee2f4ce2e435b70b52c932d69 Mon Sep 17 00:00:00 2001 From: Daniel Jacobowitz Date: Tue, 2 Mar 2010 16:44:34 +0000 Subject: * 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. --- binutils/dwarf.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'binutils/dwarf.h') diff --git a/binutils/dwarf.h b/binutils/dwarf.h index 3f68d47..1ad96ab 100644 --- a/binutils/dwarf.h +++ b/binutils/dwarf.h @@ -133,3 +133,6 @@ void *xcrealloc (void *, size_t, size_t); void error (const char *, ...) ATTRIBUTE_PRINTF_1; void warn (const char *, ...) ATTRIBUTE_PRINTF_1; + +unsigned long int read_leb128 (unsigned char *data, + unsigned int *length_return, int sign); -- cgit v1.1