projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix typo introduced with previous delta.
[deliverable/binutils-gdb.git]
/
bfd
/
vms-gsd.c
diff --git
a/bfd/vms-gsd.c
b/bfd/vms-gsd.c
index d9dcd7857896f3773df1c3a5f11f96c1ce28020c..002412232dc2b1c64f37ef73875c478ccb4d2ae3 100644
(file)
--- a/
bfd/vms-gsd.c
+++ b/
bfd/vms-gsd.c
@@
-426,13
+426,12
@@
_bfd_vms_slurp_gsd (abfd, objtype)
else
{
section->contents = ((unsigned char *)
else
{
section->contents = ((unsigned char *)
- bfd_malloc (section->_raw_size));
+ bfd_
z
malloc (section->_raw_size));
if (section->contents == NULL)
{
bfd_set_error (bfd_error_no_memory);
return -1;
}
if (section->contents == NULL)
{
bfd_set_error (bfd_error_no_memory);
return -1;
}
- memset (section->contents, 0, (size_t) section->_raw_size);
}
section->_cooked_size = section->_raw_size;
#if VMS_DEBUG
}
section->_cooked_size = section->_raw_size;
#if VMS_DEBUG
@@
-618,10
+617,9
@@
_bfd_vms_slurp_gsd (abfd, objtype)
section->vma = (bfd_vma)base_addr;
base_addr += section->_raw_size;
section->contents = ((unsigned char *)
section->vma = (bfd_vma)base_addr;
base_addr += section->_raw_size;
section->contents = ((unsigned char *)
- bfd_malloc (section->_raw_size));
+ bfd_
z
malloc (section->_raw_size));
if (section->contents == NULL)
return -1;
if (section->contents == NULL)
return -1;
- memset (section->contents, 0, (size_t) section->_raw_size);
section->_cooked_size = section->_raw_size;
#if VMS_DEBUG
vms_debug(4, "egsd psc %d (%s, flags %04x=%s) ",
section->_cooked_size = section->_raw_size;
#if VMS_DEBUG
vms_debug(4, "egsd psc %d (%s, flags %04x=%s) ",
This page took
0.025071 seconds
and
4
git commands to generate.