aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1997-11-24 23:51:15 +0000
committerNick Clifton <nickc@redhat.com>1997-11-24 23:51:15 +0000
commitf76d3101e88191c68ee77fe4c46cfb03e6a8104a (patch)
treeeccfe21aa1cfb7ff3dc3c3825485e56a709aad58
parentc5ecfceb13df0b39942ef3246533448651c0da35 (diff)
downloadgdb-f76d3101e88191c68ee77fe4c46cfb03e6a8104a.zip
gdb-f76d3101e88191c68ee77fe4c46cfb03e6a8104a.tar.gz
gdb-f76d3101e88191c68ee77fe4c46cfb03e6a8104a.tar.bz2
Fix for PE build
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/coff-arm.c13
2 files changed, 11 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index d5460a6..2457170 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+Mon Nov 24 15:47:49 1997 Nick Clifton <nickc@cygnus.com>
+
+ * coff-arm.c: Make variables and functions static, so that this
+ file can be included in multiple object files.
+
Sat Nov 22 15:16:00 1997 Nick Clifton <nickc@cygnus.com>
* coff-arm.c: Add support for PIC and APCS-FLOAT type binaries.
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index b167764..9b7ce23 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -726,10 +726,10 @@ arm_reloc_type_lookup(abfd,code)
/* The set of global variables that mark the total size of each kind
of glue required. */
-long int global_thumb_glue_size = 0;
-long int global_arm_glue_size = 0;
+static long int global_thumb_glue_size = 0;
+static long int global_arm_glue_size = 0;
-bfd* bfd_of_glue_owner = 0;
+static bfd * bfd_of_glue_owner = 0;
/* some typedefs for holding instructions */
typedef unsigned long int insn32;
@@ -1459,7 +1459,7 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
return true;
}
-boolean
+static boolean
arm_allocate_interworking_sections (info)
struct bfd_link_info *info;
{
@@ -1620,7 +1620,7 @@ record_thumb_to_arm_glue (info, h)
return;
}
-boolean
+static boolean
arm_process_before_allocation (abfd, info)
bfd * abfd;
struct bfd_link_info * info;
@@ -2047,10 +2047,9 @@ arm_get_last()
#define ARM_HACKS
-
/* Do the final link step. */
-boolean
+static boolean
coff_arm_bfd_final_link (abfd, info)
bfd *abfd;
struct bfd_link_info *info;