2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
authorH.J. Lu <hjl.tools@gmail.com>
Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)
committerH.J. Lu <hjl.tools@gmail.com>
Thu, 8 Dec 2005 01:34:13 +0000 (01:34 +0000)
* elf.c (assign_section_numbers): Remove extra code in the last
change.

bfd/ChangeLog
bfd/elf.c

index 3051cdc3f89533549f5e1739ff3719d9fea8afc1..f76458a969777f50e42ff79f23a1566f16da8c8f 100644 (file)
@@ -1,3 +1,8 @@
+2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * elf.c (assign_section_numbers): Remove extra code in the last
+       change.
+
 2005-12-07  H.J. Lu  <hongjiu.lu@intel.com>
            Andreas Schwab  <schwab@suse.de>
 
index 644ac6d654ccc0134ed76f2b6251a139ddd03125..58a90596d31b3481168257963383871255ed83f0 100644 (file)
--- 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);
                }