diff options
author | Roland McGrath <roland@redhat.com> | 2010-01-19 12:44:05 -0800 |
---|---|---|
committer | Roland McGrath <roland@redhat.com> | 2010-01-19 12:44:05 -0800 |
commit | 5d580c21bf940ab8c8006a6efe37eb3fca1d191d (patch) | |
tree | 5dbb9974d6d29492ec2b4178c62caa723d139029 /loc2c.c | |
parent | 682d5372669bc117cabe1c44a205ad6acca72730 (diff) | |
download | systemtap-steved-5d580c21bf940ab8c8006a6efe37eb3fca1d191d.tar.gz systemtap-steved-5d580c21bf940ab8c8006a6efe37eb3fca1d191d.tar.xz systemtap-steved-5d580c21bf940ab8c8006a6efe37eb3fca1d191d.zip |
Swap DW_OP_shr and DW_OP_shra.
* loc2c.c (translate): DW_OP_shr is unsigned, DW_OP_shra is signed.
Diffstat (limited to 'loc2c.c')
-rw-r--r-- | loc2c.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |