Merge branch 'master' of ssh://git.fedorahosted.org/git/elfutils
diff --git a/src/readelf.c b/src/readelf.c
index bc67c31..2e8257f 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -7074,6 +7074,7 @@
 	  maxreg = reg;
 	struct register_info *info = &regs[reg];
 	info->regloc = &reglocs[i];
+	info->regno = reg;
 	info->set = register_info (ebl, reg, &reglocs[i],
 				   info->name, &info->bits, &info->type);
       }