aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-code.h
diff options
context:
space:
mode:
authorJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
committerJohn Gilmore <gnu@cygnus>1991-05-02 23:10:23 +0000
commit23b0b55855895b0654f2c7916f953b802398bb25 (patch)
tree8b511ccc3c797fff05a84445b4b4674707fbcf32 /bfd/coff-code.h
parent9b4641a629b4505034880403da468e75c4e329b4 (diff)
downloadgdb-23b0b55855895b0654f2c7916f953b802398bb25.zip
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.gz
gdb-23b0b55855895b0654f2c7916f953b802398bb25.tar.bz2
Merge Per Bothner's MIPS changes from 31 March 1991 (bfd-0.5.2-patch1a)
and make the result compile and run on the DEC 3100. It still has trouble running but it can handle opening exec and symbol files in ecoff format.
Diffstat (limited to 'bfd/coff-code.h')
-rwxr-xr-xbfd/coff-code.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/coff-code.h b/bfd/coff-code.h
index c649285..8472670 100755
--- a/bfd/coff-code.h
+++ b/bfd/coff-code.h
@@ -160,7 +160,6 @@ static boolean
DEFUN(make_a_section_from_file,(abfd, hdr),
bfd *abfd AND
struct scnhdr *hdr)
-
{
asection *return_section;
@@ -225,7 +224,7 @@ static boolean
DEFUN(coff_mkobject,(abfd),
bfd *abfd)
{
- set_tdata (abfd, bfd_alloc (abfd,sizeof(coff_data_type)));
+ set_tdata (abfd, bfd_zalloc (abfd,sizeof(coff_data_type)));
if (coff_data(abfd) == 0) {
bfd_error = no_memory;
return false;