diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-09-14 19:03:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-09-14 19:03:21 +0000 |
commit | a208a70f7a1a3418b11203867843fb2218c15d02 (patch) | |
tree | 95f1c1d349d0b2db42c5244ad1b7bf557316c45b /bfd/configure | |
parent | 4814df240eaff8078a63a412ac405709bd168455 (diff) | |
download | gdb-a208a70f7a1a3418b11203867843fb2218c15d02.zip gdb-a208a70f7a1a3418b11203867843fb2218c15d02.tar.gz gdb-a208a70f7a1a3418b11203867843fb2218c15d02.tar.bz2 |
Convert i960 COFF to use COFF backend linker.
* coff-i960.c (coff_i960_relocate): Use a coff_section_data
structure to store the symbol being used.
(coff_i960_start_final_link): New static function.
(coff_i960_relocate_section): New static function.
(coff_i960_adjust_symndx): New static function.
(coff_start_final_link): Define.
(coff_relocate_section): Define.
(coff_adjust_symndx): Define.
* coffcode.h (bfd_coff_backend_data): Add new callback function
_bfd_coff_start_final_link.
(bfd_coff_start_final_link): Define.
(coff_start_final_link): Define if not defined.
(bfd_coff_std_swap_table): Add coff_start_final_link.
* cofflink.c (_bfd_coff_internal_syment_name): Make globally
visible.
(_bfd_coff_final_link): Call bfd_coff_start_final_link if the
function callback is not NULL.
* libcoff-in.h (struct coff_section_tdata): Add tdata field.
(_bfd_coff_internal_syment_name): Declare.
* libcoff.h: Rebuild.
* configure.in (icoff_big_vec): Add cofflink.o.
(icoff_little_vec): Likewise.
* configure: Rebuild.
Diffstat (limited to 'bfd/configure')
-rwxr-xr-x | bfd/configure | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/configure b/bfd/configure index 4459986..484bdc1 100755 --- a/bfd/configure +++ b/bfd/configure @@ -1345,8 +1345,8 @@ do i386mach3_vec) tb="$tb i386mach3.o aout32.o stab-syms.o" ;; i386netbsd_vec) tb="$tb i386netbsd.o aout32.o stab-syms.o" ;; i386os9k_vec) tb="$tb i386os9k.o aout32.o stab-syms.o" ;; - icoff_big_vec) tb="$tb coff-i960.o" ;; - icoff_little_vec) tb="$tb coff-i960.o" ;; + icoff_big_vec) tb="$tb coff-i960.o cofflink.o" ;; + icoff_little_vec) tb="$tb coff-i960.o cofflink.o" ;; ieee_vec) tb="$tb ieee.o" ;; m68kcoff_vec) tb="$tb coff-m68k.o cofflink.o" ;; m68kcoffun_vec) tb="$tb coff-u68k.o coff-m68k.o cofflink.o" ;; |