diff options
author | H.J. Lu <hjl@lucon.org> | 2005-12-08 01:34:13 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2005-12-08 01:34:13 +0000 |
commit | b03f6d8de1d9dbe3eecb418d910fa4d94becdeb9 (patch) | |
tree | 9732af45e88a498ed6ad81dfed66e2801e4c7621 /bfd | |
parent | c643e62da122c1d16997217014dd8b1633a2e5a2 (diff) | |
download | binutils-redhat-b03f6d8de1d9dbe3eecb418d910fa4d94becdeb9.tar.gz |
2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
* elf.c (assign_section_numbers): Remove extra code in the last
change.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/ChangeLog | 5 | ||||
-rw-r--r-- | bfd/elf.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 3051cdc3f8..f76458a969 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,4 +1,9 @@ 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> PR binutils/1991 @@ -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); } |