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]
Other format: [Raw text]

Re: [PATCH] Second attempt@unwind epilogue support for s390{,x}


Jakub Jelinek wrote:

> Yeah.  Seems the reason why cleanup-9 was hanging for me was that I've been
> using gcc 4.1.x libgcc_s.so.1, which didn't have
> http://gcc.gnu.org/ml/gcc-patches/2006-01/msg00617.html
> fix (that is only in 4.3+), thus DW_CFA_re{member,store}_state was broken.

Hmm, I see.

> When using 4.4/trunk libgcc_s or after backporting the DW_CFA_re{member,store}_state
> fix to 4.1 cleanup-9 works, obviously only when %15 is mentioned in DWARF.
> Attached patch should work and handle also the global regs correctly

Thanks!

> 2009-06-02  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* config/s390/s390.c (global_not_special_regno_p): New static inline.
> 	(save_gprs): Don't tell unwinder when a global register is saved.
> 	(s390_emit_epilogue): Emit needed epilogue unwind info.

This looks OK to me.

Bye,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU Toolchain for Linux on System z and Cell BE
  Ulrich.Weigand@de.ibm.com


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