summaryrefslogtreecommitdiff
path: root/backends/i386_retval.c
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/i386_retval.c
parentd5031573d2529da37e301d581e87bd4ba0993351 (diff)
downloadelfutils-adf84f4a0364e140eaf1994ac3403f29ae719a95.tar.gz
backends: i386 integer return value typo fix, reported by Thorsten Glaser <tg@mirbsd.de>.
Diffstat (limited to 'backends/i386_retval.c')
-rw-r--r--backends/i386_retval.c4
1 files changed, 2 insertions, 2 deletions
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