aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog2
-rw-r--r--bfd/coff-i386.c17
2 files changed, 16 insertions, 3 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index c8190e9..1c8e07d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,7 @@
Wed Oct 13 14:28:17 1993 Ken Raeburn (raeburn@cambridge.cygnus.com)
+ * coff-i386.c (i3coff_object_p): Now static.
+
* Makefile.in: Updated dependencies.
(.dep, .dep1, dep.sed): New targets, to make "make dep" work
better.
diff --git a/bfd/coff-i386.c b/bfd/coff-i386.c
index f76332d..981b510 100644
--- a/bfd/coff-i386.c
+++ b/bfd/coff-i386.c
@@ -284,11 +284,22 @@ static reloc_howto_type howto_table[] =
cache_ptr->addend += asect->vma; \
}
+/* For aix386, define a variable to track the number of sections discarded
+ during a strip. */
+
+#if defined(_AIX) && defined(_I386)
+#define USE_DISCARDED_SECTIONS_COUNT
+int discarded_sections_count = 0;
+#endif
+
#include "coffcode.h"
-bfd_target *i3coff_object_p(a)
-bfd *a ;
-{ return coff_object_p(a); }
+static bfd_target *
+i3coff_object_p(a)
+ bfd *a;
+{
+ return coff_object_p(a);
+}
bfd_target
#ifdef TARGET_SYM