From f76d3101e88191c68ee77fe4c46cfb03e6a8104a Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 24 Nov 1997 23:51:15 +0000 Subject: [PATCH] Fix for PE build --- bfd/ChangeLog | 5 +++++ bfd/coff-arm.c | 13 ++++++------- 2 files changed, 11 insertions(+), 7 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index d5460a6ed63..2457170462e 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Mon Nov 24 15:47:49 1997 Nick Clifton + + * 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 * 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 b167764659f..9b7ce235695 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; -- 2.30.2