diff options
author | Catherine Moore <clm@redhat.com> | 1999-05-10 18:27:37 +0000 |
---|---|---|
committer | Catherine Moore <clm@redhat.com> | 1999-05-10 18:27:37 +0000 |
commit | ba1b93173e2bb768a37bc25d5ba4ba270ef42a44 (patch) | |
tree | b2fb2b81074bd935becc9c12645dd6f4b15e2235 | |
parent | c1f6bc0323fdfa8cb6a885c01053eceb7fe46cd6 (diff) | |
download | gdb-ba1b93173e2bb768a37bc25d5ba4ba270ef42a44.zip gdb-ba1b93173e2bb768a37bc25d5ba4ba270ef42a44.tar.gz gdb-ba1b93173e2bb768a37bc25d5ba4ba270ef42a44.tar.bz2 |
* 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.
-rw-r--r-- | bfd/ChangeLog | 12 | ||||
-rw-r--r-- | bfd/bfd-in.h | 9 | ||||
-rw-r--r-- | bfd/bfd-in2.h | 9 | ||||
-rw-r--r-- | bfd/coff-arm.c | 12 | ||||
-rwxr-xr-x | bfd/configure | 4 | ||||
-rw-r--r-- | bfd/configure.in | 4 |
6 files changed, 43 insertions, 7 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 75cba37..f2f3c3c 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,15 @@ +1999-05-10 Catherine Moore <clm@cygnus.com> + + * 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. + 1999-05-10 Nick Clifton <nickc@cygnus.com> * elf.c (elf_fake_sections): Check for .rel. as start of rel diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 8bdbf80..46085d0 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -705,12 +705,21 @@ extern boolean bfd_coff_set_symbol_class PARAMS ((bfd *, struct symbol_cache_entry *, unsigned int)); /* ARM Interworking support. Called from linker. */ +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_allocate_interworking_sections PARAMS ((struct bfd_link_info *)); +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_process_before_allocation PARAMS ((bfd *, struct bfd_link_info *, int)); +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_get_bfd_for_interworking PARAMS ((bfd *, struct bfd_link_info *)); diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 8e86304..860ca35 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -705,12 +705,21 @@ extern boolean bfd_coff_set_symbol_class PARAMS ((bfd *, struct symbol_cache_entry *, unsigned int)); /* ARM Interworking support. Called from linker. */ +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_allocate_interworking_sections PARAMS ((struct bfd_link_info *)); +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_process_before_allocation PARAMS ((bfd *, struct bfd_link_info *, int)); +#ifdef COFF_IMAGE_WITH_PE +static +#endif extern boolean bfd_arm_get_bfd_for_interworking PARAMS ((bfd *, struct bfd_link_info *)); diff --git a/bfd/coff-arm.c b/bfd/coff-arm.c index 3205117..4b9ee84 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 diff --git a/bfd/configure b/bfd/configure index f6ca66f..17b5a8f 100755 --- a/bfd/configure +++ b/bfd/configure @@ -5002,8 +5002,8 @@ do a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;; armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; - armpe_little_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; - armpe_big_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; + armpe_little_vec) tb="$tb pe-arm.lo cofflink.lo " ;; + armpe_big_vec) tb="$tb pe-arm.lo cofflink.lo " ;; armpei_little_vec) tb="$tb pei-arm.lo cofflink.lo " ;; armpei_big_vec) tb="$tb pei-arm.lo cofflink.lo " ;; arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo cofflink.lo " ;; diff --git a/bfd/configure.in b/bfd/configure.in index 3a3e36f..80eeb01 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -414,8 +414,8 @@ do a_out_adobe_vec) tb="$tb aout-adobe.lo aout32.lo" ;; armcoff_little_vec) tb="$tb coff-arm.lo cofflink.lo " ;; armcoff_big_vec) tb="$tb coff-arm.lo cofflink.lo " ;; - armpe_little_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; - armpe_big_vec) tb="$tb pe-arm.lo coff-arm.lo cofflink.lo " ;; + armpe_little_vec) tb="$tb pe-arm.lo cofflink.lo " ;; + armpe_big_vec) tb="$tb pe-arm.lo cofflink.lo " ;; armpei_little_vec) tb="$tb pei-arm.lo cofflink.lo " ;; armpei_big_vec) tb="$tb pei-arm.lo cofflink.lo " ;; arm_epoc_pe_little_vec) tb="$tb epoc-pe-arm.lo cofflink.lo " ;; |