From 39a2ce33d7f365907352432bce427ec64b774454 Mon Sep 17 00:00:00 2001 From: Steve Chamberlain Date: Tue, 23 Apr 1991 22:44:20 +0000 Subject: [PATCH] *** empty log message *** --- bfd/aout.c | 7 +++++++ bfd/ieee.c | 11 +++++++++-- bfd/oasys.c | 7 ++++++- bfd/opncls.c | 2 +- bfd/srec.c | 12 +++++++++++- bfd/sunos.c | 7 +++++++ 6 files changed, 41 insertions(+), 5 deletions(-) diff --git a/bfd/aout.c b/bfd/aout.c index 921c448f74..d91bb12ed4 100755 --- a/bfd/aout.c +++ b/bfd/aout.c @@ -1932,6 +1932,13 @@ DEFUN(sunos4_find_nearest_line,(abfd, } +static int +DEFUN(sunos4_sizeof_headers,(abfd), + bfd *abfd) +{ +return 0; +} + #define sunos4_openr_next_archived_file bfd_generic_openr_next_archived_file #define sunos4_generic_stat_arch_elt bfd_generic_stat_arch_elt #define sunos4_slurp_armap bfd_slurp_bsd_armap diff --git a/bfd/ieee.c b/bfd/ieee.c index 6d98b10536..e9d04a98ca 100644 --- a/bfd/ieee.c +++ b/bfd/ieee.c @@ -1292,8 +1292,8 @@ DEFUN(ieee_set_arch_mach,(abfd, arch, machine), static int DEFUN(comp,(ap, bp), - PTR ap AND - PTR bp) + CONST PTR ap AND + CONST PTR bp) { arelent *a = *((arelent **)ap); arelent *b = *((arelent **)bp); @@ -1894,6 +1894,13 @@ struct stat *buf; return 0; } } +static int +DEFUN(ieee_sizeof_headers,(abfd), + bfd *abfd) +{ +return 0; +} + #define ieee_core_file_failing_command bfd_false #define ieee_core_file_failing_signal bfd_false #define ieee_core_file_matches_executable_p bfd_false diff --git a/bfd/oasys.c b/bfd/oasys.c index a7cb3d908a..4bce3cc020 100644 --- a/bfd/oasys.c +++ b/bfd/oasys.c @@ -1141,8 +1141,13 @@ struct stat *buf; buf->st_mode = 0666; return 0; } +} - +static int +DEFUN(oasys_sizeof_headers,(abfd), + bfd *abfd) +{ +return 0; } #define oasys_core_file_failing_command bfd_false diff --git a/bfd/opncls.c b/bfd/opncls.c index c1df552e64..d444acfeaa 100644 --- a/bfd/opncls.c +++ b/bfd/opncls.c @@ -61,7 +61,7 @@ bfd *new_bfd() { struct obstack tmp; bfd *nbfd; - obstack_init(&tmp); + obstack_begin(&tmp,128); nbfd = (bfd *)obstack_alloc(&tmp,sizeof(bfd)); nbfd->memory = tmp; diff --git a/bfd/srec.c b/bfd/srec.c index 7a4ff5d5b0..4fd233e8f7 100644 --- a/bfd/srec.c +++ b/bfd/srec.c @@ -42,7 +42,10 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ /* $Id$ * $Log$ - * Revision 1.4 1991/04/23 16:01:02 steve + * Revision 1.5 1991/04/23 22:44:14 steve + * *** empty log message *** + * + * Revision 1.4 1991/04/23 16:01:02 steve * *** empty log message *** * * Revision 1.3 1991/04/08 23:22:31 steve @@ -413,6 +416,13 @@ bfd *abfd; return true; } +static int +DEFUN(srec_sizeof_headers,(abfd), + bfd *abfd) +{ +return 0; +} + /*SUPPRESS 460 */ #define srec_core_file_failing_command bfd_false #define srec_core_file_failing_signal bfd_false diff --git a/bfd/sunos.c b/bfd/sunos.c index 921c448f74..d91bb12ed4 100644 --- a/bfd/sunos.c +++ b/bfd/sunos.c @@ -1932,6 +1932,13 @@ DEFUN(sunos4_find_nearest_line,(abfd, } +static int +DEFUN(sunos4_sizeof_headers,(abfd), + bfd *abfd) +{ +return 0; +} + #define sunos4_openr_next_archived_file bfd_generic_openr_next_archived_file #define sunos4_generic_stat_arch_elt bfd_generic_stat_arch_elt #define sunos4_slurp_armap bfd_slurp_bsd_armap