From e04bcc6d6515854c03525b439a8ed67c3fb76cd2 Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Fri, 9 Sep 2005 05:11:51 +0000 Subject: [PATCH] 2005-09-08 H.J. Lu * elflink.c (elf_get_linked_section_vma): Fix a typo in comment. * elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise. --- bfd/ChangeLog | 5 +++++ bfd/elflink.c | 2 +- bfd/elfxx-ia64.c | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index ff4cec06c3c..0c26d20ec79 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2005-09-08 H.J. Lu + + * elflink.c (elf_get_linked_section_vma): Fix a typo in comment. + * elfxx-ia64.c (elf_backend_link_order_error_handler): Likewise. + 2005-09-08 H.J. Lu PR ld/1263 diff --git a/bfd/elflink.c b/bfd/elflink.c index 45ff665cd3c..bf071a95d37 100644 --- a/bfd/elflink.c +++ b/bfd/elflink.c @@ -7611,7 +7611,7 @@ elf_get_linked_section_vma (struct bfd_link_order *p) 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) diff --git a/bfd/elfxx-ia64.c b/bfd/elfxx-ia64.c index 6ba5e2de2e0..dc2c2e15a86 100644 --- a/bfd/elfxx-ia64.c +++ b/bfd/elfxx-ia64.c @@ -5300,7 +5300,7 @@ elfNN_hpux_backend_symbol_processing (bfd *abfd ATTRIBUTE_UNUSED, #define elf_backend_special_sections elfNN_ia64_special_sections /* FIXME: PR 290: The Intel C compiler generates SHT_IA_64_UNWIND with - SHF_LINK_ORDER. But it doesn't set theh sh_link or sh_info fields. + SHF_LINK_ORDER. But it doesn't set the sh_link or sh_info fields. We don't want to flood users with so many error messages. We turn off the warning for now. It will be turned on later when the Intel compiler is fixed. */ -- 2.30.2