This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
64-bit pei vs dwarf2
- From: Richard Henderson <rth at twiddle dot net>
- To: Jakub Jelinek <jakub at redhat dot com>
- Cc: Kai Tietz <ktietz70 at googlemail dot com>, "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Mon, 27 Sep 2010 17:29:19 -0700
- Subject: 64-bit pei vs dwarf2
The 64-bit PEI format has a SECREL32 relocation type. It
does not, however, have a SECREL64 relocation type. Which
means that for
> #define DWARF_REF_SIZE \
> (dwarf_version == 2 ? DWARF2_ADDR_SIZE : DWARF_OFFSET_SIZE)
we don't really have something to use for for dwarf2.
I could fake it with
.secrel32 ref
.long 0
but it seems better simply to force the use of dwarf3
for this target. Suggestions about how to go about this
within the tangled mess of option processing?
r~