diff options
author | John Gilmore <gnu@cygnus> | 1991-05-02 23:10:23 +0000 |
---|---|---|
committer | John Gilmore <gnu@cygnus> | 1991-05-02 23:10:23 +0000 |
commit | 23b0b55855895b0654f2c7916f953b802398bb25 (patch) | |
tree | 8b511ccc3c797fff05a84445b4b4674707fbcf32 /bfd/libbfd.c | |
parent | 9b4641a629b4505034880403da468e75c4e329b4 (diff) | |
download | gdb-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/libbfd.c')
-rw-r--r-- | bfd/libbfd.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/bfd/libbfd.c b/bfd/libbfd.c index f612343..190e500 100644 --- a/bfd/libbfd.c +++ b/bfd/libbfd.c @@ -136,21 +136,21 @@ zalloc (size) contents (0 for non-archive elements). For archive entries this is the first octet in the file, NOT the beginning of the archive header. */ -size_t +bfd_size_type bfd_read (ptr, size, nitems, abfd) PTR ptr; - size_t size; - size_t nitems; + bfd_size_type size; + bfd_size_type nitems; bfd *abfd; { return fread (ptr, 1, size*nitems, bfd_cache_lookup(abfd)); } -size_t +bfd_size_type bfd_write (ptr, size, nitems, abfd) PTR ptr; - size_t size; - size_t nitems; + bfd_size_type size; + bfd_size_type nitems; bfd *abfd; { return fwrite (ptr, 1, size*nitems, bfd_cache_lookup(abfd)); |