[ARC] DWARF emitting cleanup.
authorClaudiu Zissulescu <claziss@synopsys.com>
Fri, 14 Apr 2017 11:40:54 +0000 (13:40 +0200)
committerClaudiu Zissulescu <claziss@gcc.gnu.org>
Fri, 14 Apr 2017 11:40:54 +0000 (13:40 +0200)
commit213c9bf1219497f096351f7b8f9905cffc79f416
tree3afef82a9791e35082c3f7fb123eab557add6814
parent1fccdd40cf7a4802a3e78c0e5197332c69be3b5e
[ARC] DWARF emitting cleanup.

The use of CFA_FRAME_BASE_OFFSET and ARG_POINTER_CFA_OFFSET macros
leads to wrong offset calculation for DW_OP_fbreg constructions.
Remove them.

gcc/
2017-04-14  Claudiu Zissulescu  <claziss@synopsys.com>

* config/arc/arc-protos.h (arc_decl_pretend_args): Remove.
* config/arc/arc.c (arc_decl_pretend_args): Likewise.
* config/arc/arc.h (CFA_FRAME_BASE_OFFSET): Likewise.
(ARG_POINTER_CFA_OFFSET): Likewise.

From-SVN: r246926
gcc/ChangeLog
gcc/config/arc/arc-protos.h
gcc/config/arc/arc.c
gcc/config/arc/arc.h