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 | 2ddc87afa159b181692bc67568dc5cf7cd1a8e13 (patch) | |
tree | cae621f8181bab5a05ad21e2db37618e4aaa0f74 /bfd | |
parent | 88209b0fbea3d47550b0fba1106ad8cbc28b07ee (diff) | |
download | gdb-2ddc87afa159b181692bc67568dc5cf7cd1a8e13.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 3051cdc3f89..f76458a9697 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 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); } |