From patchwork Mon Jan 5 15:07:50 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Matthew Fortune X-Patchwork-Id: 4505 Received: (qmail 16394 invoked by alias); 5 Jan 2015 15:07:57 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 16372 invoked by uid 89); 5 Jan 2015 15:07:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL, BAYES_00, SPF_PASS, T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mailapp01.imgtec.com From: Matthew Fortune To: "libc-alpha@sourceware.org" CC: Mike Frysinger Subject: [IA64] Fix BZ17792 - Remove fixed page size macros and others Date: Mon, 5 Jan 2015 15:07:50 +0000 Message-ID: <6D39441BF12EF246A7ABCE6654B0235320F95840@LEMAIL01.le.imgtec.org> MIME-Version: 1.0 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(-) diff --git a/sysdeps/unix/sysv/linux/ia64/sys/user.h b/sysdeps/unix/sysv/linux/ia64/sys/user.h index 56cd045..fbd4200 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 */