From ab8c197a3f76d99d5ccb4682fa8cfc8528cc53fd 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 ff4cec06c3..0c26d20ec7 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,10 @@ 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 * elflink.c (elf_link_add_object_symbols): Abort for --just-symbols on DSO. diff --git a/bfd/elflink.c b/bfd/elflink.c index 45ff665cd3..bf071a95d3 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 6ba5e2de2e..dc2c2e15a8 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.11.0