This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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~


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]