This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH to dwarf2out_frame_debug_expr ARM support


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]