]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
backends: i386 integer return value typo fix, reported by Thorsten Glaser <tg@mirbsd...
authorRoland McGrath <roland@redhat.com>
Mon, 8 Nov 2010 18:43:59 +0000 (10:43 -0800)
committerRoland McGrath <roland@redhat.com>
Mon, 8 Nov 2010 18:43:59 +0000 (10:43 -0800)
backends/ChangeLog
backends/i386_retval.c

index 9fd9745d0e4699b00fcd34f2527ecf21da87ac20..7865338fbe86de64e8c3408c634acfc532e18e3a 100644 (file)
@@ -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.
index c3bab10876db985fb936994eb125e55fc3849786..67a090d5cad54bd16969298c54971da462903291 100644 (file)
@@ -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