Re: __emutls_v & __emutls_t

2013-12-22 Thread Iain Buclaw
On 22 December 2013 12:54, Timo Sintonen wrote: > Had a quick look at emutls.d. > Yes, the rodata section have the initial values of variables. This should > be copied to the tls area of the current thread as I wrote earlier. > The data section does not contain data, but those emutls objects. The

[Bug 85] New: GDC does not build for windows host

2013-12-22 Thread gdc-bugzilla
http://bugzilla.gdcproject.org/show_bug.cgi?id=85 Bug #: 85 Summary: GDC does not build for windows host Classification: Unclassified Product: GDC Version: development Platform: All OS/Version: Other Status: NEW

Re: template9.d again

2013-12-22 Thread Iain Buclaw
On 22 December 2013 00:06, Johannes Pfau wrote: > It seems there are still some issues with template9.d. It doesn't show > up in the test suite as it only runs one test for template9.d (why?) and > that test doesn't use the '-g' parameter. But when compiling template9.d > with '-g': > > /opt/gdc/b

Re: __emutls_v & __emutls_t

2013-12-22 Thread Timo Sintonen
On Sunday, 22 December 2013 at 10:51:19 UTC, Mike wrote: On Sunday, 22 December 2013 at 10:00:28 UTC, Johannes Pfau wrote: If I declare global variables in D as... __gshared int GlobalDataVar = 2; __gshared int GlobalBssVar; ... these get put in .data and .bss respectively, and I know what to

Re: __emutls_v & __emutls_t

2013-12-22 Thread Mike
On Sunday, 22 December 2013 at 10:00:28 UTC, Johannes Pfau wrote: If I declare global variables in D as... __gshared int GlobalDataVar = 2; __gshared int GlobalBssVar; ... these get put in .data and .bss respectively, and I know what to do in my startup procedure: However if I declare thread

Re: __emutls_v & __emutls_t

2013-12-22 Thread Johannes Pfau
Am Sun, 22 Dec 2013 02:01:09 + schrieb "Mike" : > I need to make a startup procedure for my ARM Cortex-M platform. > In C/C++ this includs copying the .data segment to RAM and > initializing the .bss segment to 0. > > If I declare global variables in D as... > > __gshared int GlobalDataVa

Re: __emutls_v & __emutls_t

2013-12-22 Thread Timo Sintonen
On Sunday, 22 December 2013 at 02:01:15 UTC, Mike wrote: I need to make a startup procedure for my ARM Cortex-M platform. In C/C++ this includs copying the .data segment to RAM and initializing the .bss segment to 0. If I declare global variables in D as... __gshared int GlobalDataVar = 2; _