aboutsummaryrefslogtreecommitdiff
path: root/bfd/coff-ppc.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-04-18 22:55:54 +0000
committerIan Lance Taylor <ian@airs.com>1996-04-18 22:55:54 +0000
commitd6e0e2f786715baa7e5bd4b08cb371324ac31df2 (patch)
tree4a2bbbe9f1ecba5018a266c75dd227efe527b788 /bfd/coff-ppc.c
parent9590fa867b8d8132334654182ed606dd537fd741 (diff)
downloadgdb-d6e0e2f786715baa7e5bd4b08cb371324ac31df2.zip
gdb-d6e0e2f786715baa7e5bd4b08cb371324ac31df2.tar.gz
gdb-d6e0e2f786715baa7e5bd4b08cb371324ac31df2.tar.bz2
* libcoff-in.h (struct coff_final_link_info): Add last_bf_index
and last_bf fields. * libcoff.h: Rebuild. * coffswap.h (coff_swap_aux_in): Swap endndx field for C_FCN symbols. (coff_swap_aux_out): Likewise. * peicode.h (coff_swap_aux_in): Likewise. (coff_swap_aux_out): Likewise. * coffgen.c (coff_pointerize_aux): Check endndx field for C_FCN symbols. * cofflink.c (_bfd_coff_final_link): Initialize last_bf_index field. (_bfd_coff_link_input_bfd): Check endndx field for C_FCN symbols. Fix up .bf endndx link fields. * coff-ppc.c (ppc_bfd_coff_final_link): Initialize last_bf_index field. * xcofflink.c (xcoff_link_input_bfd): Check endndx field for C_FCN symbols. PR 9467.
Diffstat (limited to 'bfd/coff-ppc.c')
-rw-r--r--bfd/coff-ppc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/coff-ppc.c b/bfd/coff-ppc.c
index d49348f..cad654a 100644
--- a/bfd/coff-ppc.c
+++ b/bfd/coff-ppc.c
@@ -2713,6 +2713,7 @@ ppc_bfd_coff_final_link (abfd, info)
finfo.strtab = NULL;
finfo.section_info = NULL;
finfo.last_file_index = -1;
+ finfo.last_bf_index = -1;
finfo.internal_syms = NULL;
finfo.sec_ptrs = NULL;
finfo.sym_indices = NULL;