summaryrefslogtreecommitdiff
path: root/binutils/dwarf.c
diff options
context:
space:
mode:
authorDaniel Jacobowitz <dan@debian.org>2010-03-02 16:44:33 +0000
committerDaniel Jacobowitz <dan@debian.org>2010-03-02 16:44:33 +0000
commitf2cd057f2b6d229a31be8152670ca8cd64351a25 (patch)
treeea4594cef787ee93850f6f7105c81fa72d41d41d /binutils/dwarf.c
parent6affa6cc3786e4dabdf47f11ce12a3a9dfe65812 (diff)
downloadbinutils-redhat-f2cd057f2b6d229a31be8152670ca8cd64351a25.tar.gz
* 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.c')
-rw-r--r--binutils/dwarf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/dwarf.c b/binutils/dwarf.c
index 0e14332271..e51aa647e5 100644
--- a/binutils/dwarf.c
+++ b/binutils/dwarf.c
@@ -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;