diff options
author | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-20 12:22:44 +0000 |
---|---|---|
committer | nickc <nickc@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-11-20 12:22:44 +0000 |
commit | ee1401ac8792a2aa458c57e3f2e1d06eaf6b2292 (patch) | |
tree | 4c4716324b5e1f34af2fbb3429638c733aacaca9 /gcc/config/rx/rx.opt | |
parent | 23d550c51a468e533dfb48d93a5459f4bf4ca502 (diff) | |
download | gcc-ee1401ac8792a2aa458c57e3f2e1d06eaf6b2292.tar.gz |
* config/rx/rx.c (rx_function_arg_boundary): When using the RX ABI
align stack arguments to their natural alignment.
(rx_narrow_volatile_bitfield): New function. Allows narrow
volatile bitfields.
(rx_ok_to_inline): New function. Do not inline functions with
local variables into a naked caller.
(TARGET_NARROW_VOLATILE_BITFIELD): Define.
(TARGET_CAN_INLINE_P): Define.
* config/rx/rx.c (TARGET_CPU_CPP_BUILTINS): Define __RX_ABI__ or
__RX_GC_ABI__.
(ASM_SPEC): Pass -mgcc-abi on to the assembler.
(STRICT_ALIGNMENT): Set to false.
(CTORS_SECTION_ASM_OP): Add executable attribute.
(DTORS_SECTION_ASM_OP): Add executable attribute.
(INIT_ARRAY_SECTION_ASM_OP): Add executable attribute.
(FINI_ARRAY_SECTION_ASM_OP): Add executable attribute.
* config/rx/rx.md (subdi3): Don't allow MEMs as the third operand,
as it causes too much reload pressure.
* config/rx/rx.opt (mgcc-abi): New option.
(mrx-abi): New option.
* config/rx/t-rx (MULTILIB_OPTIONS): Show how to add an ABI
multilib.
(MULTILIB_DIRNAMES): Likewise.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@193659 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/rx/rx.opt')
-rw-r--r-- | gcc/config/rx/rx.opt | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gcc/config/rx/rx.opt b/gcc/config/rx/rx.opt index f0a57b1fae1..4a38988b579 100644 --- a/gcc/config/rx/rx.opt +++ b/gcc/config/rx/rx.opt @@ -1,5 +1,5 @@ ; Command line options for the Renesas RX port of GCC. -; Copyright (C) 2008, 2009, 2010, 2011 Free Software Foundation, Inc. +; Copyright (C) 2008, 2009, 2010, 2011, 2012 Free Software Foundation, Inc. ; Contributed by Red Hat. ; ; This file is part of GCC. @@ -124,3 +124,11 @@ Enables Position-Independent-Data (PID) mode. mwarn-multiple-fast-interrupts Target Report Var(rx_warn_multiple_fast_interrupts) Init(1) Warning Warn when multiple, different, fast interrupt handlers are in the compilation unit. + +mgcc-abi +Target RejectNegative Report Mask(GCC_ABI) +Enable the use of the old, broken, ABI where all stacked function arguments are aligned to 32-bits. + +mrx-abi +Target RejectNegative Report InverseMask(GCC_ABI) +Enable the use the standard RX ABI where all stacked function arguments are naturally aligned. This is the default. |