Mercurial > illumos > fmac
changeset 5971:b5ed7ccb61af onnv_83
6658385 ld core dumps when building Xorg on nv_82
author | rie |
---|---|
date | Mon, 04 Feb 2008 19:44:26 -0800 |
parents | b401e4f18a28 |
children | 63dcba3fbe52 |
files | usr/src/cmd/sgs/libld/common/syms.c usr/src/cmd/sgs/libld/common/update.c usr/src/cmd/sgs/packages/common/SUNWonld-README |
diffstat | 3 files changed, 5 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/sgs/libld/common/syms.c Mon Feb 04 17:16:22 2008 -0800 +++ b/usr/src/cmd/sgs/libld/common/syms.c Mon Feb 04 19:44:26 2008 -0800 @@ -24,7 +24,7 @@ * All Rights Reserved * * - * Copyright 2007 Sun Microsystems, Inc. All rights reserved. + * Copyright 2008 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ #pragma ident "%Z%%M% %I% %E% SMI" @@ -387,7 +387,7 @@ ofl->ofl_flags1 |= FLG_OF1_NDIRECT; break; case STV_ELIMINATE: - sdp->sd_flags1 |= FLG_SY1_ELIM; + sdp->sd_flags1 |= (FLG_SY1_HIDDEN | FLG_SY1_ELIM); break; default: assert(vis <= STV_ELIMINATE); @@ -1409,7 +1409,7 @@ /* * Update the symbol count and the associated name string size. */ - if ((sdp->sd_flags1 & (FLG_SY1_HIDDEN | FLG_SY1_ELIM)) && + if ((sdp->sd_flags1 & FLG_SY1_HIDDEN) && (oflags & FLG_OF_PROCRED)) { /* * If any reductions are being processed, keep a count
--- a/usr/src/cmd/sgs/libld/common/update.c Mon Feb 04 17:16:22 2008 -0800 +++ b/usr/src/cmd/sgs/libld/common/update.c Mon Feb 04 19:44:26 2008 -0800 @@ -1157,7 +1157,7 @@ * of the .symtab. Retain the appropriate index for use in * version symbol indexing and relocation. */ - if ((sdp->sd_flags1 & (FLG_SY1_HIDDEN | FLG_SY1_ELIM)) && + if ((sdp->sd_flags1 & FLG_SY1_HIDDEN) && (flags & FLG_OF_PROCRED)) { local = 1; if (!(sdp->sd_flags1 & FLG_SY1_ELIM) && !dynsym)
--- a/usr/src/cmd/sgs/packages/common/SUNWonld-README Mon Feb 04 17:16:22 2008 -0800 +++ b/usr/src/cmd/sgs/packages/common/SUNWonld-README Mon Feb 04 19:44:26 2008 -0800 @@ -1309,3 +1309,4 @@ 6492726 Merge SHF_MERGE|SHF_STRINGS input sections 4947191 OSNet should use direct bindings (link-editor components only) 6654381 lazy loading fall-back needs optimizing +6658385 ld core dumps when building Xorg on nv_82