diff options
author | Stu Grossman <grossman@cygnus> | 1991-08-23 05:26:06 +0000 |
---|---|---|
committer | Stu Grossman <grossman@cygnus> | 1991-08-23 05:26:06 +0000 |
commit | 7d003262a723b67a843d98acae10b933b4447530 (patch) | |
tree | c53e70d0ef2d7c16c85a68858d3ef32ce3bedf1f /bfd | |
parent | 69e87de278d46588593bca456fdf10cba7b52c88 (diff) | |
download | gdb-7d003262a723b67a843d98acae10b933b4447530.zip gdb-7d003262a723b67a843d98acae10b933b4447530.tar.gz gdb-7d003262a723b67a843d98acae10b933b4447530.tar.bz2 |
saber
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/aoutx.h | 5 | ||||
-rw-r--r-- | bfd/coffcode.h | 6 |
3 files changed, 10 insertions, 5 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5d4d498..292420b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 22 22:20:19 1991 Stu Grossman (grossman at cygint.cygnus.com) + + * aoutx.h, coffcode.h: saberized. + Thu Aug 22 11:27:06 1991 Roland H. Pesch (pesch at cygint.cygnus.com) * bfd.texinfo: some cleanup, reincorporated more intro matter from diff --git a/bfd/aoutx.h b/bfd/aoutx.h index 91a4a3f..ebd825b 100644 --- a/bfd/aoutx.h +++ b/bfd/aoutx.h @@ -199,7 +199,8 @@ DEFUN(hlo10,(abfd, reloc_entry, symbol_in, data, input_section), return bfd_reloc_ok; } -static r64() +static bfd_reloc_status_enum_type +r64() { abort(); } @@ -1090,7 +1091,7 @@ DEFUN(NAME(aout,write_syms),(abfd), - translate_to_native_sym_flags (&nsp, (PTR)g, abfd); + translate_to_native_sym_flags (&nsp, g, abfd); bfd_write((PTR)&nsp,1,EXTERNAL_LIST_SIZE, abfd); } diff --git a/bfd/coffcode.h b/bfd/coffcode.h index 4e3ad85..35f2549 100644 --- a/bfd/coffcode.h +++ b/bfd/coffcode.h @@ -125,7 +125,7 @@ various flags to set in the @code{asymbol} @xref{Symbols}. The generated canonical table shares strings with the hidden internal symbol table. -Any linenumbers are read from the coff file too, and attatched to the +Any linenumbers are read from the coff file too, and attached to the symbols which own the functions the linenumbers belong to. @subsubsection Symbol Writing @@ -1050,7 +1050,7 @@ DEFUN(coff_object_p,(abfd), if (bfd_read((PTR) &opthdr, 1,AOUTSZ, abfd) != AOUTSZ) { return 0; } - bfd_swap_aouthdr_in(abfd, &opthdr, &internal_a); + bfd_swap_aouthdr_in(abfd, (char *)&opthdr, (char *)&internal_a); } /* Seek past the opt hdr stuff */ @@ -2475,7 +2475,7 @@ bfd *abfd) /* Swap all the raw entries */ for (raw_src = raw, internal_ptr = internal; raw_src < raw_end; raw_src++, internal_ptr++) { unsigned int i; - coff_swap_sym_in(abfd, raw_src,&internal_ptr->u.syment); + coff_swap_sym_in(abfd, (char *)raw_src, (char *)&internal_ptr->u.syment); internal_ptr->fix_tag = 0; internal_ptr->fix_end = 0; |