From 613061fdd04360cdc6575c1dc057d465b30dc6d3 Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Sun, 2 Sep 2012 14:13:21 +0000 Subject: 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 --- libgcc/ChangeLog | 4 ++++ libgcc/config.host | 2 ++ 2 files changed, 6 insertions(+) (limited to 'libgcc') diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 14c7087..463b872 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,7 @@ +2012-09-01 Mark Kettenis + + * config.host (x86_64-*-openbsd*): New target. + 2012-08-29 Chung-Lin Tang * config/mips/crtfastmath.c (set_fast_math): Add 'nomips16' diff --git a/libgcc/config.host b/libgcc/config.host index d7259a7..f9bab01 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -527,6 +527,8 @@ i[34567]86-*-openbsd2.*|i[34567]86-*openbsd3.[0123]) ;; i[34567]86-*-openbsd*) ;; +x86_64-*-openbsd*) + ;; i[34567]86-*-linux*) extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o" tmake_file="${tmake_file} i386/t-crtpc i386/t-crtfm i386/t-crtstuff t-dfprules" -- cgit v1.1