This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH to dwarf2out_frame_debug_expr ARM support
- To: jason at redhat dot com
- Subject: Re: PATCH to dwarf2out_frame_debug_expr ARM support
- From: Nick Clifton <nickc at redhat dot com>
- Date: Thu, 8 Feb 2001 14:46:26 -0800
- CC: gcc-patches at gcc dot gnu dot org
Hi Jason,
: So this code happens to work for the ARM by accident, but is likely to
: break on any other target that produces this sort of instruction.
:
: I propose the following (untested, not checked in) change. Nick, any
: input? Care to give it a whirl?
:
: 2001-02-08 Jason Merrill <jason@redhat.com>
:
: * config/arm/arm.c (arm_expand_prologue): Do tell the dwarf2 backend
: about the SP adjustment for saving the static chain pointer.
: * dwarf2out.c (dwarf2out_frame_debug_expr): Use the specified
: offset when setting a temporary CFA register.
This appears to work just fine for the ARM. No problems building
libgcc, no new unexpected failures in the gcc testsuite.
Cheers
Nick