m68k: Add required definitions to sys/user.h
This commit is contained in:
parent
0df5659285
commit
08b1b36387
@ -1,3 +1,8 @@
|
||||
2010-06-13 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/m68k/sys/user.h (NBPG, UPAGES)
|
||||
(HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Define.
|
||||
|
||||
2010-06-11 Andreas Schwab <schwab@linux-m68k.org>
|
||||
|
||||
* sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Force
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2008 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2008, 2010 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -58,4 +58,9 @@ struct user {
|
||||
char u_comm[32];
|
||||
};
|
||||
|
||||
#define NBPG 4096
|
||||
#define UPAGES 1
|
||||
#define HOST_TEXT_START_ADDR u.start_code
|
||||
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
|
||||
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user