Hi,
Idx Name Size VMA LMA File off Algn 0 .gnu_debuglink 00000018 00000000 00000000 00000268 2**2
When using a native win32 "PE" editor/format tool like "LordPE" it lists some crap for the first section (containing debug link), all other sections seem ok:
Seems objcopy is messing up the PE section table while adding gnu debug link.
I seem to recall that the PE file format does not allow sections to start at address 0 and that this causes problems for debug sections.
Probably the simplest way to fix this problem is to amend the PE linker script (ld/scripttempl/pe.sc) and add an explicit entry for the .gnu_debuglink section.
If this works, please could you submit a patch so that we can apply it to the mainline sources.
Cheers Nick _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils