------- Additional Comments From angustia at arrozcru dot no-ip dot org 2006-12-21 04:22 ------- Subject: strip breaks mixed msvc++ (with manifest) and gcc (with debug) generated pei-i386
The following hack re-calculates VirtualAddress for every section (based on previous section) except first one (which is just copied). http://arrozcru.no-ip.org/strip_hack.patch I couldn't find a better place to put it (I tried coff_compute_section_file_positions, but pe_data(abfd)->pe_opthdr.SectionAlignment isn't valid there yet). Now the VirtualAddress fields are consistent with what PE Explorer generates. One new problem is that it seems the resources will also have to be regenerated (PE Explorer does this) to reflect the change of VirtualAddress. I'll start looking into this now. Ramiro Polla -- http://sourceware.org/bugzilla/show_bug.cgi?id=3732 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils