summaryrefslogtreecommitdiff
path: root/editors/emacs22
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2004-09-05 21:38:16 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2004-09-05 21:38:16 +0000
commit83fbdb3d2820ac9747480a20cb58cb20d6854c2c (patch)
tree0f141124bfcf6b802f94cb876319c83906936b22 /editors/emacs22
parentFix build with gcc-3.4 (diff)
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!)
Notes
Notes: svn path=/head/; revision=118118
Diffstat (limited to 'editors/emacs22')
-rw-r--r--editors/emacs22/files/patch-src:m:ia64.h10
1 files changed, 9 insertions, 1 deletions
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 <alloca.h>
# else
# include <stdlib.h>
+@@ -178,6 +178,6 @@
+
+ #endif /* not NOT_C_CODE */
+
+-#define DATA_SEG_BITS 0x6000000000000000
++#define DATA_SEG_BITS 0x2000000000000000
+
+ #define HAVE_TEXT_START