From 7d003262a723b67a843d98acae10b933b4447530 Mon Sep 17 00:00:00 2001 From: Stu Grossman Date: Fri, 23 Aug 1991 05:26:06 +0000 Subject: [PATCH] saber --- bfd/ChangeLog | 4 ++++ bfd/aoutx.h | 5 +++-- bfd/coffcode.h | 6 +++--- gdb/ChangeLog | 4 ++++ 4 files changed, 14 insertions(+), 5 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 5d4d4980b0..292420b40b 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 91a4a3fda3..ebd825b213 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 4e3ad85bea..35f254976e 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; diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 68f48df588..866d200d66 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +Thu Aug 22 22:17:06 1991 Stu Grossman (grossman at cygint.cygnus.com) + + * coffread.c, symfile.c, stack.c: saberized. + Thu Aug 22 16:20:27 1991 Roland H. Pesch (pesch at cygint.cygnus.com) * doc/refcard.tex: permuted Essential Commands sec -- 2.34.1