]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
Fix typo in dwfl_module_getdwarf.c (find_symtab).
authorMark Wielaard <mjw@redhat.com>
Thu, 12 Sep 2013 09:27:56 +0000 (11:27 +0200)
committerMark Wielaard <mjw@redhat.com>
Thu, 12 Sep 2013 09:28:00 +0000 (11:28 +0200)
Call elf_getdata with aux_xndxscn, not xndxscn, for aux_symxndxdata.
This was a copy/paste error from the code just above for symxndxdata.

Signed-off-by: Mark Wielaard <mjw@redhat.com>
libdwfl/ChangeLog
libdwfl/dwfl_module_getdwarf.c

index 90ba6867b54441c0fd9c58ff9c2c660489b667b4..df7a50f82d9bbc228680e7304c1b1acf47f7ee7d 100644 (file)
@@ -1,3 +1,8 @@
+2013-09-12  Mark Wielaard  <mjw@redhat.com>
+
+       * dwfl_module_getdwarf.c (find_symtab): Call elf_getdata with
+       aux_xndxscn, not xndxscn, for aux_symxndxdata.
+
 2013-08-25  Mark Wielaard  <mjw@redhat.com>
 
        * linux-kernel-modules.c (report_kernel): Pass add_p_vaddr as true
index d35c2660b032d2b1bf84c699b35293d9d0db310e..7a65ec3bbc7526a880dae8c1fc017b3e74bf4c9c 100644 (file)
@@ -1077,7 +1077,7 @@ find_symtab (Dwfl_Module *mod)
        mod->aux_symxndxdata = NULL;
       else
        {
-         mod->aux_symxndxdata = elf_getdata (xndxscn, NULL);
+         mod->aux_symxndxdata = elf_getdata (aux_xndxscn, NULL);
          if (mod->aux_symxndxdata == NULL)
            goto aux_cleanup;
        }