From: Andreas Schwab Date: Thu, 21 Apr 2005 12:13:37 +0000 (+0000) Subject: * elf.c (assign_section_numbers): Fix comment. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ff01938b1a9dbab23ab0323bdf0efec6ee92741f;p=binutils-gdb.git * elf.c (assign_section_numbers): Fix comment. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 7d850974813..3217b8418f5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2005-04-21 Andreas Schwab + + * elf.c (assign_section_numbers): Fix comment. + 2005-04-21 Jerome Guitton * som.c (som_bfd_print_private_bfd_data): Add explicit cast to long diff --git a/bfd/elf.c b/bfd/elf.c index 1434678ce7c..a768171bcf2 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)