aboutsummaryrefslogtreecommitdiff
path: root/bfd/libecoff.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-06 17:44:34 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-06 17:44:34 +0000
commit469984d1f66a2e91f530aa266759ae8d8d1abf8b (patch)
tree748ab985754de5b3e0008bd994cf6b80aa7abbb2 /bfd/libecoff.h
parentd2c71068e85b97ec00c86ac211aed42c686b4d24 (diff)
downloadgdb-469984d1f66a2e91f530aa266759ae8d8d1abf8b.zip
gdb-469984d1f66a2e91f530aa266759ae8d8d1abf8b.tar.gz
gdb-469984d1f66a2e91f530aa266759ae8d8d1abf8b.tar.bz2
* libecoff.h (ecoff_data_type): Add linker field.
* ecoff.c (ecoff_write_object_contents): Check new tdata linker field, rather than outsymbols being non-NULL, to decide whether to output the symbols and relocs. (ecoff_bfd_final_link): Set new tdata linker field to true.
Diffstat (limited to 'bfd/libecoff.h')
-rw-r--r--bfd/libecoff.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/bfd/libecoff.h b/bfd/libecoff.h
index a017d6e..0d20c4b 100644
--- a/bfd/libecoff.h
+++ b/bfd/libecoff.h
@@ -121,6 +121,9 @@ typedef struct ecoff_tdata
linking. */
asection **symndx_to_section;
+ /* True if this BFD was written by the backend linker. */
+ boolean linker;
+
} ecoff_data_type;
/* Each canonical asymbol really looks like this. */
@@ -233,7 +236,7 @@ extern boolean ecoff_get_section_contents PARAMS ((bfd *abfd,
file_ptr offset,
bfd_size_type count));
-#define ecoff_bfd_copy_private_bfd_data _bfd_generic_bfd_copy_private_bfd_data
+extern boolean ecoff_bfd_copy_private_bfd_data PARAMS ((bfd *, bfd *));
#define ecoff_bfd_copy_private_section_data \
_bfd_generic_bfd_copy_private_section_data