From 669c4b246c4e46fcc054557efbb378dd47f9283d Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Mon, 9 Oct 1995 05:19:27 +0000 Subject: [PATCH] Don't claim that `ranlib -t' is useful. Our ld is derived from gnu ld which doesn't check the timestamp on __.SYMDEF. gnu ld is designed to work with gnu ar which doesn't even have a ranlib option (gnu ar updates __.SYMDEF automatically if __.SYMDEF already exists, so gnu ld expects __.SYMDEF to be up to date if it exists). --- usr.bin/ranlib/ranlib.1 | 3 ++- usr.bin/ranlib/ranlib.1aout | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.bin/ranlib/ranlib.1 b/usr.bin/ranlib/ranlib.1 index bd95cd27ac6..c5bdf37a9b4 100644 --- a/usr.bin/ranlib/ranlib.1 +++ b/usr.bin/ranlib/ranlib.1 @@ -54,7 +54,8 @@ The options are as follows: .Bl -tag -width indent .It Fl t Set the modification time of the __.SYMDEF file. -This time is compared by the loader with the modification time of the +Some loaders (but not the FreeBSD one) +compared this time with the modification time of the archive to verify that the table is up-to-date with respect to the archive. If the modification time has been changed without any change to the diff --git a/usr.bin/ranlib/ranlib.1aout b/usr.bin/ranlib/ranlib.1aout index bd95cd27ac6..c5bdf37a9b4 100644 --- a/usr.bin/ranlib/ranlib.1aout +++ b/usr.bin/ranlib/ranlib.1aout @@ -54,7 +54,8 @@ The options are as follows: .Bl -tag -width indent .It Fl t Set the modification time of the __.SYMDEF file. -This time is compared by the loader with the modification time of the +Some loaders (but not the FreeBSD one) +compared this time with the modification time of the archive to verify that the table is up-to-date with respect to the archive. If the modification time has been changed without any change to the