about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Fortune <Matthew.Fortune@imgtec.com>2015-01-05 15:07:50 +0000
committerMike Frysinger <vapier@gentoo.org>2015-02-15 00:59:00 -0500
commit6f49e32aa5c7c188b6b8e78a91636eb5ee2e1841 (patch)
tree1154a049bf6fa6a09e53d19ff491a637e03aa66c
parente525154e84b6e9effadfbb5f162785e3aff24eb3 (diff)
downloadglibc-6f49e32aa5c7c188b6b8e78a91636eb5ee2e1841.tar.gz
glibc-6f49e32aa5c7c188b6b8e78a91636eb5ee2e1841.tar.xz
glibc-6f49e32aa5c7c188b6b8e78a91636eb5ee2e1841.zip
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.
-rw-r--r--ChangeLog7
-rw-r--r--NEWS4
-rw-r--r--sysdeps/unix/sysv/linux/ia64/sys/user.h6
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 <Matthew.Fortune@imgtec.com>
+
+	[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  <sellcey@imgtec.com>
 
 	* 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 */