Patch: merge src and gcc copies of dwarf2.h

Tom Tromey tromey@redhat.com
Tue Jun 30 00:18:00 GMT 2009
>>>>> "Ian" == Ian Lance Taylor <iant@google.com> writes:

>> +  tem = ((unsigned int) loc->dw_loc_opc << 1) | loc->dtprel;
>> +  CHECKSUM (tem);

Ian> This appears to change the checksum, which probably doesn't matter too
Ian> much, but since it can appear in a .o file it seems to me that we might
Ian> as well keep the same checksum, as in
Ian>   tem = (loc->dtprel << 8) | ((unsigned int) loc->dw_loc_opc);

Oops, I did not realize this could end up in the .o.

Ian> This patch is OK for gcc with that change.

Thanks.  I made this change and will check it in soon.
I'll post the corresponding src patch sometime soon.

Tom



More information about the Binutils mailing list