Fix for PE build

This commit is contained in:
Nick Clifton
1997-11-24 23:51:15 +00:00
parent c5ecfceb13
commit f76d3101e8
2 changed files with 11 additions and 7 deletions

View File

@ -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.

View File

@ -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;