Alignment of symbol is not kept during linking
Yuxuan Shui
yshuiv7 at gmail.com
Fri Aug 10 09:59:06 UTC 2018
On Friday, 10 August 2018 at 08:46:46 UTC, Kagamin wrote:
> On Thursday, 9 August 2018 at 14:15:31 UTC, Yuxuan Shui wrote:
>> The alignment is specified for the section, and it apparently
>> kept. problem is individual symbols in the section don't have
>> a alignment.
>
> If the section is aligned at 16 bytes and the symbol is aligned
> at 16 bytes in the section, then the symbol will be aligned at
> 16 bytes, I don't thunk this can go wrong.
I think you are correct. And I finally found out what is the
culprit: The section is not actually aligned.
Bug report: https://issues.dlang.org/show_bug.cgi?id=19148
More information about the Digitalmars-d
mailing list