This is the mail archive of the gcc-patches@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]

Re: [patch] Remove LINKER_DOES_NOT_WORK_WITH_DWARF2.


HI Jason,

> > AFAICT, the lack of DWARF2 can be described by #undef
> > DWARF2_DEBUGGING_INFO, and that's what I see in sparc/sol26-sld.h.
> 
> I disagree; doing that also disables -gdwarf-2, whereas
> LINKER_DOES_NOT_WORK_WITH_DWARF2 just changed the meaning of -g and -ggdb.
> That way, someone could install the GNU binutils later and choose DWARF
> explicitly, without needing to rebuild the compiler.
> 
> But I suppose it doesn't matter much.

Either way, the current state is not good because the macro is
described as doing something useful even though it's not used anywhere
in GCC.  IMHO, we either have to revert Richard's patch or apply my
patch.

Kazu Hirata


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