From e7d556dfef22edc573b26552828940679ec437ee Mon Sep 17 00:00:00 2001 From: Thiemo Seufer Date: Sun, 26 Aug 2001 10:42:12 +0000 Subject: * tc_mips.h (MAX_GPREL_OFFSET): Change it to the maximum allowed value, not the word beyond maximum. * tc_mips.c (macro_build_lui): Code cleanup. (macro): Reflect change to MAX_GPREL_OFFSET. (mips_ip): Check explicitly against S_EX_NONE. (my_get_SmallExpression): parse for %gp_rel, not %gprel. (md_apply_fix): Code cleanup. --- gas/config/tc-mips.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gas/config/tc-mips.h') diff --git a/gas/config/tc-mips.h b/gas/config/tc-mips.h index 7e52940..1358cc8 100644 --- a/gas/config/tc-mips.h +++ b/gas/config/tc-mips.h @@ -47,7 +47,7 @@ struct expressionS; /* Maximum symbol offset that can be encoded in a BFD_RELOC_MIPS_GPREL relocation: */ -#define MAX_GPREL_OFFSET (0x7FF4) +#define MAX_GPREL_OFFSET (0x7FF0) #define md_relax_frag(segment, fragp, stretch) mips_relax_frag(fragp, stretch) extern int mips_relax_frag PARAMS ((struct frag *, long)); -- cgit v1.1