mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-11-28 04:25:10 +08:00
* config/mips/nm-riscos.h: Define NBPG and UPAGES.
config/mips/xm-riscos.h: Include <sys/types.h>.
This commit is contained in:
parent
b55cc8a268
commit
e5307300ce
@ -16,6 +16,10 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
|
||||
#define PCB_OFFSET(FIELD) ((int)&((struct user*)0)->u_pcb.FIELD)
|
||||
|
||||
#include <bsd43/machine/vmparam.h>
|
||||
#define NBPG BSD43_NBPG
|
||||
#define UPAGES BSD43_UPAGES
|
||||
|
||||
#define REGISTER_U_ADDR(addr, blockend, regno) \
|
||||
if (regno < FP0_REGNUM) \
|
||||
addr = UPAGES*NBPG-EF_SIZE+4*((regno)+EF_AT-1); \
|
||||
|
@ -25,3 +25,6 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
|
||||
#define MEM_FNS_DECLARED
|
||||
|
||||
#define USG 1
|
||||
|
||||
/* setjmp.h requires uid_t. */
|
||||
#include <sys/types.h>
|
||||
|
Loading…
Reference in New Issue
Block a user