This is the mail archive of the mailing list for the GCC project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add attribute((target("..."))) and pragma target to PowerPC

David said in a private IRC that I should more properly use -maix64/-maix32
when the target is AIX rather than Linux.  This patch on top of the others
fixes this oversight.

2010-11-17  Michael Meissner  <>

	* config/rs6000/rs6000.c (rs6000_opt_masks): Add -maix64/-maix32
	support if the target is AIX instead of -m64/-m32.

Index: gcc/config/rs6000/rs6000.c
--- gcc/config/rs6000/rs6000.c	(revision 166873)
+++ gcc/config/rs6000/rs6000.c	(working copy)
@@ -27380,9 +27380,14 @@ static struct rs6000_opt_mask const rs60
   { "string",		MASK_STRING,		false, true  },
   { "vsx",		MASK_VSX,		false, true  },
 #ifdef MASK_64BIT
+  { "aix64",		MASK_64BIT,		false, false },
+  { "aix32",		MASK_64BIT,		true,  false },
   { "64",		MASK_64BIT,		false, false },
   { "32",		MASK_64BIT,		true,  false },
 #ifdef MASK_EABI
   { "eabi",		MASK_EABI,		false, false },

Michael Meissner, IBM
5 Technology Place Drive, M/S 2757, Westford, MA 01886-3141, USA	fax +1 (978) 399-6899

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]