mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-23 19:50:13 +08:00
* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
(mips_address_bytes): New prototype. * config/tc-mips.c (mips_address_bytes): New function.
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
2010-12-10 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
|
* config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
|
||||||
|
(mips_address_bytes): New prototype.
|
||||||
|
* config/tc-mips.c (mips_address_bytes): New function.
|
||||||
|
|
||||||
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
|
2010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
|
||||||
|
|
||||||
* config/tc-mips.c (mips_ip): Remove dead format specifier code.
|
* config/tc-mips.c (mips_ip): Remove dead format specifier code.
|
||||||
|
@ -1234,6 +1234,15 @@ static const pseudo_typeS mips_nonecoff_pseudo_table[] =
|
|||||||
{ NULL, NULL, 0 },
|
{ NULL, NULL, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
/* Export the ABI address size for use by TC_ADDRESS_BYTES for the
|
||||||
|
purpose of the `.dc.a' internal pseudo-op. */
|
||||||
|
|
||||||
|
int
|
||||||
|
mips_address_bytes (void)
|
||||||
|
{
|
||||||
|
return HAVE_64BIT_ADDRESSES ? 8 : 4;
|
||||||
|
}
|
||||||
|
|
||||||
extern void pop_insert (const pseudo_typeS *);
|
extern void pop_insert (const pseudo_typeS *);
|
||||||
|
|
||||||
void
|
void
|
||||||
|
@ -42,6 +42,9 @@ struct expressionS;
|
|||||||
#define MAX_RELOC_EXPANSION 3
|
#define MAX_RELOC_EXPANSION 3
|
||||||
#define LOCAL_LABELS_FB 1
|
#define LOCAL_LABELS_FB 1
|
||||||
|
|
||||||
|
#define TC_ADDRESS_BYTES mips_address_bytes
|
||||||
|
extern int mips_address_bytes (void);
|
||||||
|
|
||||||
/* Maximum symbol offset that can be encoded in a BFD_RELOC_GPREL16
|
/* Maximum symbol offset that can be encoded in a BFD_RELOC_GPREL16
|
||||||
relocation. */
|
relocation. */
|
||||||
#define MAX_GPREL_OFFSET (0x7FF0)
|
#define MAX_GPREL_OFFSET (0x7FF0)
|
||||||
|
Reference in New Issue
Block a user