diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-20 21:59:13 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-03-20 21:59:13 +0000 |
commit | 1a00a2a761a2e0c93fe394b4edbfe46bcc37d24b (patch) | |
tree | 2d676135faf9fe9b06e395186a15c31d600bcaa1 | |
parent | 771ecfb27354206033e7b6e03b51ad1106d9b395 (diff) | |
download | src-1a00a2a761a2e0c93fe394b4edbfe46bcc37d24b.tar.gz src-1a00a2a761a2e0c93fe394b4edbfe46bcc37d24b.zip |
Commit the stock 2.12.0 release version.
Notes
Notes:
svn path=/head/; revision=92831
-rw-r--r-- | contrib/binutils/bfd/elflink.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/contrib/binutils/bfd/elflink.h b/contrib/binutils/bfd/elflink.h index 6dc76388d599..eaeceff66106 100644 --- a/contrib/binutils/bfd/elflink.h +++ b/contrib/binutils/bfd/elflink.h @@ -1,5 +1,5 @@ /* ELF linker support. - Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001 + Copyright 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -5377,8 +5377,9 @@ elf_bfd_final_link (abfd, info) the original st_name with the dynstr_index. */ sym = e->isym; - if (e->isym.st_shndx < SHN_LORESERVE - || e->isym.st_shndx > SHN_HIRESERVE) + if (e->isym.st_shndx != SHN_UNDEF + && (e->isym.st_shndx < SHN_LORESERVE + || e->isym.st_shndx > SHN_HIRESERVE)) { s = bfd_section_from_elf_index (e->input_bfd, e->isym.st_shndx); |