diff options
author | Roland McGrath <roland@gnu.org> | 2013-01-07 17:40:59 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2013-01-07 17:40:59 +0000 |
commit | 955d0b3bd758ec9759a6fed1e5121f2a3f9e5f54 (patch) | |
tree | f20730180b886864c1737bf1ec02084640fdeb40 /binutils/doc | |
parent | 45a466b578083a05f1138eff9232254b1a30f683 (diff) | |
download | gdb-955d0b3bd758ec9759a6fed1e5121f2a3f9e5f54.zip gdb-955d0b3bd758ec9759a6fed1e5121f2a3f9e5f54.tar.gz gdb-955d0b3bd758ec9759a6fed1e5121f2a3f9e5f54.tar.bz2 |
binutils/
* objcopy.c (deterministic): Make int rather than bfd_boolean,
initialize to -1.
(strip_options, copy_options): Add -U/--disable-deterministic-archives.
(default_deterministic): New function.
(strip_main, copy_main): Handle -U. Call default_deterministic.
(copy_usage, strip_usage): Describe -U. Cite whether -D or -U is
the default based on DEFAULT_AR_DETERMINISTIC.
* doc/binutils.texi (objcopy, strip): Describe -U and effect of
configure options on -D.
* ar.c (default_deterministic): Comment fix.
Diffstat (limited to 'binutils/doc')
-rw-r--r-- | binutils/doc/binutils.texi | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi index fb1802b..fbe1f06 100644 --- a/binutils/doc/binutils.texi +++ b/binutils/doc/binutils.texi @@ -1069,6 +1069,7 @@ objcopy [@option{-F} @var{bfdname}|@option{--target=}@var{bfdname}] [@option{-R} @var{sectionname}|@option{--remove-section=}@var{sectionname}] [@option{-p}|@option{--preserve-dates}] [@option{-D}|@option{--enable-deterministic-archives}] + [@option{-U}|@option{--disable-deterministic-archives}] [@option{--debugging}] [@option{--gap-fill=}@var{val}] [@option{--pad-to=}@var{address}] @@ -1337,10 +1338,28 @@ as those of the input file. @item -D @itemx --enable-deterministic-archives +@cindex deterministic archives +@kindex --enable-deterministic-archives Operate in @emph{deterministic} mode. When copying archive members and writing the archive index, use zero for UIDs, GIDs, timestamps, and use consistent file modes for all files. +If @file{binutils} was configured with +@option{--enable-deterministic-archives}, then this mode is on by default. +It can be disabled with the @samp{-U} option, below. + +@item -U +@itemx --disable-deterministic-archives +@cindex deterministic archives +@kindex --enable-deterministic-archives +Do @emph{not} operate in @emph{deterministic} mode. This is the +inverse of the @option{-D} option, above: when copying archive members +and writing the archive index, use their actual UID, GID, timestamp, +and file mode values. + +This is the default unless @file{binutils} was configured with +@option{--enable-deterministic-archives}. + @item --debugging Convert debugging information, if possible. This is not the default because only certain debugging formats are supported, and the @@ -2718,6 +2737,7 @@ strip [@option{-F} @var{bfdname} |@option{--target=}@var{bfdname}] [@option{-R} @var{sectionname} |@option{--remove-section=}@var{sectionname}] [@option{-o} @var{file}] [@option{-p}|@option{--preserve-dates}] [@option{-D}|@option{--enable-deterministic-archives}] + [@option{-U}|@option{--disable-deterministic-archives}] [@option{--keep-file-symbols}] [@option{--only-keep-debug}] [@option{-v} |@option{--verbose}] [@option{-V}|@option{--version}] @@ -2810,10 +2830,28 @@ Preserve the access and modification dates of the file. @item -D @itemx --enable-deterministic-archives +@cindex deterministic archives +@kindex --enable-deterministic-archives Operate in @emph{deterministic} mode. When copying archive members and writing the archive index, use zero for UIDs, GIDs, timestamps, and use consistent file modes for all files. +If @file{binutils} was configured with +@option{--enable-deterministic-archives}, then this mode is on by default. +It can be disabled with the @samp{-U} option, below. + +@item -U +@itemx --disable-deterministic-archives +@cindex deterministic archives +@kindex --enable-deterministic-archives +Do @emph{not} operate in @emph{deterministic} mode. This is the +inverse of the @option{-D} option, above: when copying archive members +and writing the archive index, use their actual UID, GID, timestamp, +and file mode values. + +This is the default unless @file{binutils} was configured with +@option{--enable-deterministic-archives}. + @item -w @itemx --wildcard Permit regular expressions in @var{symbolname}s used in other command |