objcopy embeds the current time and ignores SOURCE_DATE_EPOCH making the output unrep...
authorJohannes Schauer Marin Rodrigues <josch@debian.org>
Mon, 24 Jul 2023 15:59:19 +0000 (16:59 +0100)
committerNick Clifton <nickc@redhat.com>
Mon, 24 Jul 2023 15:59:19 +0000 (16:59 +0100)
commit6badd1020f5bebd3f60a780b8e41a1b581046087
tree0b1d5349acee5860922b00f2bf00c958d34b0d43
parent4701770c57af26fd410f652dc5f742a10d1c54dc
objcopy embeds the current time and ignores SOURCE_DATE_EPOCH making the output unreproducible.

bfd
  * peXXigen.c (_bfd_XXi_only_swap_filehdr_out): If inserting a timestamp, use the value held in the SOURCE_DATE_EPOCH environment variable, if it is defined.
binutils
  * doc/binutils.texi (objcopy): Document change in behaviour of objcopy's --preserve-dates command line option.
ld
  * pe-dll.c (fill_edata): If inserting a timestamp, use the value held in the SOURCE_DATE_EPOCH environment variable, if it is defined.
  * ld.texi (--insert-timestamp): Document change in behaviour.
bfd/ChangeLog
bfd/peXXigen.c
binutils/ChangeLog
binutils/doc/binutils.texi
ld/ChangeLog
ld/ld.texi
ld/pe-dll.c