aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>2005-04-21 12:13:37 +0000
committerAndreas Schwab <schwab@linux-m68k.org>2005-04-21 12:13:37 +0000
commitff01938b1a9dbab23ab0323bdf0efec6ee92741f (patch)
tree402bb5ef63b73d457d31b68e998d0f9050e2e331 /bfd
parent0858d3ec47c3fb12bcee67f07e07998c75a0e9ec (diff)
downloadgdb-ff01938b1a9dbab23ab0323bdf0efec6ee92741f.zip
gdb-ff01938b1a9dbab23ab0323bdf0efec6ee92741f.tar.gz
gdb-ff01938b1a9dbab23ab0323bdf0efec6ee92741f.tar.bz2
* elf.c (assign_section_numbers): Fix comment.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elf.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 7d85097..3217b84 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2005-04-21 Andreas Schwab <schwab@suse.de>
+
+ * elf.c (assign_section_numbers): Fix comment.
+
2005-04-21 Jerome Guitton <guitton@gnat.com>
* som.c (som_bfd_print_private_bfd_data): Add explicit cast to long
diff --git a/bfd/elf.c b/bfd/elf.c
index 1434678..a768171 100644
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -2930,7 +2930,7 @@ assign_section_numbers (bfd *abfd, struct bfd_link_info *link_info)
elfsec = elf_shdrp[elfsec]->sh_link;
/* PR 290:
The Intel C compiler generates SHT_IA_64_UNWIND with
- SHF_LINK_ORDER. But it doesn't set theh sh_link or
+ SHF_LINK_ORDER. But it doesn't set the sh_link or
sh_info fields. Hence we could get the situation
where elfsec is 0. */
if (elfsec == 0)