* config/tc-mips.c (mips_in_shared): New static variable.
commite32342b035075975a44a35c1f8f5524394da0355
authorIan Lance Taylor <ian@airs.com>
Fri, 10 Dec 2004 19:48:21 +0000 (10 19:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 10 Dec 2004 19:48:21 +0000 (10 19:48 +0000)
treef90d2d89a0bd66cbc69194ead1f8520a7b7e059f
parentef96654756806bec36a574b1e654be0b2236c42b
* config/tc-mips.c (mips_in_shared): New static variable.
(macro_build_lui): Permit "_gp" if !mips_in_shared.
(md_longopts): Add -mshared and -mno-shared.
(md_parse_option): Handle OPTION_MSHARED and OPTION_MNO_SHARED.
(s_cpload): Implement !mips_in_shared case.
(s_cpsetup): Likewise.
* doc/c-mips.texi (MIPS Opts): Document -mno-shared.
* NEWS: Mention -mno-shared.
gas/ChangeLog
gas/NEWS
gas/config/tc-mips.c
gas/doc/c-mips.texi