aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2005-03-09 11:56:15 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2005-03-09 11:56:15 +0000
commit4184909a51545bf4b539d9e9e5e03965f0ad1a02 (patch)
tree5bf7d9e04cdebe29d378c45edc1fa811e1069d6c /gas/config/tc-mips.c
parent11db99f84731d2c55bd7b055c52fc7168c365e96 (diff)
downloadgdb-4184909a51545bf4b539d9e9e5e03965f0ad1a02.zip
gdb-4184909a51545bf4b539d9e9e5e03965f0ad1a02.tar.gz
gdb-4184909a51545bf4b539d9e9e5e03965f0ad1a02.tar.bz2
* config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
for -mno-shared optimization.
Diffstat (limited to 'gas/config/tc-mips.c')
-rw-r--r--gas/config/tc-mips.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index c16125b..655be76 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -11824,7 +11824,7 @@ s_cpsetup (int ignore ATTRIBUTE_UNUSED)
expressionS ex;
ex.X_op = O_symbol;
- ex.X_add_symbol = symbol_find_or_make ("_gp");
+ ex.X_add_symbol = symbol_find_or_make ("__gnu_local_gp");
ex.X_op_symbol = NULL;
ex.X_add_number = 0;