diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-28 22:42:28 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-03-28 22:42:28 +0000 |
commit | bac6f1f62ef1b30147e465a1f0fb6a89e8b98eb9 (patch) | |
tree | 84c619a9a3c6d7013addd57ed7d910c8934a1e19 /gcc/config/i386/biarch64.h | |
parent | aa615cb369d7079aa2a8e6cecd814c08b071dde0 (diff) | |
download | gcc-bac6f1f62ef1b30147e465a1f0fb6a89e8b98eb9.tar.gz |
Add ABI_64 and replace ISA_X32 with ABI_X32
2012-03-28 H.J. Lu <hongjiu.lu@intel.com>
* config/i386/biarch64.h (TARGET_64BIT_DEFAULT): Add
OPTION_MASK_ABI_64.
* config/i386/gnu-user64.h (SPEC_64): Support TARGET_BI_ARCH == 2.
(SPEC_X32): Likewise.
(MULTILIB_DEFAULTS): Likewise.
* config/i386/i386.c (isa_opts): Remove -m64.
(ix86_target_string): Properly handle -m32/-m64/-mx32.
(ix86_option_override_internal): Properly
set OPTION_MASK_ISA_64BIT and OPTION_MASK_ISA_X32 as well as
handle -m32, -m64 and -mx32.
* config/i386/i386.h (TARGET_X32): Replace OPTION_ISA_X32
with OPTION_ABI_X32. Moved after TARGET_LP64.
(TARGET_LP64): Changed to OPTION_ABI_64.
* config/i386/i386.opt (m64): Replace ISA_64BIT with ABI_64.
(mx32): Replace ISA_X32 with ABI_X32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@185937 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/i386/biarch64.h')
-rw-r--r-- | gcc/config/i386/biarch64.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/config/i386/biarch64.h b/gcc/config/i386/biarch64.h index 629ec980d19..0c3811e3f33 100644 --- a/gcc/config/i386/biarch64.h +++ b/gcc/config/i386/biarch64.h @@ -25,5 +25,5 @@ a copy of the GCC Runtime Library Exception along with this program; see the files COPYING3 and COPYING.RUNTIME respectively. If not, see <http://www.gnu.org/licenses/>. */ -#define TARGET_64BIT_DEFAULT OPTION_MASK_ISA_64BIT +#define TARGET_64BIT_DEFAULT (OPTION_MASK_ISA_64BIT | OPTION_MASK_ABI_64) #define TARGET_BI_ARCH 1 |