aboutsummaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorRainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>2014-02-11 12:56:39 +0000
committerRainer Orth <ro@gcc.gnu.org>2014-02-11 12:56:39 +0000
commit7c1aef7e398228f37d8dae0aa3b36d75a8316d15 (patch)
treeb010ccd17b16a2196409c7d15535d9a9c60e33f5 /gcc/config
parent1a1477a2df3b504de02dad40c02dba5bcd55aa2a (diff)
downloadgcc-7c1aef7e398228f37d8dae0aa3b36d75a8316d15.zip
gcc-7c1aef7e398228f37d8dae0aa3b36d75a8316d15.tar.gz
gcc-7c1aef7e398228f37d8dae0aa3b36d75a8316d15.tar.bz2
Only assume 4-byte stack alignment on Solaris 9/x86 (PR libgomp/60107)
PR libgomp/60107 * config/i386/sol2-9.h: New file. * config.gcc (i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*, *-*-solaris2.9*): Use it. From-SVN: r207688
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/i386/sol2-9.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/gcc/config/i386/sol2-9.h b/gcc/config/i386/sol2-9.h
new file mode 100644
index 0000000..9ae88aa
--- /dev/null
+++ b/gcc/config/i386/sol2-9.h
@@ -0,0 +1,23 @@
+/* Target definitions for GCC for Intel 80386 running Solaris 9
+ Copyright (C) 2014 Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with GCC; see the file COPYING3. If not see
+<http://www.gnu.org/licenses/>. */
+
+/* Solaris 9 only guarantees 4-byte stack alignment as required by the i386
+ psABI, so realign it as necessary for SSE instructions. */
+#undef STACK_REALIGN_DEFAULT
+#define STACK_REALIGN_DEFAULT 1