From: Ian Lance Taylor Date: Wed, 23 Mar 1994 00:43:48 +0000 (+0000) Subject: Handle .gpword and .cpadd only for SVR4_PIC, not != NO_PIC. Still X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7dfa376e9b17fe9316eca2dd550481b8d939840f;p=binutils-gdb.git Handle .gpword and .cpadd only for SVR4_PIC, not != NO_PIC. Still covered by last ChangeLog entry. --- diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 275c7e03822..ffc034ee441 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;