diff options
author | Alan Modra <amodra@gmail.com> | 2001-09-29 12:07:01 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2001-09-29 12:07:01 +0000 |
commit | 862517b6506a76ce9dc0e06b8f1d98577371e3b4 (patch) | |
tree | cb956a05e4995c05b5dec75e0eb63df3d1510f37 /ld/ldlang.c | |
parent | 65f38f15bf0d85cf1b7d142f76278a668652b4b7 (diff) | |
download | gdb-862517b6506a76ce9dc0e06b8f1d98577371e3b4.zip gdb-862517b6506a76ce9dc0e06b8f1d98577371e3b4.tar.gz gdb-862517b6506a76ce9dc0e06b8f1d98577371e3b4.tar.bz2 |
* section.c (struct sec): Remove kept_section.
(STD_SECTION): Remove kept_section initialisation.
(bfd_make_section_anyway): Here too.
* ecoff.c (bfd_debug_section): Remove kept_section initialisation.
* cofflink.c (_bfd_coff_link_input_bfd): Don't test kept_section.
* elflink.h (elf_link_input_bfd): Set discarded link-once section
symbols to zero, and remove all code involved with kept_section
and tracking section symbol values.
* bfd-in2.h: Regenerate.
* configure.in: Bump version number.
* configure: Regenerate.
* ldlang.c (section_already_linked): Remove assignment to kept_section.
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r-- | ld/ldlang.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c index db420e8..1b63468 100644 --- a/ld/ldlang.c +++ b/ld/ldlang.c @@ -1013,11 +1013,8 @@ section_already_linked (abfd, sec, data) /* Set the output_section field so that lang_add_section does not create a lang_input_section structure for this - section. Since there might be a symbol in the section - being discarded, we must retain a pointer to the section - which we are really going to use. */ + section. */ sec->output_section = bfd_abs_section_ptr; - sec->kept_section = l->sec; return; } |