summaryrefslogtreecommitdiffstats
path: root/bfd/libcoff.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-11-22 15:04:23 +0000
committerNick Clifton <nickc@redhat.com>2013-11-22 15:04:23 +0000
commit15b6cd19e80a8e6b9fc86c178fdb03c3bd0ac2fe (patch)
tree8174a893cc8aa0064af82fe87116006c689648d6 /bfd/libcoff.h
parent579cbc8d100dc37627e0562319387755de8626ad (diff)
downloadppe42-binutils-15b6cd19e80a8e6b9fc86c178fdb03c3bd0ac2fe.tar.gz
ppe42-binutils-15b6cd19e80a8e6b9fc86c178fdb03c3bd0ac2fe.zip
* windres.c (define_resource): Use zero for timestamp, making
output deterministic. time.h include is no longer needed. * resres.c (res_append_resource): Likewise. * libcoff-in.h: Add insert_timestamp flag to the pe_data struct. * libcoff.h: Regenerate. * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): Only use a real timestamp if --insert-timestamp was used. * pe-dll.c (fill_edata): Only use a real timestamp if --insert-timestamp was used. * emultempl/pe.em: Add the --insert-timestamp option. * emultempl/pep.em: Likewise for 64bit. * ld.texinfo: Document the --insert-timestamp option.
Diffstat (limited to 'bfd/libcoff.h')
-rw-r--r--bfd/libcoff.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 6270bab86b..19b6d9c8e1 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -3,9 +3,7 @@
Run "make headers" in your build bfd/ to regenerate. */
/* BFD COFF object file private structure.
- Copyright 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
- 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011
- Free Software Foundation, Inc.
+ Copyright 1990-2013 Free Software Foundation, Inc.
Written by Cygnus Support.
This file is part of BFD, the Binary File Descriptor library.
@@ -122,6 +120,7 @@ typedef struct pe_tdata
int dll;
int has_reloc_section;
int dont_strip_reloc;
+ bfd_boolean insert_timestamp;
bfd_boolean (*in_reloc_p) (bfd *, reloc_howto_type *);
flagword real_flags;
} pe_data_type;
OpenPOWER on IntegriCloud