From: H.J. Lu Date: Thu, 8 Dec 2005 01:34:13 +0000 (+0000) Subject: 2005-12-07 H.J. Lu X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e424ecc89d5c60395ac795dc5dd8f482dee51d5d;p=binutils-gdb.git 2005-12-07 H.J. Lu * elf.c (assign_section_numbers): Remove extra code in the last change. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3051cdc3f89..f76458a9697 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-12-07 H.J. Lu + + * elf.c (assign_section_numbers): Remove extra code in the last + change. + 2005-12-07 H.J. Lu Andreas Schwab diff --git a/bfd/elf.c b/bfd/elf.c index 644ac6d654c..58a90596d31 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); }