projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41f5a52
)
AAganichev's parse_stab_type size fix.
author
Alan Modra
<amodra@gmail.com>
Sat, 1 Jul 2000 10:00:05 +0000
(10:00 +0000)
committer
Alan Modra
<amodra@gmail.com>
Sat, 1 Jul 2000 10:00:05 +0000
(10:00 +0000)
binutils/ChangeLog
patch
|
blob
|
history
binutils/stabs.c
patch
|
blob
|
history
diff --git
a/binutils/ChangeLog
b/binutils/ChangeLog
index 717e27bdb0ce371be2770be4cc37464745879d50..1e080cdd9a473c140016e69a55298a80d22b16d0 100644
(file)
--- 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 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;