aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbfd/aout.c7
-rw-r--r--bfd/ieee.c11
-rw-r--r--bfd/oasys.c7
-rw-r--r--bfd/opncls.c2
-rw-r--r--bfd/srec.c12
-rw-r--r--bfd/sunos.c7
6 files changed, 41 insertions, 5 deletions
diff --git a/bfd/aout.c b/bfd/aout.c
index 921c448..d91bb12 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 6d98b10..e9d04a9 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 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;
diff --git a/bfd/srec.c b/bfd/srec.c
index 7a4ff5d..4fd233e 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 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