From ff01938b1a9dbab23ab0323bdf0efec6ee92741f Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Thu, 21 Apr 2005 12:13:37 +0000 Subject: [PATCH] * elf.c (assign_section_numbers): Fix comment. --- bfd/ChangeLog | 4 ++++ bfd/elf.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * 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 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) -- 2.7.4