Date: Thu, 15 Sep 2011 12:00:28 GMT From: dfilter@FreeBSD.ORG (dfilter service) To: freebsd-bugs@FreeBSD.org Subject: Re: misc/160721: commit references a PR Message-ID: <201109151200.p8FC0SCA045670@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/160721; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: misc/160721: commit references a PR Date: Thu, 15 Sep 2011 11:50:20 +0000 (UTC) Author: kib Date: Thu Sep 15 11:50:09 2011 New Revision: 225582 URL: http://svn.freebsd.org/changeset/base/225582 Log: Use the proper dynamic tls block to calculate the tls variable address in case tls data generation was updated. PR: misc/160721 Submitted by: "Thinker K.F. Li" <thinker codemud net> Tested by: flo Approved by: re (bz) MFC after: 1 week Modified: head/libexec/rtld-elf/rtld.c Modified: head/libexec/rtld-elf/rtld.c ============================================================================== --- head/libexec/rtld-elf/rtld.c Thu Sep 15 11:17:07 2011 (r225581) +++ head/libexec/rtld-elf/rtld.c Thu Sep 15 11:50:09 2011 (r225582) @@ -3370,7 +3370,7 @@ tls_get_addr_common(Elf_Addr** dtvp, int newdtv[1] = tls_max_index; free(dtv); lock_release(rtld_bind_lock, &lockstate); - *dtvp = newdtv; + dtv = *dtvp = newdtv; } /* Dynamically allocate module TLS if necessary */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201109151200.p8FC0SCA045670>