Re: Sectioned variables?

2017-09-28 Thread Nicholas Wilson via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 11:59:16 UTC, Arav Ka wrote: GCC supports a `__attribute((section("...")))` for variables to put them in specific sections in the final assembly. Is there any way this can be achieved in D? Does GDC support this? GDC should https://github.com/D-Programming-GD

Re: Sectioned variables?

2017-09-28 Thread kinke via Digitalmars-d-learn
On Wednesday, 27 September 2017 at 11:59:16 UTC, Arav Ka wrote: GCC supports a `__attribute((section("...")))` for variables to put them in specific sections in the final assembly. Is there any way this can be achieved in D? Does GDC support this? LDC does, see https://github.com/ldc-develope

Sectioned variables?

2017-09-27 Thread Arav Ka via Digitalmars-d-learn
GCC supports a `__attribute((section("...")))` for variables to put them in specific sections in the final assembly. Is there any way this can be achieved in D? Does GDC support this?