aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>2011-07-01 22:14:56 +0000
committerIan Lance Taylor <ian@airs.com>2011-07-01 22:14:56 +0000
commit28ede8be33ca69f5506baa05eb3f79132a5a40f5 (patch)
treee9bc0a08a919a595f2d76a244d6bd7c10a689cee /bfd
parent07a60597350488f098508ee67717d549a8a0b579 (diff)
downloadgdb-28ede8be33ca69f5506baa05eb3f79132a5a40f5.zip
gdb-28ede8be33ca69f5506baa05eb3f79132a5a40f5.tar.gz
gdb-28ede8be33ca69f5506baa05eb3f79132a5a40f5.tar.bz2
* elf32-i386.c (elf_i386_eh_frame_plt): Correct expression: change
DW_OP_lit3 to DW_OP_lit2.
Diffstat (limited to 'bfd')
-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
};