This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [patch ld]: Adding missing .debug_pubtypes section into pe.sc and pep.sc
- From: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- To: Kai Tietz <ktietz70 at googlemail dot com>
- Cc: Binutils <binutils at sourceware dot org>, Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Date: Fri, 26 Jun 2009 18:27:14 +0100
- Subject: Re: [patch ld]: Adding missing .debug_pubtypes section into pe.sc and pep.sc
- References: <90baa01f0906261005x1788c218kd7f07247c3678cd0@mail.gmail.com>
Kai Tietz wrote:
> finally I solved the puzzle about the issues after gcc added the
> ".debug_pubtypes" section. The reason was that this section got placed
> at index 0 in section table. For some reasons the PE-loaded dislikes
> this.
Yes, I just saw this happen for the first time myself late last night.
> I added this new section to the script-templates for pe and pep.
> This solved the final issue here.
Sounds like the right fix to me.
> ChangeLog
>
> 2009-06-26 Kai Tietz <kai.tietz@onevision.com>
>
> * scripttempl/pe.sc (.debug_pubtypes): Added section rule.
> * scripttempl/pep.sc: Likewise.
>
> Patch tested for i686-pc-mingw32, x86_64-pc-mingw32, and
> i686-pc-cygwin without regressions.
>
> Ok for apply?
It looks a little typo'd in the section name:
+ .debug_pubnames
^^^^^
+ *(.debug_pubtypes)
^^^^^
Ok once the section name is fixed to ".debug_pubtypes". Thank you Kai!
cheers,
DaveK