summaryrefslogtreecommitdiff
path: root/bfd/coff-arm.c
diff options
context:
space:
mode:
authorCatherine Moore <clm@redhat.com>1999-05-10 18:27:37 +0000
committerCatherine Moore <clm@redhat.com>1999-05-10 18:27:37 +0000
commit2b0fce3183d77dc277259afd004c5c161432c983 (patch)
tree3812e6913796fa2749e0fcc170f1c6ab5ff1e08e /bfd/coff-arm.c
parent91aa0a6a3340c5320858645c073f5cdc631309de (diff)
downloadgdb-2b0fce3183d77dc277259afd004c5c161432c983.tar.gz
* bfd-in.h (bfd_arm_allocate_interworking_sections): Static
if COFF_IMAGE_WITH_PE. (bfd_arm_process_before_allocation): Likewise. (bfd_arm_get_bfd_for_interworking): Likewise. * coff-arm.c: Likewise. * bfd-in2.h: Regenerate. * configure.in (armpe_little_vec): Remove coff-arm.lo. (armpe_big_vec): Likewise. * configure: Rebuild.
Diffstat (limited to 'bfd/coff-arm.c')
-rw-r--r--bfd/coff-arm.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c
index 32051175b72..4b9ee8420a0 100644
--- a/bfd/coff-arm.c
+++ b/bfd/coff-arm.c
@@ -1610,7 +1610,9 @@ coff_arm_relocate_section (output_bfd, info, input_bfd, input_section,
return true;
}
-#ifndef COFF_WITH_PE
+#ifdef COFF_IMAGE_WITH_PE
+static
+#endif
boolean
bfd_arm_allocate_interworking_sections (info)
struct bfd_link_info * info;
@@ -1797,6 +1799,9 @@ record_thumb_to_arm_glue (info, h)
/* Select a BFD to be used to hold the sections used by the glue code.
This function is called from the linker scripts in ld/emultempl/
{armcoff/pe}.em */
+#ifdef COFF_IMAGE_WITH_PE
+static
+#endif
boolean
bfd_arm_get_bfd_for_interworking (abfd, info)
bfd * abfd;
@@ -1852,6 +1857,9 @@ bfd_arm_get_bfd_for_interworking (abfd, info)
return true;
}
+#ifdef COFF_IMAGE_WITH_PE
+static
+#endif
boolean
bfd_arm_process_before_allocation (abfd, info, support_old_code)
bfd * abfd;
@@ -1959,8 +1967,6 @@ bfd_arm_process_before_allocation (abfd, info, support_old_code)
return true;
}
-#endif /* ! COFF_WITH_PE */
-
#define coff_bfd_reloc_type_lookup coff_arm_reloc_type_lookup
#define coff_relocate_section coff_arm_relocate_section
#define coff_bfd_is_local_label_name coff_arm_is_local_label_name