* elf.c (assign_section_numbers): Fix comment.

This commit is contained in:
Andreas Schwab
2005-04-21 12:13:37 +00:00
parent 0858d3ec47
commit ff01938b1a
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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)