aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1995-08-22 01:42:11 +0000
committerSteve Chamberlain <sac@cygnus>1995-08-22 01:42:11 +0000
commit739484a32104fbfde09f043ce0eeb1971de172ed (patch)
treeceae7020c8277e256b9028030bdc2676a847f946
parent229ba4b36283713cd54ab440be6a8f3dc5c78ed9 (diff)
downloadgdb-739484a32104fbfde09f043ce0eeb1971de172ed.zip
gdb-739484a32104fbfde09f043ce0eeb1971de172ed.tar.gz
gdb-739484a32104fbfde09f043ce0eeb1971de172ed.tar.bz2
* dlltool.c (options): image-base is a synonym for rva.
-rw-r--r--binutils/ChangeLog4
-rw-r--r--binutils/dlltool.c5
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index 561a867..06cbc5f 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,7 @@
+Mon Aug 21 18:41:28 1995 steve chamberlain <sac@slash.cygnus.com>
+
+ * dlltool.c (options): image-base is a synonym for rva.
+
Sun Aug 20 09:59:00 1995 steve chamberlain <sac@slash.cygnus.com>
Modified to generate archives and objects rather than .s files.
diff --git a/binutils/dlltool.c b/binutils/dlltool.c
index 304d277..39f495f 100644
--- a/binutils/dlltool.c
+++ b/binutils/dlltool.c
@@ -1382,14 +1382,14 @@ usage (file, status)
fprintf (file, "\t --output-lib <outname> Generate input library.\n");
fprintf (file, "\t -l <outname>");
fprintf (file, "\t --dllname <name> Name of input dll to put into output lib.\n");
- fprintf (file, "\t -d <deffile> Name input .def file\n");
- fprintf (file, "\t --def <deffile> \n");
+ fprintf (file, "\t --def <deffile> Name input .def file\n");
fprintf (file, "\t --base-file <basefile> Read linker generated base file\n");
fprintf (file, "\t -b <basefile> \n");
fprintf (file, "\t -v Verbose\n");
fprintf (file, "\t -u Remove leading underscore from .lib\n");
fprintf (file, "\t -k Kill @<n> from exported names\n");
fprintf (file, "\t --rva <value> Set the RVA from the default of 0x400000\n");
+ fprintf (file, "\t -image-base <value> ..ditto..\n");
fprintf (file, "\t -r <value>\n");
fprintf (file, "\t --nodelete Keep temp files.\n");
fprintf (file, "\t -n \n");
@@ -1408,6 +1408,7 @@ static struct option long_options[] =
{"help", no_argument, NULL, 'h'},
{"machine", required_argument, NULL, 'm'},
{"rva", required_argument, NULL, 'r'},
+ {"image-base", required_argument, NULL, 'r'},
{"base-file", required_argument, NULL, 'b'},
0
};