From 6f49e32aa5c7c188b6b8e78a91636eb5ee2e1841 Mon Sep 17 00:00:00 2001 From: Matthew Fortune Date: Mon, 5 Jan 2015 15:07:50 +0000 Subject: [PATCH] ia64: remove fixed page size macros and others [BZ #17792] 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. --- ChangeLog | 7 +++++++ NEWS | 4 ++-- sysdeps/unix/sysv/linux/ia64/sys/user.h | 6 ------ 3 files changed, 9 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 4da75ed8a5..a0f0ae290d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2015-02-15 Matthew Fortune + + [BZ #17792] + * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove. + (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR, + HOST_STACK_END_ADDR): Likewise. + 2015-02-13 Steve Ellcey * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if. diff --git a/NEWS b/NEWS index 89e48c868a..781f7a7bf1 100644 --- a/NEWS +++ b/NEWS @@ -9,8 +9,8 @@ Version 2.22 * The following bugs are resolved with this release: - 4719, 15467, 15790, 16560, 17569, 17912, 17932, 17944, 17949, 17964, - 17965, 17967, 17969. + 4719, 15467, 15790, 16560, 17569, 17792, 17912, 17932, 17944, 17949, + 17964, 17965, 17967, 17969. Version 2.21 diff --git a/sysdeps/unix/sysv/linux/ia64/sys/user.h b/sysdeps/unix/sysv/linux/ia64/sys/user.h index 56cd045b57..fbd42002ed 100644 --- a/sysdeps/unix/sysv/linux/ia64/sys/user.h +++ b/sysdeps/unix/sysv/linux/ia64/sys/user.h @@ -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 */ -- 2.11.4.GIT