[patch pe-coff]: Fix output of debug sections in image
Richard Henderson
rth@redhat.com
Mon Sep 20 20:25:00 GMT 2010
More information about the Binutils mailing list
Mon Sep 20 20:25:00 GMT 2010
- Previous message (by thread): [patch pe-coff]: Fix output of debug sections in image
- Next message (by thread): [patch pe-coff]: Fix output of debug sections in image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 09/20/2010 12:33 PM, Kai Tietz wrote: > Hello, > > this patch fixes the output of debugging sections in PE-image. > > ChangeLog bfd > > * coffcode.h (sec_to_styp_flags): Adjust debug > sections to be conform to pe-coff specification > and avoid marking them as excluded. > (styp_to_sec_flags): Doing reverse mapping. > > ChangeLog ld > > * ldlang.c (lang_add_section): Allow for debugging > section to be marked as noload but to keep content. > (IGNORE_SECTION): Likewise. > (lang_check_section_addresses): Likewise. > * ldwrite.c (build_link_order): Likewise. > > Tested for x86_64-w64-mingw32, i686-w64-mingw32, and i686-pc-cygwin. > Ok for apply? I do wonder if the SEC_NEVER_LOAD bits can simply be removed, similar to what Alan did recently for ELF. Otherwise it looks like improvement. I'd like someone else to look at this too, though. r~
- Previous message (by thread): [patch pe-coff]: Fix output of debug sections in image
- Next message (by thread): [patch pe-coff]: Fix output of debug sections in image
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Binutils mailing list