[commit] [PATCH 3/6] DWARF-5 basic functionality

Jan Kratochvil jkratoch@redhat.com
Thu Feb 23 22:12:00 GMT 2017


Hi Nick,

On Wed, 22 Feb 2017 12:47:00 +0100, Nick Clifton wrote:
> The SAFE_BYTE_GET_AND_INC macro will trigger a runtime abort if this
> code is compiled for a 32-bit host (where sizeof base_address == 4) and
> run on DWARF5 information created for a 64-bit target (where 
> pointer_size == 8).

So this is now fixed by checked-in:
	[patch] dwarf.c: Use more dwarf_vma

Checked in as: 77145576fadc4dd2879adf5242b610ebbe30ec30

Fixed there one bug - DWARF-5 DW_UT_type CU did force DW_UT_type (and not
DW_UT_compile) decoding for all the following CUs:
+         if (compunit.cu_unit_type == DW_UT_type)
+           do_types = 1;
->
+         do_types = (compunit.cu_unit_type == DW_UT_type);


Jan
-------------- next part --------------
An embedded message was scrubbed...
From: Jan Kratochvil <jan.kratochvil@redhat.com>
Subject: [PATCH 1/5] DWARF-5 basic functionality
Date: Thu, 23 Feb 2017 22:54:01 +0100
Size: 54962
URL: <https://sourceware.org/pipermail/binutils/attachments/20170223/7af7f986/attachment.eml>


More information about the Binutils mailing list