Blame SOURCES/gcc34-ia64-lib64.patch

6693b3
2004-05-14  Jakub Jelinek  <jakub@redhat.com>
6693b3
6693b3
	* gcc/config/ia64/ia64.h (TARGET_SWITCHES): Add -m64.
6693b3
	* gcc/config/ia64/t-glibc (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
6693b3
	MULTILIB_EXCEPTIONS, MULTILIB_OSDIRNAMES): Set.
6693b3
	* gcc/config/ia64/linux.h (MULTILIB_DEFAULTS): Define.
6693b3
6693b3
--- gcc/config/ia64/ia64.h.jj	2004-03-12 08:14:28.000000000 -0500
6693b3
+++ gcc/config/ia64/ia64.h	2004-05-14 07:56:35.000000000 -0400
6693b3
@@ -168,6 +168,8 @@ extern int ia64_tls_size;
6693b3
 
6693b3
 #define TARGET_SWITCHES							\
6693b3
 {									\
6693b3
+  { "64",		0,						\
6693b3
+      N_("Generate 64-bit code") },					\
6693b3
   { "big-endian",	MASK_BIG_ENDIAN,				\
6693b3
       N_("Generate big endian code") },					\
6693b3
   { "little-endian",	-MASK_BIG_ENDIAN,				\
6693b3
--- gcc/config/ia64/t-glibc.jj	2003-03-26 10:56:04.000000000 -0500
6693b3
+++ gcc/config/ia64/t-glibc	2004-05-14 08:30:15.000000000 -0400
6693b3
@@ -1 +1,6 @@
6693b3
 LIB2ADDEH += $(srcdir)/config/ia64/fde-glibc.c
6693b3
+
6693b3
+MULTILIB_OPTIONS = m64/m32
6693b3
+MULTILIB_DIRNAMES = 64 32
6693b3
+MULTILIB_EXCEPTIONS = m32
6693b3
+MULTILIB_OSDIRNAMES = ../lib64 ../lib
6693b3
--- gcc/config/ia64/linux.h.jj	2004-02-10 07:20:51.000000000 -0500
6693b3
+++ gcc/config/ia64/linux.h	2004-05-14 07:21:27.000000000 -0400
6693b3
@@ -55,6 +55,8 @@ do {						\
6693b3
 #undef LINK_EH_SPEC
6693b3
 #define LINK_EH_SPEC ""
6693b3
 
6693b3
+#define MULTILIB_DEFAULTS { "m64" }
6693b3
+
6693b3
 /* Do code reading to identify a signal frame, and set the frame
6693b3
    state data appropriately.  See unwind-dw2.c for the structs.  */
6693b3