diff options
author | Daniel Jacobowitz <drow@false.org> | 2010-03-02 16:44:34 +0000 |
---|---|---|
committer | Daniel Jacobowitz <drow@false.org> | 2010-03-02 16:44:34 +0000 |
commit | 0b6ae52290bac3fee2f4ce2e435b70b52c932d69 (patch) | |
tree | fc6cd2b2b78d553d73ba855284bf18d080ad3365 /binutils/dwarf.h | |
parent | 1ba53b71caf9544b0c1dc040af4052561c32d47b (diff) | |
download | binutils-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.zip binutils-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.tar.gz binutils-0b6ae52290bac3fee2f4ce2e435b70b52c932d69.tar.bz2 |
* 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.
Diffstat (limited to 'binutils/dwarf.h')
-rw-r--r-- | binutils/dwarf.h | 3 |
1 files changed, 3 insertions, 0 deletions
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); |