From 83fbdb3d2820ac9747480a20cb58cb20d6854c2c Mon Sep 17 00:00:00 2001 From: Marcel Moolenaar Date: Sun, 5 Sep 2004 21:38:16 +0000 Subject: Fix runtime breakage on ia64, which was introduced with binutils 2.15. Note that emacs is run as part of the build, so it shows as a build failure... To explain (for maintainer's benefit): Previously the linker would put the text segment in region 2 and the data segment in region 3. This was changed for FreeBSD (due to me sending a patch :-) to load the text segment in region 1 with the data segment immediately following the text segment in the same region (or subsequent regions of the text segment is larger than 2^61 bytes in size -- fat chance :-) So, the previous value of DATA_SEG_BITS (=0x6000000000000000, the region base of the data segment prior to the binutils 2.15 import), needed to be changed to match the current layout (=0x2000000000000000, the region 1 base address). Approved by: portmgr (krion -- thank!) --- editors/emacs22/files/patch-src:m:ia64.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'editors/emacs22/files') diff --git a/editors/emacs22/files/patch-src:m:ia64.h b/editors/emacs22/files/patch-src:m:ia64.h index 34f7a1eec276..86a63f41a599 100644 --- a/editors/emacs22/files/patch-src:m:ia64.h +++ b/editors/emacs22/files/patch-src:m:ia64.h @@ -1,5 +1,5 @@ --- src/m/ia64.h.orig Fri Sep 29 06:00:37 2000 -+++ src/m/ia64.h Thu Nov 20 13:44:02 2003 ++++ src/m/ia64.h Sun Sep 5 11:57:57 2004 @@ -147,7 +147,7 @@ #ifndef NOT_C_CODE @@ -9,3 +9,11 @@ # include # else # include +@@ -178,6 +178,6 @@ + + #endif /* not NOT_C_CODE */ + +-#define DATA_SEG_BITS 0x6000000000000000 ++#define DATA_SEG_BITS 0x2000000000000000 + + #define HAVE_TEXT_START -- cgit v1.2.3