This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 10 Sep 2008 06:35:10 -0000
- Subject: [Bug bootstrap/37441] [4.4 regression] dwarf2 unwind info patches produce undefined symbols
- References: <bug-37441-279@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from jakub at gcc dot gnu dot org 2008-09-10 06:35 -------
There is no way to reference start of FDE when using .cfi_* directives, so
#ifdef MIPS_DEBUGGING_INFO
/* Add a reference to the FDE for this routine. */
add_AT_fde_ref (subr_die, DW_AT_MIPS_fde, current_funcdef_fde);
#endif
references undefined label. I'm afraid at least until some support is added to
gas to handle that, we should:
#ifdef MIPS_DEBUGGING_INFO
return false;
#endif
early in dwarf2out_do_cfi_asm. Wonder why alpha defines MIPS_DEBUGGING_INFO
too
and if e.g. alpha-linux needs to emit DW_AT_MIPS_fde attributes.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37441