From: Nick Clifton Date: Mon, 1 Oct 2001 16:17:07 +0000 (+0000) Subject: Detect and warn about DWARF64 format .debug_arange sections X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0cea17c5979ee8eacdc4d444ee842a5d1261db8b;p=thirdparty%2Fbinutils-gdb.git Detect and warn about DWARF64 format .debug_arange sections --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index d15a2d958ba..55bfba2940d 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2001-10-01 Nick Clifton + + * readelf.c (display_debug_aranges): Warn about DWARF64 format + .debug_arange sections. + 2001-08-05 Philip Blundell * binutils.texi (objdump): Fix typos. Use "Thumb" not "THUMB". diff --git a/binutils/readelf.c b/binutils/readelf.c index 1ce0eb76ef6..4bfc1d77ec3 100644 --- a/binutils/readelf.c +++ b/binutils/readelf.c @@ -6945,6 +6945,12 @@ display_debug_aranges (section, start, file) arange.ar_pointer_size = BYTE_GET (external->ar_pointer_size); arange.ar_segment_size = BYTE_GET (external->ar_segment_size); + if (arange.ar_length == 0xffffffff) + { + warn (_("DWARF64 aranges not currently supported.\n")); + break; + } + if (arange.ar_version != 2) { warn (_("Only DWARF 2 aranges are currently supported.\n"));