* lexsup.c (parse_args): Accept -static as a synonym for
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 21:22:43 +0000 (21:22 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 21:22:43 +0000 (21:22 +0000)
-non_shared.

ld/ChangeLog
ld/lexsup.c

index f3f5d6eee38cd590c40381091e9d60f43789d474..adfd39f3af3a5137ea856a42e82e4195c361daa8 100644 (file)
@@ -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.
index a4c847f1ad2b3027f6525cd553fff1b0671b3af2..4a0aad42e5dfdf0da21b701096d868f9724419aa 100644 (file)
@@ -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},