>>>>> "Jakub" == Jakub Jelinek <ja...@redhat.com> writes:

Jakub> The patch below implements that slight change, in particular the
Jakub> "4" suffixes from the op names were dropped,
Jakub> DW_MACINFO_GNU_*_indirect have DW_FORM_udata and DW_FORM_strp
Jakub> arguments now (i.e. DWARF_OFFSET_SIZE large) and
Jakub> DW_MACINFO_GNU_transparent_include has DW_FORM_sec_offset
Jakub> argument (i.e. again 4 bytes long for 32-bit DWARF and 8 bytes
Jakub> long for 64-bit DWARF).  GCC assures that no merging will happen
Jakub> between .debug_macinfo chunks with 32-bit and 64-bit DWARF by
Jakub> adding the byte size in the comdat GROUP name.  I think that's
Jakub> cleaner than hardcoding 4 bytes and not optimizing anything on
Jakub> MIPS.

The .debug_macinfo section doesn't have any header describing its
contents.  How would a consumer know which offset size to use?

Tom

Reply via email to