summaryrefslogtreecommitdiff
path: root/bfd/ecoff.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-05-17 03:58:45 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-05-17 03:58:45 +0000
commitf9c47b0f2f8d74f6626c62252ea2b6f043e90c81 (patch)
tree3db79c35f61b67b473ddfdab2a8f7aadc0f7bda6 /bfd/ecoff.c
parent70480b65ce66ef6918b6bf9d7425e8462106ca9b (diff)
downloadbinutils-redhat-f9c47b0f2f8d74f6626c62252ea2b6f043e90c81.tar.gz
Add a flag to asection, linker_has_input, and use it to reliably
determine whether an input section is the first one assigned to an output section.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r--bfd/ecoff.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c
index 2237441e61..d05c15f285 100644
--- a/bfd/ecoff.c
+++ b/bfd/ecoff.c
@@ -74,12 +74,14 @@ static unsigned int ecoff_armap_hash PARAMS ((CONST char *s,
static asection bfd_debug_section =
{
- /* name, id, index, next, flags, user_set_vma, reloc_done, */
- "*DEBUG*", 0, 0, NULL, 0, 0, 0,
- /* linker_mark, gc_mark, segment_mark, vma, lma, _cooked_size, */
- 0, 0, 0, 0, 0, 0,
- /* _raw_size, output_offset, output_section, alignment_power, */
- 0, 0, NULL, 0,
+ /* name, id, index, next, flags, user_set_vma, reloc_done, */
+ "*DEBUG*", 0, 0, NULL, 0, 0, 0,
+ /* linker_mark, linker_has_input, gc_mark, segment_mark, */
+ 0, 0, 0, 0,
+ /* vma, lma, _cooked_size, _raw_size, */
+ 0, 0, 0, 0,
+ /* output_offset, output_section, alignment_power, */
+ 0, NULL, 0,
/* relocation, orelocation, reloc_count, filepos, rel_filepos, */
NULL, NULL, 0, 0, 0,
/* line_filepos, userdata, contents, lineno, lineno_count, */