mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2025-03-11 19:00:07 +01:00
(compile_reg): store register number for MOVE_STACKED.
(Logical change 1.41)
This commit is contained in:
parent
570c6e399a
commit
73fd3a8d4a
1 changed files with 2 additions and 1 deletions
|
@ -24,6 +24,7 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
||||||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
||||||
|
|
||||||
#include "offsets.h"
|
#include "offsets.h"
|
||||||
|
#include "regs.h"
|
||||||
#include "rse.h"
|
#include "rse.h"
|
||||||
#include "unwind_i.h"
|
#include "unwind_i.h"
|
||||||
|
|
||||||
|
@ -264,7 +265,7 @@ compile_reg (struct ia64_state_record *sr, int i, struct ia64_script *script)
|
||||||
{
|
{
|
||||||
/* register got spilled to a stacked register */
|
/* register got spilled to a stacked register */
|
||||||
opc = IA64_INSN_MOVE_STACKED;
|
opc = IA64_INSN_MOVE_STACKED;
|
||||||
val = rval - 32;
|
val = rval;
|
||||||
}
|
}
|
||||||
else if (rval >= 4 && rval <= 7)
|
else if (rval >= 4 && rval <= 7)
|
||||||
/* register got spilled to a preserved register */
|
/* register got spilled to a preserved register */
|
||||||
|
|
Loading…
Add table
Reference in a new issue