Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread David Edelsohn
On Tue, Sep 22, 2015 at 11:29 AM, Richard Henderson wrote: >> @@ -10398,11 +10411,13 @@ output_line_info (bool prologue_only) >>ASM_GENERATE_INTERNAL_LABEL (p1, LN_PROLOG_AS_LABEL, 0); >>ASM_GENERATE_INTERNAL_LABEL (p2, LN_PROLOG_END_LABEL, 0); >> >> +#ifndef XCOFF_DEBUGGING_INFO >>if

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread Richard Henderson
On 09/21/2015 08:41 AM, David Edelsohn wrote: > +#ifndef XCOFF_DEBUGGING_INFO >if (DWARF_INITIAL_LENGTH_SIZE - DWARF_OFFSET_SIZE == 4) > dw2_asm_output_data (4, 0x, >"Initial length escape value indicating 64-bit DWARF extension"); >dw2_asm_output_data (DWARF_OFFSET_SIZ

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread Trevor Saunders
On Tue, Sep 22, 2015 at 10:09:51AM -0400, David Edelsohn wrote: > On Tue, Sep 22, 2015 at 9:54 AM, Trevor Saunders > wrote: > > On Tue, Sep 22, 2015 at 03:16:28PM +0200, Richard Biener wrote: > >> On September 22, 2015 2:38:34 PM GMT+02:00, David Edelsohn > >> wrote: > >> >On Tue, Sep 22, 2015

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread David Edelsohn
On Tue, Sep 22, 2015 at 9:16 AM, Richard Biener wrote: > On September 22, 2015 2:38:34 PM GMT+02:00, David Edelsohn > wrote: >>On Tue, Sep 22, 2015 at 4:12 AM, Richard Biener >> wrote: >>> On Mon, Sep 21, 2015 at 5:41 PM, David Edelsohn >>wrote: Appended is a patch to support DWARF on AIX

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread David Edelsohn
On Tue, Sep 22, 2015 at 9:54 AM, Trevor Saunders wrote: > On Tue, Sep 22, 2015 at 03:16:28PM +0200, Richard Biener wrote: >> On September 22, 2015 2:38:34 PM GMT+02:00, David Edelsohn >> wrote: >> >On Tue, Sep 22, 2015 at 4:12 AM, Richard Biener >> > wrote: >> >> On Mon, Sep 21, 2015 at 5:41 PM,

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread Trevor Saunders
On Tue, Sep 22, 2015 at 03:16:28PM +0200, Richard Biener wrote: > On September 22, 2015 2:38:34 PM GMT+02:00, David Edelsohn > wrote: > >On Tue, Sep 22, 2015 at 4:12 AM, Richard Biener > > wrote: > >> On Mon, Sep 21, 2015 at 5:41 PM, David Edelsohn > >wrote: > >>> Appended is a patch to support

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread Richard Biener
On September 22, 2015 2:38:34 PM GMT+02:00, David Edelsohn wrote: >On Tue, Sep 22, 2015 at 4:12 AM, Richard Biener > wrote: >> On Mon, Sep 21, 2015 at 5:41 PM, David Edelsohn >wrote: >>> Appended is a patch to support DWARF on AIX and works with GDB and >AIX >>> assembler. The AIX assembler pre

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread David Edelsohn
On Tue, Sep 22, 2015 at 4:12 AM, Richard Biener wrote: > On Mon, Sep 21, 2015 at 5:41 PM, David Edelsohn wrote: >> Appended is a patch to support DWARF on AIX and works with GDB and AIX >> assembler. The AIX assembler prepends the CU length to the section >> and does not want the compiler to pro

Re: [PATCH] DWARF support for AIX v3

2015-09-22 Thread Richard Biener
On Mon, Sep 21, 2015 at 5:41 PM, David Edelsohn wrote: > Appended is a patch to support DWARF on AIX and works with GDB and AIX > assembler. The AIX assembler prepends the CU length to the section > and does not want the compiler to provide it, so I need to disable > those parts of dwarf2out.c.

[PATCH] DWARF support for AIX v3

2015-09-21 Thread David Edelsohn
Appended is a patch to support DWARF on AIX and works with GDB and AIX assembler. The AIX assembler prepends the CU length to the section and does not want the compiler to provide it, so I need to disable those parts of dwarf2out.c. I know it's ugly, but, on the upside, this eventually allows GCC