patches/gcc/2.95.3/120-backport-config.gcc-1.92.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Jun 24 16:24:09 2008 +0000 (2008-06-24)
changeset 611 eac4dc8da8a9
permissions -rw-r--r--
New patches from Ioannis E. VENETIS to allow building more up-to-date Alpha x-compilers.
Some patches are still missing, though.
See: http://sourceware.org/ml/libc-help/2008-06/msg00061.html

/trunk/patches/glibc/2.5.1/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5.1/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/2.5/270-glibc-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/glibc/2.5/280-glibc-alpha-sigsuspend.patch | 24 24 0 0 ++++++++++
/trunk/patches/glibc/linuxthreads-2.3.6/270-glibc-linuxthreads-alpha-cfi.patch | 25 25 0 0 ++++++++++
/trunk/patches/gcc/4.2.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.0/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.2/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.3.1/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
/trunk/patches/gcc/4.2.3/940-gcc-alpha-signal_h.patch | 17 17 0 0 +++++++
11 files changed, 225 insertions(+)
yann@402
     1
# Taken from http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/config.gcc.diff?r1=1.91&r2=1.92
yann@402
     2
# Should fix error
yann@402
     3
#   Configuration x86_64-host_unknown-linux-gnu not supported
yann@402
     4
# when configuring gcc-2.95 on x86_64 build for i686 target
yann@402
     5
# It's a bit silly, since tm_file refers to files that don't exist,
yann@402
     6
# but as long as x86_64 is just the build machine, that doesn't matter.
yann@402
     7
yann@402
     8
--- gcc-2.95.3/gcc/configure.old	2004-03-24 12:17:44.000000000 -0800
yann@402
     9
+++ gcc-2.95.3/gcc/configure	2004-03-24 12:19:30.000000000 -0800
yann@402
    10
@@ -2929,6 +2929,9 @@
yann@402
    11
 	i[34567]86-*-*)
yann@402
    12
 		cpu_type=i386
yann@402
    13
 		;;
yann@402
    14
+	x86_64-*-*)
yann@402
    15
+		cpu_type=i386
yann@402
    16
+		;;
yann@402
    17
 	hppa*-*-*)
yann@402
    18
 		cpu_type=pa
yann@402
    19
 		;;
yann@402
    20
@@ -3643,6 +3646,19 @@
yann@402
    21
  			thread_file='posix'
yann@402
    22
  		fi
yann@402
    23
 		;;
yann@402
    24
+	x86_64-*-linux*)
yann@402
    25
+		xmake_file=x-linux
yann@402
    26
+		tm_file="i386/biarch64.h i386/i386.h i386/att.h linux.h i386/x86-64.h \
yann@402
    27
+			 i386/linux64.h"
yann@402
    28
+		tmake_file="t-slibgcc-elf-ver t-linux i386/t-crtstuff"
yann@402
    29
+		extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
yann@402
    30
+		gnu_ld=yes
yann@402
    31
+		float_format=i386
yann@402
    32
+		if test x$enable_threads = xyes; then
yann@402
    33
+			thread_file='posix'
yann@402
    34
+		fi
yann@402
    35
+		;;
yann@402
    36
+
yann@402
    37
 	i[34567]86-*-gnu*)
yann@402
    38
 		float_format=i386
yann@402
    39
 		;;