From: <kti...@us...> - 2013-02-23 09:56:57
|
Revision: 5613 http://mingw-w64.svn.sourceforge.net/mingw-w64/?rev=5613&view=rev Author: ktietz70 Date: 2013-02-23 09:56:46 +0000 (Sat, 23 Feb 2013) Log Message: ----------- 2013-02-23 David Nadlinger <co...@kl...> * tlssup.c (_tls_used): Remove +1 form _tls_start to avoid section-relative offset displacement. Modified Paths: -------------- trunk/mingw-w64-crt/ChangeLog trunk/mingw-w64-crt/crt/tlssup.c Modified: trunk/mingw-w64-crt/ChangeLog =================================================================== --- trunk/mingw-w64-crt/ChangeLog 2013-02-22 10:32:06 UTC (rev 5612) +++ trunk/mingw-w64-crt/ChangeLog 2013-02-23 09:56:46 UTC (rev 5613) @@ -1,3 +1,8 @@ +2013-02-23 David Nadlinger <co...@kl...> + + * crt/tlssup.c (_tls_used): Remove +1 form _tls_start to avoid + section-relative offset displacement. + 2013-02-16 Kai Tietz <kt...@re...> * Makefile.am: Add new library files. Modified: trunk/mingw-w64-crt/crt/tlssup.c =================================================================== --- trunk/mingw-w64-crt/crt/tlssup.c 2013-02-22 10:32:06 UTC (rev 5612) +++ trunk/mingw-w64-crt/crt/tlssup.c 2013-02-23 09:56:46 UTC (rev 5613) @@ -51,7 +51,7 @@ _CRTALLOC(".CRT$XLZ") PIMAGE_TLS_CALLBACK __xl_z = 0; _CRTALLOC(".tls") const IMAGE_TLS_DIRECTORY _tls_used = { - (ULONG_PTR) &_tls_start+1, (ULONG_PTR) &_tls_end, + (ULONG_PTR) &_tls_start, (ULONG_PTR) &_tls_end, (ULONG_PTR) &_tls_index, (ULONG_PTR) (&__xl_a+1), (ULONG) 0, (ULONG) 0 }; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |