64-bit pei vs dwarf2
Richard Henderson
rth@twiddle.net
Tue Sep 28 10:44:00 GMT 2010
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~
More information about the Gcc
mailing list