mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-08-05 21:50:21 +08:00
* 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.
This commit is contained in:
@ -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));
|
||||
|
Reference in New Issue
Block a user