This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
RFC: Change in dwarf2dbg using sizeof_offset
- From: Kai Tietz <Kai dot Tietz at onevision dot com>
- To: binutils at sourceware dot org
- Date: Tue, 29 Jul 2008 12:27:30 +0200
- Subject: RFC: Change in dwarf2dbg using sizeof_offset
Hi,
has I noticed uses dwarf2dbg.c for TC_DWARF2_EMIT_OFFSET in some places
the sizeof 4 bytes instead of sizeof_offset. This is a major problem for
the w64 target, because section relative relocation have to be 64-bit
wide, and there is no useful 32-bit relocation, which could handle this. I
would suggest to change those dw2 types, like DW_AT_stmt_list and the
arange to use sizeof_offset instead.
Is this already a bug, or is this a major change? I saw already comments
about this issue in source code, too.
Cheers,
Kai
| (\_/) This is Bunny. Copy and paste Bunny
| (='.'=) into your signature to help him gain
| (")_(") world domination.