> I've tested this via cross-compile and the unwind info is unchanged before > and after. However, I'll hold off checking it in for the moment until it > has had a chance to go through a true bootstrap cycle. Dave, might you > have a moment to do that?
Note that you have SPARC/Linux machines in the Compile Farm. Minor nits: + /* The return address (%i7) is saved in %o7. */ + add_reg_note (insn, REG_CFA_REGISTER, + gen_rtx_SET (VOIDmode, + gen_rtx_REG (Pmode, 31), + gen_rtx_REG (Pmode, 15))); We have RETURN_ADDR_REGNUM and INCOMING_RETURN_ADDR_REGNUM nowadays. + /* The CFA is %o6, the hard frame pointer. */ + add_reg_note (insn, REG_CFA_DEF_CFA, hard_frame_pointer_rtx); %o6 is %sp, the stack pointer. You want %fp (better than %i6 IMO). -- Eric Botcazou