aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-mips.h
diff options
context:
space:
mode:
authorThiemo Seufer <ths@networkno.de>2001-08-26 10:42:12 +0000
committerThiemo Seufer <ths@networkno.de>2001-08-26 10:42:12 +0000
commite7d556dfef22edc573b26552828940679ec437ee (patch)
tree2b831ab4e359e2632ef1d94e28730b33549ed4c1 /gas/config/tc-mips.h
parentb92b9cfe73c82c7d0bf61d18aa48a125612ac34f (diff)
downloadgdb-e7d556dfef22edc573b26552828940679ec437ee.zip
gdb-e7d556dfef22edc573b26552828940679ec437ee.tar.gz
gdb-e7d556dfef22edc573b26552828940679ec437ee.tar.bz2
* 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.
Diffstat (limited to 'gas/config/tc-mips.h')
-rw-r--r--gas/config/tc-mips.h2
1 files changed, 1 insertions, 1 deletions
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));