bfd/
authorJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 10 Aug 2009 21:38:36 +0000 (21:38 +0000)
committerJan Kratochvil <jan.kratochvil@redhat.com>
Mon, 10 Aug 2009 21:38:36 +0000 (21:38 +0000)
commite39e47bd251f5e5958750244d01eeb55b5e8bb1e
treea4e67e0d9c225a7fc707a0ce0477eed5e271b7d4
parent0561d57c86bcec2cb9203d682a636928a6ea1352
bfd/
Fix go32 stub preservation by objcopy.
* coff-stgo32.c (adjust_filehdr_in_post): Use bfd_malloc.
(go32_stubbed_coff_bfd_copy_private_bfd_data): Optionally allocate OBFD
go32stub.

ld/testsuite/
Test go32 stub preservation by objcopy.
* ld-i386/i386.exp (go32 stub, go32 stub patch the source)
(go32 stub objcopy, go32 stub comparison after objcopy): New.
bfd/ChangeLog
bfd/coff-stgo32.c
ld/testsuite/ChangeLog
ld/testsuite/ld-i386/i386.exp