summaryrefslogtreecommitdiff
path: root/binutils/stabs.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils/stabs.c')
-rw-r--r--binutils/stabs.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/stabs.c b/binutils/stabs.c
index 8c20ed308e..5f60035425 100644
--- 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;