diff options
author | Leif Ekblad <leif@rdos.net> | 2013-01-28 20:42:55 +0000 |
---|---|---|
committer | Uros Bizjak <uros@gcc.gnu.org> | 2013-01-28 21:42:55 +0100 |
commit | 5a579c3b65d5571b3d10d2b7e22d4c1915cc6b1c (patch) | |
tree | c3f559b64cf44eaeefcf685c815fe50c2af35c64 /gcc/config.gcc | |
parent | 51e44392b3084a2bb00aa185f42f538a61c7befe (diff) | |
download | gcc-5a579c3b65d5571b3d10d2b7e22d4c1915cc6b1c.zip gcc-5a579c3b65d5571b3d10d2b7e22d4c1915cc6b1c.tar.gz gcc-5a579c3b65d5571b3d10d2b7e22d4c1915cc6b1c.tar.bz2 |
config.gcc (i[34567]86-*-rdos*, [...]): New targets.
* config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
* config/i386/i386.h (TARGET_RDOS): New macro.
(DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
* config/i386/i386.c (ix86_option_override_internal): For 64bit
TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
* config/i386/i386.opt (mlarge-data-threshold): Initialize to
DEFAULT_LARGE_SECTION_THRESHOLD.
* config/i386/i386.md (R14_REG, R15_REG): New constants.
* config/i386/rdos.h: New file.
* config/i386/rdos64.h: New file.
From-SVN: r195516
Diffstat (limited to 'gcc/config.gcc')
-rw-r--r-- | gcc/config.gcc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc/config.gcc b/gcc/config.gcc index 53a1e4b..ca76fc8 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -738,6 +738,9 @@ case ${target} in use_gcc_stdint=wrap tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC SINGLE_LIBC" ;; +*-*-rdos*) + use_gcc_stdint=wrap + ;; *-*-solaris2*) # i?86-*-solaris2* needs to insert headers between cpu default and # Solaris 2 specific ones. @@ -1204,6 +1207,13 @@ i[34567]86-*-elf*) x86_64-*-elf*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h" ;; +i[34567]86-*-rdos*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/rdos.h" + ;; +x86_64-*-rdos*) + tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h i386/rdos.h i386/rdos64.h" + tmake_file="i386/t-i386elf t-svr4" + ;; i[34567]86-*-freebsd*) tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h ${fbsd_tm_file} i386/freebsd.h" ;; |