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/i386/i386.h | |
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/i386/i386.h')
-rw-r--r-- | gcc/config/i386/i386.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gcc/config/i386/i386.h b/gcc/config/i386/i386.h index af293b4..a69862c 100644 --- a/gcc/config/i386/i386.h +++ b/gcc/config/i386/i386.h @@ -518,6 +518,9 @@ extern tree x86_mfence; #define MACHOPIC_INDIRECT 0 #define MACHOPIC_PURE 0 +/* For the RDOS */ +#define TARGET_RDOS 0 + /* For the Windows 64-bit ABI. */ #define TARGET_64BIT_MS_ABI (TARGET_64BIT && ix86_cfun_abi () == MS_ABI) @@ -2081,6 +2084,10 @@ do { \ asm (SECTION_OP "\n\t" \ "call " CRT_MKSTR(__USER_LABEL_PREFIX__) #FUNC "\n" \ TEXT_SECTION_ASM_OP); + +/* Default threshold for putting data in large sections + with x86-64 medium memory model */ +#define DEFAULT_LARGE_SECTION_THRESHOLD 65536 /* Which processor to tune code generation for. */ |