aboutsummaryrefslogtreecommitdiff
path: root/binutils/doc
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2022-08-23 09:54:52 +0100
committerNick Clifton <nickc@redhat.com>2022-08-23 09:54:52 +0100
commit25ee24d990d6beb3fb01c673fcf13e0ea1522c5b (patch)
tree4f3d5188755d9fd7c0ec8c3c821f4f0751316f53 /binutils/doc
parent179390a3758768968b0c710292b3e166040d2520 (diff)
downloadgdb-25ee24d990d6beb3fb01c673fcf13e0ea1522c5b.zip
gdb-25ee24d990d6beb3fb01c673fcf13e0ea1522c5b.tar.gz
gdb-25ee24d990d6beb3fb01c673fcf13e0ea1522c5b.tar.bz2
Add an option to dlltool to allow the creation of deterministic libraries.
PR 29489 * dlltool.c (deterministic): New variable. (gen_lib_file): If deterministic is true set the BFD_DETERMINISTIC_OUTPUT flag. (usage): Mention --deterministic-libraries and --non-deterministic-libraries. (long_options): Add new options. (main): Parse new options. * doc/binutils.texi: Document the new options. * NEWS: Mention the new feature.
Diffstat (limited to 'binutils/doc')
-rw-r--r--binutils/doc/binutils.texi9
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/doc/binutils.texi b/binutils/doc/binutils.texi
index 41f38f4..f61a619 100644
--- a/binutils/doc/binutils.texi
+++ b/binutils/doc/binutils.texi
@@ -4510,6 +4510,7 @@ dlltool [@option{-d}|@option{--input-def} @var{def-file-name}]
[@option{-v}|@option{--verbose}]
[@option{-h}|@option{--help}] [@option{-V}|@option{--version}]
[@option{--no-leading-underscore}] [@option{--leading-underscore}]
+ [@option{--deterministic-libraries}] [@option{--non-deterministic-libraries}]
[object-file @dots{}]
@c man end
@end smallexample
@@ -4629,6 +4630,14 @@ Specifies the name of the library file to be created by dlltool.
@itemx --output-delaylib @var{filename}
Specifies the name of the delay-import library file to be created by dlltool.
+@item --deterministic-libraries
+@itemx --non-deterministic-libraries
+When creating output libraries in response to either the
+@option{--output-lib} or @option{--output-delaylib} options either use
+the value of zero for any timestamps, user ids and group ids created
+(@option{--deterministic-libraries}) or the actual timestamps, user
+ids and group ids (@option{--non-deterministic-libraries}).
+
@item --export-all-symbols
Treat all global and weak defined symbols found in the input object
files as symbols to be exported. There is a small list of symbols which