aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/x-openbsd
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@openbsd.org>2012-09-02 14:13:21 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2012-09-02 14:13:21 +0000
commit613061fdd04360cdc6575c1dc057d465b30dc6d3 (patch)
treee75b69f83399d75daa03596421f6de996d8c137b /gcc/config/x-openbsd
parentee86a05fd0280deb393058ae2dec7b47b70b7987 (diff)
downloadgcc-613061fdd04360cdc6575c1dc057d465b30dc6d3.zip
gcc-613061fdd04360cdc6575c1dc057d465b30dc6d3.tar.gz
gcc-613061fdd04360cdc6575c1dc057d465b30dc6d3.tar.bz2
config.host (x86_64-*-openbsd*): New target.
libgcc/ * config.host (x86_64-*-openbsd*): New target. gcc/ * config.gcc (x86_64-*-openbsd*): New target. * config.host (*-*-openbsd*): New target. * config/openbsd.h (TARGET_C99_FUNCTIONS): Define. * config/i386/openbsdelf.h: Remove some superfluous defines and group things together in a more logical fashion. (DBX_REGISTER_NUMBER): Provide a definition that works on both 32-bit and 64-bit targets. (WCHAR_TYPE_SIZE): Hardcode as 32. (NO_DOLLAR_IN_LABEL): Remove undef. (TARGET_DEFAULT): Remove. (SET_ASM_OP): Remove. (DEFAULT_PCC_STRUCT_RETURN): Undef first to prevent warning. (ASM_OUTPUT_MAX_SKIP_ALIGN): Synch with x86-64.h (DWARF2_UNWIND_INFO): Remove define. (HAVE_ENABLE_EXECUTE_STACK): Define. * config/host-openbsd.c: New file. * config/t-openbsd (USER_H): Add EXTRA_HEADERS. * config/x-openbsd: New file. From-SVN: r190863
Diffstat (limited to 'gcc/config/x-openbsd')
-rw-r--r--gcc/config/x-openbsd4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/x-openbsd b/gcc/config/x-openbsd
new file mode 100644
index 0000000..18e3f65
--- /dev/null
+++ b/gcc/config/x-openbsd
@@ -0,0 +1,4 @@
+host-openbsd.o : $(srcdir)/config/host-openbsd.c $(CONFIG_H) $(SYSTEM_H) \
+ coretypes.h hosthooks.h hosthooks-def.h $(HOOKS_H)
+ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \
+ $(srcdir)/config/host-openbsd.c