aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-i386.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 32340ee..0263f14 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-01 Ian Lance Taylor <iant@google.com>
+
+ * elf32-i386.c (elf_i386_eh_frame_plt): Correct expression: change
+ DW_OP_lit3 to DW_OP_lit2.
+
2011-07-01 Alan Modra <amodra@gmail.com>
* elf32-ppc.c (ppc_elf_copy_indirect_symbol): Don't look at
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index f121c29..b42e1a2 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -610,7 +610,7 @@ static const bfd_byte elf_i386_eh_frame_plt[] =
DW_OP_breg4, 4, /* DW_OP_breg4 (esp): 4 */
DW_OP_breg8, 0, /* DW_OP_breg8 (eip): 0 */
DW_OP_lit15, DW_OP_and, DW_OP_lit11, DW_OP_ge,
- DW_OP_lit3, DW_OP_shl, DW_OP_plus,
+ DW_OP_lit2, DW_OP_shl, DW_OP_plus,
DW_CFA_nop, DW_CFA_nop, DW_CFA_nop, DW_CFA_nop
};