]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
ia64: remove fixed page size macros and others [BZ #17792]
authorMatthew Fortune <Matthew.Fortune@imgtec.com>
Mon, 5 Jan 2015 15:07:50 +0000 (15:07 +0000)
committerMike Frysinger <vapier@gentoo.org>
Sun, 15 Feb 2015 05:59:00 +0000 (00:59 -0500)
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
NEWS
sysdeps/unix/sysv/linux/ia64/sys/user.h

index 4da75ed8a54051738f0aa39c0bd1435d40fc7b1e..a0f0ae290dde637ebc8b26227ef7498a8a0b756b 100644 (file)
--- 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 89e48c868a4f42e2380e6f6dfaecc75d1b8b9fd2..781f7a7bf14c1836c5d6a1bb14e3948c5857eaca 100644 (file)
--- 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.
 \f
 Version 2.21
 
index 56cd045b570358f694375d22051857ffd6017413..fbd42002ed7d2afe963cbb891ea4b65f349dc01c 100644 (file)
@@ -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 */