mirror of
https://github.com/netwide-assembler/nasm.git
synced 2025-02-17 17:19:35 +08:00
Several projects have taken to using .text to store read-only data when building on Mac OS X due to crashes in SSE code from the .rodata section being mis-aligned. It seems there was a misunderstanding about how ld/ld64 handles section alignment in outmacho.c so I wrote a patch to fix it. I tested it against x264 git, modified it to use ".rodata align=16" for the data section and use movdqa instructions (guaranteed to crash when built with unpatched nasm) and it passed all tests in its checkasm tool. If you want more data I can provide, but it's late and I've had a couple glasses of mulled wine :) -DrD- |
||
---|---|---|
.. | ||
outaout.c | ||
outaout.mac | ||
outas86.c | ||
outas86.mac | ||
outbin.c | ||
outbin.mac | ||
outcoff.c | ||
outcoff.mac | ||
outdbg.c | ||
outelf32.c | ||
outelf64.c | ||
outelf.mac | ||
outieee.c | ||
outmacho.c | ||
outmacho.mac | ||
outobj.c | ||
outobj.mac | ||
outrdf2.c | ||
outrdf2.mac | ||
outrdf.c | ||
outrdf.mac |