Re: 64-bit pei vs dwarf2

2010-09-28 Thread Richard Henderson
On 09/28/2010 09:50 AM, Kai Tietz wrote: > 2010/9/28 Richard Henderson : >> On 09/28/2010 03:09 AM, Kai Tietz wrote: >>> * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Output >>> addition zero for padding of secrel32 requested for 8 bytes. >>> >>> I will apply this today, if

Re: 64-bit pei vs dwarf2

2010-09-28 Thread Kai Tietz
2010/9/28 Richard Henderson : > On 09/28/2010 03:09 AM, Kai Tietz wrote: >>           * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Output >>           addition zero for padding of secrel32 requested for 8 bytes. >> >> I will apply this today, if there aren't any objections. > > I've committed

Re: 64-bit pei vs dwarf2

2010-09-28 Thread Richard Henderson
On 09/28/2010 03:09 AM, Kai Tietz wrote: > * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Output > addition zero for padding of secrel32 requested for 8 bytes. > > I will apply this today, if there aren't any objections. I've committed the following instead, which I think

Re: 64-bit pei vs dwarf2

2010-09-28 Thread Andrew Haley
On 09/28/2010 11:09 AM, Kai Tietz wrote: > ChangeLog > > 2010-09-28 Kai Tietz > > * config/i386/cygming.h (ASM_OUTPUT_DWARF_OFFSET): Output > addition zero for padding of secrel32 requested for 8 bytes. > > I will apply this today, if there aren't any objections. Please do

Re: 64-bit pei vs dwarf2

2010-09-28 Thread Kai Tietz
2010/9/28 Jakub Jelinek : > On Mon, Sep 27, 2010 at 05:29:19PM -0700, Richard Henderson wrote: >> The 64-bit PEI format has a SECREL32 relocation type.  It >> does not, however, have a SECREL64 relocation type.  Which >> means that for >> >> > #define DWARF_REF_SIZE  \ >> >   (dwarf_version == 2 ?

Re: 64-bit pei vs dwarf2

2010-09-28 Thread Jakub Jelinek
On Mon, Sep 27, 2010 at 05:29:19PM -0700, Richard Henderson wrote: > The 64-bit PEI format has a SECREL32 relocation type. It > does not, however, have a SECREL64 relocation type. Which > means that for > > > #define DWARF_REF_SIZE \ > > (dwarf_version == 2 ? DWARF2_ADDR_SIZE : DWARF_OFFSET_S

Re: 64-bit pei vs dwarf2

2010-09-27 Thread Kai Tietz
2010/9/28 Kai Tietz : > 2010/9/28 Richard Henderson : >> The 64-bit PEI format has a SECREL32 relocation type.  It >> does not, however, have a SECREL64 relocation type.  Which >> means that for >> >>> #define DWARF_REF_SIZE  \ >>>   (dwarf_version == 2 ? DWARF2_ADDR_SIZE : DWARF_OFFSET_SIZE) >> >>

Re: 64-bit pei vs dwarf2

2010-09-27 Thread Kai Tietz
2010/9/28 Richard Henderson : > The 64-bit PEI format has a SECREL32 relocation type.  It > does not, however, have a SECREL64 relocation type.  Which > means that for > >> #define DWARF_REF_SIZE  \ >>   (dwarf_version == 2 ? DWARF2_ADDR_SIZE : DWARF_OFFSET_SIZE) > > we don't really have something

Re: 64-bit pei vs dwarf2

2010-09-27 Thread Dave Korn
On 28/09/2010 01:29, Richard Henderson wrote: > The 64-bit PEI format has a SECREL32 relocation type. It > does not, however, have a SECREL64 relocation type. Which > means that for > >> #define DWARF_REF_SIZE \ >> (dwarf_version == 2 ? DWARF2_ADDR_SIZE : DWARF_OFFSET_SIZE) > > we don't real