aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorAndrew Eikum <aeikum@codeweavers.com>2019-10-29 17:07:03 +0000
committerNick Clifton <nickc@redhat.com>2019-10-29 17:07:03 +0000
commit70cf683455e1a3429d517a2e25a36c438474cfde (patch)
tree4782e9620123c07950dfda5c2992a14ca5e05d7e /bfd/libcoff.h
parentefea62b44631289f995db16faf70979d6592580b (diff)
downloadgdb-70cf683455e1a3429d517a2e25a36c438474cfde.zip
gdb-70cf683455e1a3429d517a2e25a36c438474cfde.tar.gz
gdb-70cf683455e1a3429d517a2e25a36c438474cfde.tar.bz2
When copying pe format files, copy the dos_message array, rather than re-initiialising it.
* libcoff-in.h (struct pe_tdata): Add dos_message field. * libcoff.h: Regenerate. * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Copy the dos_message field rather than initialising it. (_bfd_XX_bfd_copy_private_bfd_data_common): Copy the dos_message field. * peicode.h (pe_mkobject): Initialise the dos_message field. (pe_mkobject_hook): Copy the dos_message field. (pe_bfd_object_p): Copy the dos_message field.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index f2613c2..093f1b4 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -131,6 +131,7 @@ typedef struct pe_tdata
int dll;
int has_reloc_section;
int dont_strip_reloc;
+ int dos_message[16];
bfd_boolean insert_timestamp;
bfd_boolean (*in_reloc_p) (bfd *, reloc_howto_type *);
flagword real_flags;