AAganichev's parse_stab_type size fix.
This commit is contained in:
parent
41f5a528d2
commit
944e5c61c8
2 changed files with 6 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue