projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
AAganichev's parse_stab_type size fix.
[binutils-gdb.git]
/
binutils
/
stabs.c
diff --git
a/binutils/stabs.c
b/binutils/stabs.c
index 8c20ed308e1cc2363f4310de503e445800361157..5f600354257e3b11550f096d8a5db51a6773bea5 100644
(file)
--- a/
binutils/stabs.c
+++ b/
binutils/stabs.c
@@
-1261,6
+1261,7
@@
parse_stab_type (dhandle, info, typename, pp, slotp)
{
case 's':
size = atoi (attr + 1);
+ size /= 8; /* Size is in bits. We store it in bytes. */
if (size <= 0)
size = -1;
break;