* config/tc-mips.c (mips_in_shared): New static variable.
authorIan Lance Taylor <ian@airs.com>
Fri, 10 Dec 2004 19:48:21 +0000 (19:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 10 Dec 2004 19:48:21 +0000 (19:48 +0000)
commitaa6975fbb31187d739eeb94d715c0118e2425937
treebc611f4894169fcba7fd058df1f24dd990d98333
parent01926a693560658e7293190549a9c2cee946811a
* 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