------- Comment #20 from j at uriah dot heep dot sax dot de 2006-03-27 20:53 ------- I suggest that this change should be accompanied by another indication in the output that tells the ELF/DWARF-2 consumer about the changed pointer size. Otherwise the consumer will experience "funny" behaviour.
While there are many ELF fields available that are otherwise unused on this architecture (like the OS or ABI fields), there doesn't seem to exist any practical way to modify their contents through the assembler/linker interface. Thus, and after checking other GCC code like the section ".note.GNU-stack" suggested at the end of varasm.c, I think adding something like named_section_flags (".note.DWARF2-32", SECTION_DEBUG); to function avr_file_end() in gcc/config/avr/avr.c appears to be a suitable way to me to flag this information to the potential consumer. -- j at uriah dot heep dot sax dot de changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |j at uriah dot heep dot sax | |dot de http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19087