summaryrefslogtreecommitdiff
path: root/gcc/config.host
diff options
context:
space:
mode:
authorgerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-02 14:13:21 +0000
committergerald <gerald@138bc75d-0d04-0410-961f-82ee72b054a4>2012-09-02 14:13:21 +0000
commit51796b3a74363840f1ac04c96fcdb9544ebe7f5e (patch)
treee75b69f83399d75daa03596421f6de996d8c137b /gcc/config.host
parent4e38645fed4ade6c9a5bec0d9ac42748c98071e7 (diff)
downloadgcc-51796b3a74363840f1ac04c96fcdb9544ebe7f5e.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@190863 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config.host')
-rw-r--r--gcc/config.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config.host b/gcc/config.host
index aa2a6720cab..dfc5ac89bc0 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -268,6 +268,10 @@ case ${host} in
out_host_hook_obj=host-linux.o
host_xmake_file="${host_xmake_file} x-linux"
;;
+ *-*-openbsd*)
+ out_host_hook_obj=host-openbsd.o
+ host_xmake_file="${host_xmake_file} x-openbsd"
+ ;;
ia64-*-hpux*)
use_long_long_for_widest_fast_int=yes
out_host_hook_obj=host-hpux.o