# HG changeset patch # User Richard Lowe # Date 1375823362 14400 # Node ID 6f291eb437b921a07c0fd05761c90d30284456c2 # Parent 42d090a372184c5b9a1eb60bcbe5ae908784d5de 3999 libld extended section handling is broken Reviewed by: Jason King Reviewed by: Josef 'Jeff' Sipek Approved by: Robert Mustacchi diff -r 42d090a37218 -r 6f291eb437b9 usr/src/cmd/sgs/libld/common/syms.c --- a/usr/src/cmd/sgs/libld/common/syms.c Wed Apr 03 15:25:37 2013 -0700 +++ b/usr/src/cmd/sgs/libld/common/syms.c Tue Aug 06 17:09:22 2013 -0400 @@ -2053,7 +2053,7 @@ shndx = symshndx[ndx]; } else if ((shndx = sym->st_shndx) >= SHN_LORESERVE) { sdflags |= FLG_SY_SPECSEC; - } else if (shndx > ifl->ifl_ehdr->e_shnum) { + } else if (shndx > ifl->ifl_shnum) { /* We need the name before we can issue error */ shndx_bad = 1; } @@ -2368,7 +2368,7 @@ shndx = symshndx[ndx]; } else if ((shndx = nsym->st_shndx) >= SHN_LORESERVE) { sdflags |= FLG_SY_SPECSEC; - } else if (shndx > ifl->ifl_ehdr->e_shnum) { + } else if (shndx > ifl->ifl_shnum) { /* We need the name before we can issue error */ shndx_bad = 1; } diff -r 42d090a37218 -r 6f291eb437b9 usr/src/cmd/sgs/packages/common/SUNWonld-README --- a/usr/src/cmd/sgs/packages/common/SUNWonld-README Wed Apr 03 15:25:37 2013 -0700 +++ b/usr/src/cmd/sgs/packages/common/SUNWonld-README Tue Aug 06 17:09:22 2013 -0400 @@ -1648,3 +1648,4 @@ 3709 need sloppy relocation for GNU .debug_macro 3722 link-editor is over restrictive of R_AMD64_32 addends 3926 multiple extern map file definitions corrupt symbol table entry +3999 libld extended section handling is broken