diff options
author | Ian Lance Taylor <ian@airs.com> | 1994-06-15 21:22:43 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1994-06-15 21:22:43 +0000 |
commit | 42792411524b532fae79612d4415a906dc2e8c2b (patch) | |
tree | 669241251ca7cbab3450d3a5ed0ca3c0552edd2b /ld | |
parent | cbbf96082238c535673cea161a643ab9200482f4 (diff) | |
download | gdb-42792411524b532fae79612d4415a906dc2e8c2b.zip gdb-42792411524b532fae79612d4415a906dc2e8c2b.tar.gz gdb-42792411524b532fae79612d4415a906dc2e8c2b.tar.bz2 |
* lexsup.c (parse_args): Accept -static as a synonym for
-non_shared.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 1 | ||||
-rw-r--r-- | ld/lexsup.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index f3f5d6e..adfd39f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -2,6 +2,7 @@ Wed Jun 15 01:54:54 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) * ldmain.c (get_emulation): Ignore -m486 for Linux compatibility. * lexsup.c (parse_args): Ignore -qmagic for Linux compatibility. + Accept -static as a synonym for -non_shared. Let the user change the dynamic linker used by ELF code. * ld.h (args_type): Add new field interpreter. diff --git a/ld/lexsup.c b/ld/lexsup.c index a4c847f..4a0aad4 100644 --- a/ld/lexsup.c +++ b/ld/lexsup.c @@ -104,6 +104,7 @@ parse_args (argc, argv) {"sort-common", no_argument, NULL, OPTION_SORT_COMMON}, {"sort_common", no_argument, NULL, OPTION_SORT_COMMON}, {"stats", no_argument, NULL, OPTION_STATS}, + {"static", no_argument, NULL, OPTION_NON_SHARED}, {"Tbss", required_argument, NULL, OPTION_TBSS}, {"Tdata", required_argument, NULL, OPTION_TDATA}, {"Ttext", required_argument, NULL, OPTION_TTEXT}, |