mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-09 04:21:49 +08:00
* config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.
(mips_addr_bits_remove): Declare.
This commit is contained in:
parent
96431497ff
commit
7844472931
@ -68,6 +68,15 @@ extern enum mips_fpu_type mips_fpu;
|
||||
|
||||
#define DEFAULT_MIPS_TYPE "generic"
|
||||
|
||||
/* Remove useless bits from an instruction address. */
|
||||
|
||||
#define ADDR_BITS_REMOVE(addr) mips_addr_bits_remove(addr)
|
||||
CORE_ADDR mips_addr_bits_remove PARAMS ((CORE_ADDR addr));
|
||||
|
||||
/* Remove useless bits from the stack pointer. */
|
||||
|
||||
#define TARGET_READ_SP() ADDR_BITS_REMOVE (read_register (SP_REGNUM))
|
||||
|
||||
/* Offset from address of function to start of its code.
|
||||
Zero on most machines. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user