Re: [Linux-ia64] as & .restore sp directive

From: David Mosberger <>
Date: 2003-05-12 04:10:12
>>>>> On Sun, 11 May 2003 19:50:17 +0200, Ronald Veldema <> said:

  Ronald> Hi all, my java compiler now compiles quite a bit of java.*
  Ronald> and so Am looking at the unwind info that I need to emit.  I
  Ronald> now have a problem with the .restore directive.  It looks
  Ronald> like I can only emit it once or as dies.

  Ronald> Given:

  Ronald> if (condition) { ...; return; } else { ...; return; }

  Ronald> I emit two function trailers (restoring b0, resetting sp,
  Ronald> etc.)  and in doing so I also emit two ".restore sp"
  Ronald> directives and as dies with:

  Ronald> out.s: Assembler messages: out.s:79: Error: Epilogue count
  Ronald> of 4294967296 exceeds number of nested prologues (0)

  Ronald> Adding two .prologue statements or two ".restore sp, 1"
  Ronald> won't work. Any ideas ?

Looks like you need to upgrade the assembler.  This is a known bug in
earlier versions (sorry, I don't recall when exactly this was fixed).

Received on Sun May 11 11:11:49 2003

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:14 EST