mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-10 10:12:21 +08:00
Handle .gpword and .cpadd only for SVR4_PIC, not != NO_PIC. Still
covered by last ChangeLog entry.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user