aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-13 21:00:20 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-13 21:00:20 +0000
commit3e1fd33d8a5ecb574d628948c0eb0b315ab556f4 (patch)
tree4be3a48bed312fd9e5c85f5c03e497032eb0ba75 /ld
parentf24078fd07ce984f6c5c19f0fc59caff3e530e41 (diff)
downloadgdb-3e1fd33d8a5ecb574d628948c0eb0b315ab556f4.zip
gdb-3e1fd33d8a5ecb574d628948c0eb0b315ab556f4.tar.gz
gdb-3e1fd33d8a5ecb574d628948c0eb0b315ab556f4.tar.bz2
* lexsup.c (parse_args): Treat -i as a synonym for -r.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog2
-rw-r--r--ld/lexsup.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 96c6cac..6fd67f4 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,5 +1,7 @@
Mon Jun 13 15:46:09 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com)
+ * lexsup.c (parse_args): Treat -i as a synonym for -r.
+
* ldgram.y (exp): Treat BLOCK as a synonym for ALIGN, so that
BLOCK works in a section address as documented.
diff --git a/ld/lexsup.c b/ld/lexsup.c
index bf2365c..8b1a1cd 100644
--- a/ld/lexsup.c
+++ b/ld/lexsup.c
@@ -231,6 +231,7 @@ parse_args (argc, argv)
case OPTION_OFORMAT:
lang_add_output_format (optarg, 0);
break;
+ case 'i':
case 'r':
link_info.relocateable = true;
config.build_constructors = false;