On Mon, Jan 18, 2021 at 11:31:37AM -0500, David Edelsohn via Gcc-patches wrote:
> On Mon, Jan 18, 2021 at 6:01 AM Mark Wielaard <m...@klomp.org> wrote:
> >
> > Hi David,
> >
> > On Sun, Jan 17, 2021 at 06:12:06PM -0500, David Edelsohn wrote:
> > >     GCC now defaults to DWARF 5.  AIX only supports DWARF 4 (3.5).
> > >
> > >     This patch overrides the default DWARF version to 4 unless explicitly
> > >     stated.
> > >
> > >     gcc/ChangeLog:
> > >
> > >             * config/rs6000/aix71.h (SUBTARGET_OVERRIDE_OPTIONS): Override
> > >             dwarf_version to 4.
> > >             * config/rs6000/aix72.h (SUBTARGET_OVERRIDE_OPTIONS): Same.
> >
> > Thanks, I hadn't tested against AIX.  Could you also update
> > gcc/doc/invoke.texi (-gdwarf) with the defaults for AIX?
> 
> Other targets override the default DWARF level and I don't see it documented.

We certainly document that Darwin and VxWorks default to dwarf_version 2.
Which other targets do you have in mind?

        Jakub

Reply via email to