This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: RFA: broken strip/objcopy
H.J. Lu wrote:
> On Fri, Apr 24, 2009 at 6:00 AM, Kai Tietz <ktietz70@googlemail.com> wrote:
>> Ah, I found the major issue here
>>
>> 2009-04-17 H.J. Lu <hongjiu.lu@intel.com>
>>
>> PR binutils/10074
>>
>> This patch made objcopy and strip for PE-Coff target 32-bit PE only
>
> I am trying to understand where the problem is. pe->pe_opthdr is
> supposed to target independent. Why doesn't it work for w64?
>
It doesn't work on i686-pc-cygwin either. I just updated a cvs tree and
rebuilt it, and now I see:
=== binutils tests ===
-Version /gnu/binutils/obj/binutils/objcopy 2.19.51.20090421
+Version /gnu/binutils/obj/binutils/objcopy 2.19.51.20090424
+FAIL: run objcopy of executable
+FAIL: run stripped executable
+FAIL: run stripped executable with saving a symbol
=== binutils Summary ===
-# of expected passes 92
+# of expected passes 89
+# of unexpected failures 3
# of expected failures 1
# of unsupported tests 2
=== ld tests ===
+FAIL: bootstrap with strip
=== ld Summary ===
-# of expected passes 79
-# of unexpected failures 1
+# of expected passes 77
+# of unexpected failures 3
# of expected failures 7
# of unsupported tests 2
-/gnu/binutils/obj/ld/ld-new 2.19.51.20090421
+/gnu/binutils/obj/ld/ld-new 2.19.51.20090424
After reverting your bfd-pei-page-2.patch, these FAILs disappear.
cheers,
DaveK