diff options
author | Mark Kettenis <kettenis@openbsd.org> | 2012-09-02 14:13:21 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2012-09-02 14:13:21 +0000 |
commit | 613061fdd04360cdc6575c1dc057d465b30dc6d3 (patch) | |
tree | e75b69f83399d75daa03596421f6de996d8c137b /libgcc | |
parent | ee86a05fd0280deb393058ae2dec7b47b70b7987 (diff) | |
download | gcc-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 'libgcc')
-rw-r--r-- | libgcc/ChangeLog | 4 | ||||
-rw-r--r-- | libgcc/config.host | 2 |
2 files changed, 6 insertions, 0 deletions
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 <kettenis@openbsd.org> + + * config.host (x86_64-*-openbsd*): New target. + 2012-08-29 Chung-Lin Tang <cltang@codesourcery.com> * 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" |