This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch RFA] support 'deterministic mode' in ar


On Tue, Mar 10, 2009 at 01:54, Nick Clifton <nickc@redhat.com> wrote:
> Hi Chris,
>
>> [bfd/ChangeLog]
>> 2009-03-06 ?Chris Demetriou ?<cgd@google.com>
>>
>> ? ? ? ?* bfd.c (BFD_DETERMINISTIC_OUTPUT): New flag.
>> ? ? ? ?* bfd-in2.h: Regenerate.
>> ? ? ? ?* ar.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.c")
>> ? ? ? ?(_bfd_archive_bsd_update_armap_timestamp): If
>> BFD_DETERMINISTIC_OUTPUT
>> ? ? ? ?flag is set, do nothing.
>
>> [binutils/ChangeLog]
>> 2009-03-06 ?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-06 ?Chris Demetriou ?<cgd@google.com>
>>
>> ? ? ? ?* binutils-all/ar.exp (deterministic_archive): New test.
>
> Approved - please apply.

I noticed a bug in the bfd/ChangeLog ("ar.c" should have been
"archive.c").  So, I fixed that, updated to current srcs, retested
(i686-linux build/host/target), and committed.


thanks!

chris


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]