* config/tc-mips.c (s_cpsetup): Use '__gnu_local_gp' instead of '_gp'
authorRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 11:56:15 +0000 (11:56 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Wed, 9 Mar 2005 11:56:15 +0000 (11:56 +0000)
for -mno-shared optimization.

gas/ChangeLog
gas/config/tc-mips.c

index cf373d82818d7c787d63ccb391655bfc31c59c34..d47f020b91890aab7b3ee3869c4be0cee3cf159c 100644 (file)
@@ -1,3 +1,8 @@
+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.
index c16125bf13439796209eb0e0fd208e752ff7fff6..655be764c67ff4894e48d4d91b6c2bbd55b26497 100644 (file)
@@ -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;