diff options
-rwxr-xr-x | bfd/aout.c | 7 | ||||
-rw-r--r-- | bfd/ieee.c | 11 | ||||
-rw-r--r-- | bfd/oasys.c | 7 | ||||
-rw-r--r-- | bfd/opncls.c | 2 | ||||
-rw-r--r-- | bfd/srec.c | 12 | ||||
-rw-r--r-- | bfd/sunos.c | 7 |
6 files changed, 41 insertions, 5 deletions
@@ -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 @@ -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 a7cb3d9..4bce3cc 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 c1df552..d444acf 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; @@ -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 921c448..d91bb12 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 |