projects
/
platform
/
upstream
/
binutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d49894
)
2005-12-07 H.J. Lu <hongjiu.lu@intel.com>
author
H.J. Lu
<hjl.tools@gmail.com>
Thu, 8 Dec 2005 01:34:13 +0000
(
01:34
+0000)
committer
H.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
patch
|
blob
|
history
bfd/elf.c
patch
|
blob
|
history
diff --git
a/bfd/ChangeLog
b/bfd/ChangeLog
index
3051cdc
..
f76458a
100644
(file)
--- 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
644ac6d
..
58a9059
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);
}