diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/stabs.c | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 717e27b..1e080cd 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-07-01 Alexander Aganichev <AAganichev@hypercom.com> + + * stabs.c (parse_stab_type): Divide size in bits by 8 as binutils + struct debug_type stores size in bytes. + 2000-07-01 Alan Modra <alan@linuxcare.com.au> * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed diff --git a/binutils/stabs.c b/binutils/stabs.c index 8c20ed3..5f60035 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; |