diff options
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r-- | gas/config/tc-mips.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index 6b2c3dc..13982a6 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -136,9 +136,13 @@ extern int mips_fix_adjustable PARAMS ((struct fix *)); /* When generating embedded PIC code we must keep PC relative relocations. */ -#define TC_FORCE_RELOCATION(fixp) mips_force_relocation (fixp) +#define TC_FORCE_RELOCATION(FIX) mips_force_relocation (FIX) extern int mips_force_relocation PARAMS ((struct fix *)); +#define TC_FORCE_RELOCATION_SUB_SAME(FIX, SEG) \ + (mips_force_relocation (FIX) \ + || !SEG_NORMAL (SEG)) + /* Register mask variables. These are set by the MIPS assembly code and used by ECOFF and possibly other object file formats. */ extern unsigned long mips_gprmask; |