36e4dce69d
2009-03-11 Chris Demetriou <cgd@google.com> * bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag. * bfd-in2.h: Regenerate. * archive.c (bfd_ar_hdr_from_filesystem): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for uid, gid, and timestamp, and use 0644 for file mode. (bsd_write_armap): Likewise. (_bfd_archive_bsd_update_armap_timestamp): If BFD_DETERMINISTIC_OUTPUT flag is set, do nothing. (coff_write_armap): If BFD_DETERMINISTIC_OUTPUT flag is set, use 0 for timestamp. [binutils/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * ar.c (deterministic): New global variable. (main): Recognize new 'D' option, which enables 'deterministic mode'. (usage): Document new 'D' option. (write_archive): Set BFD_DETERMINISTIC_OUTPUT in output archive's flags if deterministic mode was requested. * doc/binutils.texi (ar): Document deterministic mode ('D' option). [binutils/testsuite/ChangeLog] 2009-03-11 Chris Demetriou <cgd@google.com> * binutils-all/ar.exp (deterministic_archive): New test. |
||
---|---|---|
.. | ||
arm | ||
hppa | ||
m68k | ||
vax | ||
windres | ||
alias.def | ||
ar.exp | ||
bintest.s | ||
copy-1.d | ||
copy-1.s | ||
copy-2.d | ||
copy-3.d | ||
copy-4.d | ||
copytest.s | ||
dlltool.exp | ||
dumptest.s | ||
dw2-compressed.S | ||
empty.s | ||
fastcall.def | ||
group-2.s | ||
group-3.s | ||
group-4.s | ||
group.s | ||
link-order.s | ||
localize-hidden-1.d | ||
localize-hidden-1.s | ||
localize-hidden-2.d | ||
localize-hidden-2.s | ||
needed-by-reloc.s | ||
nm.exp | ||
objcopy.exp | ||
objdump.exp | ||
objdump.s | ||
objdump.W | ||
readelf.exp | ||
readelf.h | ||
readelf.r | ||
readelf.r-64 | ||
readelf.s | ||
readelf.s-64 | ||
readelf.ss | ||
readelf.ss-64 | ||
readelf.ss-mips | ||
readelf.ss-tmips | ||
readelf.wa | ||
size.exp | ||
strip-1.d | ||
strip-2.d | ||
strip-3.d | ||
strip-4.d | ||
strip-5.d | ||
strip-6.d | ||
strip-7.d | ||
strip-8.d | ||
strip-9.d | ||
testprog.c | ||
unknown.s |