1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00

Fix compile error on amd64.

This commit is contained in:
MANTANI Nobutaka 2005-01-09 12:01:24 +00:00
parent 0b2ae23e01
commit ae933c784b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125945

View File

@ -1,5 +1,5 @@
--- include/private/gcconfig.h.orig Wed Dec 29 22:30:21 2004
+++ include/private/gcconfig.h Wed Dec 29 22:30:39 2004
--- include/private/gcconfig.h.orig Sat Dec 18 09:20:16 2004
+++ include/private/gcconfig.h Mon Jan 3 19:49:44 2005
@@ -328,6 +328,10 @@
# define X86_64
# define mach_type_known
@ -11,16 +11,19 @@
# if defined(FREEBSD) && defined(__sparc__)
# define SPARC
# define mach_type_known
@@ -1942,6 +1946,12 @@
@@ -1939,6 +1943,15 @@
# ifdef __ELF__
# define DYNAMIC_LOADING
# endif
+# define HEURISTIC2
+ extern char etext[];
+# define SEARCH_FOR_DATA_START
+# endif
+# ifdef FREEBSD
+# define OS_TYPE "FREEBSD"
+# ifdef __ELF__
+# define DYNAMIC_LOADING
+# endif
# define HEURISTIC2
extern char etext[];
# define SEARCH_FOR_DATA_START
+# endif
+# ifdef FREEBSD
+# define OS_TYPE "FREEBSD"
+# ifdef __ELF__
+# define DYNAMIC_LOADING
+# endif
# endif
# endif