This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch i386]: Adjust DWARF_OFFSET_SIZE for w64
- From: Richard Henderson <rth at redhat dot com>
- To: Kai Tietz <Kai dot Tietz at onevision dot com>
- Cc: Danny Smith <dansmister at gmail dot com>, "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>, gcc-patches <gcc-patches at gcc dot gnu dot org>, Kai Tietz <ktietz70 at googlemail dot com>, NightStrike <nightstrike at gmail dot com>
- Date: Tue, 09 Sep 2008 13:52:42 -0700
- Subject: Re: [patch i386]: Adjust DWARF_OFFSET_SIZE for w64
- References: <OF7E42B335.AAC29F71-ONC12574BA.0038E9FB-C12574BA.00399928@onevision.de>
Kai Tietz wrote:
Hi,
this patch makes sure, that for w64 target DWARF_OFFSET_SIZE is equal to
POINTER_SIZE. Reasoned by the fact, that for 64-bit coff targets there is
just DIR64 (a 64-bit relocation) available, so the size needs to be
adjusted. For now we use still .secrel32, but we make sure that the change
in binutils will process more smoothly.
Um, does .secrel32 magically emit a 64-bit pointer when the assembler
is in 64-bit mode? I rather would have expected the directive to be
.secrel64 in that case....
r~