Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-14 Thread Rainer Orth
"Joseph S. Myers" writes: > On Wed, 14 Mar 2012, Rainer Orth wrote: > >> Jason Merrill writes: >> >> > On 03/12/2012 01:41 PM, Joseph S. Myers wrote: >> >> As a *target macro* it makes sense to remove it - reomve it from >> >> defaults.h, make it purely internal to dwarf2out.c. But I think it

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-14 Thread Joseph S. Myers
On Wed, 14 Mar 2012, Rainer Orth wrote: > Jason Merrill writes: > > > On 03/12/2012 01:41 PM, Joseph S. Myers wrote: > >> As a *target macro* it makes sense to remove it - reomve it from > >> defaults.h, make it purely internal to dwarf2out.c. But I think it makes > >> sense to have it inside d

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-14 Thread Rainer Orth
sparc/linux64.h : Remove comment. * config/sparc/linux64.h : Likewise. # HG changeset patch # Parent 1e36853765843a5d65f6a1967bddab425338fd2a Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h --- a/gcc/config/sparc/freebsd.h

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-12 Thread Jason Merrill
On 03/12/2012 02:45 PM, Rainer Orth wrote: What about DWARF_INITIAL_LENGTH_SIZE? Keep it as a macro inside dwarf2out.c, too? Please. Jason

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-12 Thread Rainer Orth
Jason Merrill writes: > On 03/12/2012 01:41 PM, Joseph S. Myers wrote: >> As a *target macro* it makes sense to remove it - reomve it from >> defaults.h, make it purely internal to dwarf2out.c. But I think it makes >> sense to have it inside dwarf2out.c > > Agreed. Fine with me. I've just been

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-12 Thread Jason Merrill
On 03/12/2012 01:41 PM, Joseph S. Myers wrote: As a *target macro* it makes sense to remove it - reomve it from defaults.h, make it purely internal to dwarf2out.c. But I think it makes sense to have it inside dwarf2out.c Agreed. Jason

Re: Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-12 Thread Joseph S. Myers
On Mon, 12 Mar 2012, Rainer Orth wrote: > With the IRIX port gone (shortly), there are no targets that define a > non-default DWARF_OFFSET_SIZE or DWARF_INITIAL_LENGTH_SIZE any longer. > I therefore propose to remove the code handling this. As a *target macro* it makes sense to remove it - reomve

Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE

2012-03-12 Thread Rainer Orth
. Replace DW_FORM_ref by DW_FORM_ref4. # HG changeset patch # Parent 15a86d35ec84fea1404f4ca7d5f98f602c7dd70d Remove DWARF_OFFSET_SIZE, DWARF_INITIAL_LENGTH_SIZE diff --git a/gcc/config/sparc/freebsd.h b/gcc/config/sparc/freebsd.h --- a/gcc/config/sparc/freebsd.h +++ b/gcc/config/sparc/freebsd.h @@ -1,5