[IA64] Fix BZ17792 - Remove fixed page size macros and others
Commit Message
Fix BZ17792.
Remove IA64 PAGE_SIZE related macros as PAGE_SIZE is not defined.
Also remove macros that are only used for BFD's trad-core support
which is not relavant for IA64 according to the thread starting
here:
https://sourceware.org/ml/libc-ports/2013-11/msg00028.html
This patch is neither built nor tested but is equivalent to a MIPS
patch for the same fix.
Thanks,
Matthew
* sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
(UPAGES, HOST_TEXT_START_ADDR): Likewise.
(HOST_DATA_START_ADDR, HOST_STACK_END_ADDR): Likewise.
---
sysdeps/unix/sysv/linux/ia64/sys/user.h | 6 ------
1 file changed, 6 deletions(-)
Comments
On 05 Jan 2015 15:07, Matthew Fortune wrote:
> Fix BZ17792.
>
> Remove IA64 PAGE_SIZE related macros as PAGE_SIZE is not defined.
> Also remove macros that are only used for BFD's trad-core support
> which is not relavant for IA64 according to the thread starting
> here:
>
> https://sourceware.org/ml/libc-ports/2013-11/msg00028.html
>
> This patch is neither built nor tested but is equivalent to a MIPS
> patch for the same fix.
thanks, i've merged this into master now (after verifying it doesn't break glibc
builds/tests at least)
-mike
@@ -44,10 +44,4 @@ struct user
char u_comm[32]; /* User command name. */
};
-#define NBPG PAGE_SIZE
-#define UPAGES 1
-#define HOST_TEXT_START_ADDR (u.start_code)
-#define HOST_DATA_START_ADDR (u.start_data)
-#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * NBPG)
-
#endif /* sys/user.h */