[ARC] Enable code density frame option for elf targets.
authorClaudiu Zissulescu <claziss@synopsys.com>
Mon, 18 Mar 2019 09:28:45 +0000 (10:28 +0100)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Mon, 18 Mar 2019 09:28:45 +0000 (10:28 +0100)
commitf5d56cf957f9235d43f4dc4cec511b042e0b18de
tree37fdf654ca2596fa914ee5fd1ed4790225b3bf57
parenta09479605013801c23451d47a297077195cae8da
[ARC] Enable code density frame option for elf targets.

xxxx-xx-xx  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc.opt (mcode-density-frame): Get the inital value
from TARGET_CODE_DENSITY_FRAME_DEFAULT.
* config/arc/elf.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
* config/arc/linux.h (TARGET_CODE_DENSITY_FRAME_DEFAULT): Define.
* config/arc/arc.md (pop_multi_fp_blink): Adjust constraints to
match what the ops is doing.
(push_multi_fp_blink): Likewise.
* config/arc/arc.c (arc_override_options): Enable enter/leave when
compiling for size and elf target.
(arc_save_callee_enter): Adjust note to match what enter/leave
operation does.

From-SVN: r269758
gcc/ChangeLog
gcc/config/arc/arc.c
gcc/config/arc/arc.md
gcc/config/arc/arc.opt
gcc/config/arc/elf.h
gcc/config/arc/linux.h