aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/elf.c')
-rw-r--r--bfd/elf.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/bfd/elf.c b/bfd/elf.c
index 644ac6d..58a9059 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -3074,10 +3074,7 @@ assign_section_numbers (bfd *abfd, struct bfd_link_info *link_info)
}
s = kept;
}
- }
- if (link_info != NULL)
- {
- /* Handle linker. */
+
s = s->output_section;
BFD_ASSERT (s != NULL);
}