From: Alan Modra Date: Sat, 1 Jul 2000 10:00:05 +0000 (+0000) Subject: AAganichev's parse_stab_type size fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=944e5c61c8aa67f917e3c3bb8c4ce1cc53941f4b;p=binutils-gdb.git AAganichev's parse_stab_type size fix. --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 717e27bdb0c..1e080cdd9a4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-07-01 Alexander Aganichev + + * 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 * Makefile.am (DEP): Fix 2000-06-22. grep after running dep.sed diff --git a/binutils/stabs.c b/binutils/stabs.c index 8c20ed308e1..5f600354257 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;