D-Programming-Language/dmd — pull request #1318 by rainers (2012-11-24 14:04:46+00:00)
Title: fix win64 alignment of data segment

So far, the alignment of the .data and .bss segments have been 4 bytes for Win64. This causes issues with the GC (most likely crashes due to false collections) , because it scans that memory range for pointers with a stride of (void*).sizeof = 8.

This patch sets segment alignment to 8 for Win64 (as it is already done for comdat segments).