aboutsummaryrefslogtreecommitdiff
path: root/gas
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
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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-mips.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cf373d8..d47f020 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+ * config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
+ for -mno-shared optimization.
+
+2005-03-09 Richard Sandiford <rsandifo@redhat.com>
+
* config/tc-mips.c (MAX_VR4130_NOPS, MAX_DELAY_NOPS): New macros.
(MAX_NOPS): Bump to 4.
(mips_fix_vr4130): New variable.
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;