This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: sparc64 and DWARF2
- From: Richard Henderson <rth at redhat dot com>
- To: Andrew Macleod <amacleod at cygnus dot com>
- Cc: gcc-bugs at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: Sat, 2 Feb 2002 19:34:59 -0800
- Subject: Re: sparc64 and DWARF2
- References: <200201291805.KAA27955@rtl.cygnus.com>
On Tue, Jan 29, 2002 at 10:05:00AM -0800, Andrew Macleod wrote:
> Can we make DWARF2 the default debugging format for sparc64 on
> solaris 2.7+ ?
Yes.
> From solaris 2.7 onward, the system linker has supported DWARF2.
> I've added a sol27-sld-64.h file which removes the
> LINKER_DOES_NOT_WORK_WITH_DWARF2 definition.
First of all, we should not have invented this macro at all.
It suffices to define or undefine DWARF2_DEBUGGING_INFO.
So, if you'll come up with a patch that removes all traces of
LINKER_DOES_NOT_WORK_WITH_DWARF2 and defaults to dwarf2 with
or without gld, I'll approve it.
r~