config.gcc (mips*-*-*): Add frame-header-opt.o to extra_objs.
authorSteve Ellcey <sellcey@imgtec.com>
Fri, 9 Oct 2015 17:10:42 +0000 (17:10 +0000)
committerSteve Ellcey <sje@gcc.gnu.org>
Fri, 9 Oct 2015 17:10:42 +0000 (17:10 +0000)
commitd41c8b4c43d7050f05668f23ad4563ed6e9b41d0
treeec2b873ea269f855d61f77eb73a55bc41a5d0dc5
parentb867c7ca88776d062e3e62c212fb0a59b6d688c9
config.gcc (mips*-*-*): Add frame-header-opt.o to extra_objs.

2015-10-05  Steve Ellcey  <sellcey@imgtec.com>

* config.gcc (mips*-*-*): Add frame-header-opt.o to extra_objs.
* frame-header-opt.c: New file.
* config/mips/mips-proto.h (mips_register_frame_header_opt):
Add prototype.
* config/mips/mips.c (mips_compute_frame_info): Check
optimize_call_stack flag.
(mips_option_override): Register new frame_header_opt pass.
  (mips_frame_info, mips_int_mask, mips_shadow_set,
machine_function): Move these types to...
* config/mips/mips.h: here.
(machine_function): Add does_not_use_frame_header and
optimize_call_stack fields.
* config/mips/t-mips (frame-header-opt.o): Add new make rule.
* doc/invoke.texi (-mframe-header-opt, -mno-frame-header-opt):
Document new flags.
* config/mips/mips.opt (mframe-header-opt): Add new option.

From-SVN: r228666
gcc/ChangeLog
gcc/config.gcc
gcc/config/mips/frame-header-opt.c [new file with mode: 0644]
gcc/config/mips/mips-protos.h
gcc/config/mips/mips.c
gcc/config/mips/mips.h
gcc/config/mips/mips.opt
gcc/config/mips/t-mips
gcc/doc/invoke.texi