aboutsummaryrefslogtreecommitdiff
path: root/bfd/libcoff.h
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/libcoff.h
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/libcoff.h')
-rw-r--r--bfd/libcoff.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/bfd/libcoff.h b/bfd/libcoff.h
index 41888e2..2614310 100644
--- a/bfd/libcoff.h
+++ b/bfd/libcoff.h
@@ -2,6 +2,9 @@
Copyright (C) 1990, 91, 92, 93, 94, 95, 1996 Free Software Foundation, Inc.
Written by Cygnus Support.
+** NOTE: libcoff.h is a GENERATED file. Don't change it; instead,
+** change libcoff-in.h or coffcode.h.
+
This file is part of BFD, the Binary File Descriptor library.
This program is free software; you can redistribute it and/or modify
@@ -405,6 +408,11 @@ struct coff_final_link_info
long last_file_index;
/* Contents of last C_FILE symbol. */
struct internal_syment last_file;
+ /* Symbol index of first aux entry of last .bf symbol with an empty
+ endndx field (-1 if none). */
+ long last_bf_index;
+ /* Contents of last_bf_index aux entry. */
+ union internal_auxent last_bf;
/* Hash table used to merge debug information. */
struct coff_debug_merge_hash_table debug_merge;
/* Buffer large enough to hold swapped symbols of any input file. */
@@ -814,7 +822,7 @@ typedef struct
#define bfd_coff_adjust_symndx(obfd, info, ibfd, sec, rel, adjustedp)\
((coff_backend_info (abfd)->_bfd_coff_adjust_symndx)\
(obfd, info, ibfd, sec, rel, adjustedp))
-#define bfd_coff_link_add_one_symbol(info, abfd, name, flags, section, value, string, cp, coll, hashp)\
+#define bfd_coff_link_add_one_symbol(info,abfd,name,flags,section,value,string,cp,coll,hashp)\
((coff_backend_info (abfd)->_bfd_coff_link_add_one_symbol)\
(info, abfd, name, flags, section, value, string, cp, coll, hashp))