summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--loc2c.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/loc2c.c b/loc2c.c
index 4633e739..818e9e49 100644
--- a/loc2c.c
+++ b/loc2c.c
@@ -487,7 +487,7 @@ translate (struct obstack *pool, int indent, Dwarf_Addr addrbias,
BINOP (or, |);
BINOP (plus, +);
BINOP (shl, <<);
- BINOP (shra, >>);
+ BINOP (shr, >>);
BINOP (xor, ^);
/* Comparisons are binary operators too. */
@@ -501,7 +501,7 @@ translate (struct obstack *pool, int indent, Dwarf_Addr addrbias,
#undef UNOP
#undef BINOP
- case DW_OP_shr:
+ case DW_OP_shra:
{
POP (b);
POP (a);