Mercurial > illumos > illumos-gate
changeset 6652:83987ff288ca
6702260 single threading .init/.fini sections breaks staroffice
author | rie |
---|---|
date | Thu, 15 May 2008 11:33:04 -0700 |
parents | beb4b5f48c82 |
children | 6f49ca1419ef |
files | usr/src/cmd/sgs/packages/common/SUNWonld-README usr/src/cmd/sgs/rtld/common/util.c |
diffstat | 2 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/usr/src/cmd/sgs/packages/common/SUNWonld-README Thu May 15 11:22:33 2008 -0700 +++ b/usr/src/cmd/sgs/packages/common/SUNWonld-README Thu May 15 11:33:04 2008 -0700 @@ -1343,3 +1343,4 @@ fully relocated (link-editor components only) 6699594 The ld command has a problem handling 'protected' mapfile keyword. 6699131 elfdump should display core file notes (D) +6702260 single threading .init/.fini sections breaks staroffice
--- a/usr/src/cmd/sgs/rtld/common/util.c Thu May 15 11:22:33 2008 -0700 +++ b/usr/src/cmd/sgs/rtld/common/util.c Thu May 15 11:33:04 2008 -0700 @@ -652,9 +652,9 @@ DBG_CALL(Dbg_util_call_array(lmp, (void *)fptr, ndx, shtype)); - leave(LIST(lmp), thr_flg_reenter); + leave(LIST(lmp), 0); (*fptr)(); - (void) enter(thr_flg_reenter); + (void) enter(0); } } @@ -720,9 +720,9 @@ } if (iptr) { - leave(LIST(lmp), thr_flg_reenter); + leave(LIST(lmp), 0); (*iptr)(); - (void) enter(thr_flg_reenter); + (void) enter(0); } call_array(INITARRAY(lmp), INITARRAYSZ(lmp), lmp, @@ -816,9 +816,9 @@ SHT_FINI_ARRAY); if (fptr) { - leave(LIST(lmp), thr_flg_reenter); + leave(LIST(lmp), 0); (*fptr)(); - (void) enter(thr_flg_reenter); + (void) enter(0); } }