aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-03-23 00:43:48 +0000
committerIan Lance Taylor <ian@airs.com>1994-03-23 00:43:48 +0000
commit7dfa376e9b17fe9316eca2dd550481b8d939840f (patch)
tree534b9dbe49cb2fcea21d6dfc312079ea768e1c3e /gas
parent51f839331913d9cb9f221ce36e4f18e9e7876e57 (diff)
downloadgdb-7dfa376e9b17fe9316eca2dd550481b8d939840f.zip
gdb-7dfa376e9b17fe9316eca2dd550481b8d939840f.tar.gz
gdb-7dfa376e9b17fe9316eca2dd550481b8d939840f.tar.bz2
Handle .gpword and .cpadd only for SVR4_PIC, not != NO_PIC. Still
covered by last ChangeLog entry.
Diffstat (limited to 'gas')
-rw-r--r--gas/config/tc-mips.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c
index 275c7e0..ffc034e 100644
--- a/gas/config/tc-mips.c
+++ b/gas/config/tc-mips.c
@@ -5641,7 +5641,7 @@ s_gpword (ignore)
char *p;
/* When not generating PIC code, this is treated as .word. */
- if (mips_pic == NO_PIC)
+ if (mips_pic != SVR4_PIC)
{
s_cons (2);
return;
@@ -5680,7 +5680,7 @@ s_cpadd (ignore)
int reg;
/* This is ignored when not generating SVR4 PIC code. */
- if (mips_pic == NO_PIC)
+ if (mips_pic != SVR4_PIC)
{
s_ignore (0);
return;