diff options
author | marcel <marcel@FreeBSD.org> | 2004-09-06 05:38:16 +0800 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2004-09-06 05:38:16 +0800 |
commit | f7f9b2a1a73240c976bc3ba1106492962938a73a (patch) | |
tree | a3ade4a731aa05cac22c3765514fef38d27d5243 /editors/emacs23 | |
parent | 0e3e3969e24d4ae4219a5733f13f4ceab11113fc (diff) | |
download | freebsd-ports-gnome-f7f9b2a1a73240c976bc3ba1106492962938a73a.tar.gz freebsd-ports-gnome-f7f9b2a1a73240c976bc3ba1106492962938a73a.tar.zst freebsd-ports-gnome-f7f9b2a1a73240c976bc3ba1106492962938a73a.zip |
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!)
Diffstat (limited to 'editors/emacs23')
-rw-r--r-- | editors/emacs23/files/patch-src:m:ia64.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/editors/emacs23/files/patch-src:m:ia64.h b/editors/emacs23/files/patch-src:m:ia64.h index 34f7a1eec276..86a63f41a599 100644 --- a/editors/emacs23/files/patch-src:m:ia64.h +++ b/editors/emacs23/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 |