summaryrefslogtreecommitdiff
path: root/gcc/config/i386/vx-common.h
diff options
context:
space:
mode:
authorrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 12:47:05 +0000
committerrsandifo <rsandifo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-04-12 12:47:05 +0000
commitc77a1c924e6c663ddb851b4916d73f81214885a8 (patch)
tree6a21239d8069829e6a2886f10c25bfbdbe473955 /gcc/config/i386/vx-common.h
parent6f3d6768cb4fb231e99ee9a565087e961ce78368 (diff)
downloadgcc-c77a1c924e6c663ddb851b4916d73f81214885a8.tar.gz
gcc/
* config.gcc (*-*-vxworks*): Don't add to tm_files in this stanza. (arm-wrs-vxworks, mips-wrs-vxworks, powerpc-wrs-vxworks) (powerpc-wrs-vxworksae): Use ${tm_file}. (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add svr4.h after elfos.h. Remove i386/sysv4.h and add i386/vx-common.h. * config/i386/vx-common.h: New file. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123744 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/vx-common.h')
-rw-r--r--gcc/config/i386/vx-common.h30
1 files changed, 30 insertions, 0 deletions
diff --git a/gcc/config/i386/vx-common.h b/gcc/config/i386/vx-common.h
new file mode 100644
index 00000000000..7c94c7daadf
--- /dev/null
+++ b/gcc/config/i386/vx-common.h
@@ -0,0 +1,30 @@
+/* IA32 VxWorks and VxWorks AE target definitions.
+ Copyright (C) 2007 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 2, 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 COPYING. If not, write to
+the Free Software Foundation, 51 Franklin Street, Fifth Floor,
+Boston, MA 02110-1301, USA. */
+
+#define ASM_OUTPUT_ALIGNED_BSS(FILE, DECL, NAME, SIZE, ALIGN) \
+ asm_output_aligned_bss (FILE, DECL, NAME, SIZE, ALIGN)
+
+/* The svr4 ABI for the i386 says that records and unions are returned
+ in memory. */
+
+#undef RETURN_IN_MEMORY
+#define RETURN_IN_MEMORY(TYPE) \
+ (TYPE_MODE (TYPE) == BLKmode \
+ || (VECTOR_MODE_P (TYPE_MODE (TYPE)) && int_size_in_bytes (TYPE) == 8))