summaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorRoland McGrath <roland@redhat.com>2010-11-08 10:43:59 -0800
committerRoland McGrath <roland@redhat.com>2010-11-08 10:43:59 -0800
commitadf84f4a0364e140eaf1994ac3403f29ae719a95 (patch)
treebf89dfe17b710372083d27b2a76e5819579d747e /backends
parentd5031573d2529da37e301d581e87bd4ba0993351 (diff)
downloadelfutils-adf84f4a0364e140eaf1994ac3403f29ae719a95.tar.gz
backends: i386 integer return value typo fix, reported by Thorsten Glaser <tg@mirbsd.de>.
Diffstat (limited to 'backends')
-rw-r--r--backends/ChangeLog5
-rw-r--r--backends/i386_retval.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/backends/ChangeLog b/backends/ChangeLog
index 9fd9745d..7865338f 100644
--- a/backends/ChangeLog
+++ b/backends/ChangeLog
@@ -1,3 +1,8 @@
+2010-11-08 Roland McGrath <roland@redhat.com>
+
+ * i386_retval.c (loc_intreg): Typo fix.
+ Reported by Thorsten Glaser <tg@mirbsd.de>.
+
2010-04-10 Matt Fleming <matt@console-pimps.org>
* sh_corenote.c: New file.
diff --git a/backends/i386_retval.c b/backends/i386_retval.c
index c3bab108..67a090d5 100644
--- a/backends/i386_retval.c
+++ b/backends/i386_retval.c
@@ -1,5 +1,5 @@
/* Function return value location for Linux/i386 ABI.
- Copyright (C) 2005, 2007 Red Hat, Inc.
+ Copyright (C) 2005-2010 Red Hat, Inc.
This file is part of Red Hat elfutils.
Red Hat elfutils is free software; you can redistribute it and/or modify
@@ -38,7 +38,7 @@
static const Dwarf_Op loc_intreg[] =
{
{ .atom = DW_OP_reg0 }, { .atom = DW_OP_piece, .number = 4 },
- { .atom = DW_OP_reg1 }, { .atom = DW_OP_piece, .number = 4 },
+ { .atom = DW_OP_reg2 }, { .atom = DW_OP_piece, .number = 4 },
};
#define nloc_intreg 1
#define nloc_intregpair 4