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!)
This commit is contained in:
Marcel Moolenaar 2004-09-05 21:38:16 +00:00
parent 38c2bfe048
commit 83fbdb3d28
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118118
3 changed files with 27 additions and 3 deletions

View File

@ -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

View File

@ -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

View File

@ -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