nasm/output
David DeHaven 74a8755fe3 Mach-O alignment fix
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-
2008-12-18 14:58:24 -08:00
..
outaout.c output: add common file outlib.c for common functions; realsize() 2008-10-27 22:19:59 -07:00
outaout.mac outaout.mac: aoutb is an alias for aout 2008-09-09 09:53:20 -07:00
outas86.c output: add common file outlib.c for common functions; realsize() 2008-10-27 22:19:59 -07:00
outas86.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outbin.c output: add common file outlib.c for common functions; realsize() 2008-10-27 22:19:59 -07:00
outbin.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outcoff.c output: add common file outlib.c for common functions; realsize() 2008-10-27 22:19:59 -07:00
outcoff.mac macros: win32 and win64 are COFF, not Mach-O 2008-09-09 09:37:37 -07:00
outdbg.c Fix BR #916647 2008-11-05 14:19:15 +01:00
outelf32.c ELF: use rbtree for symbol searches 2008-11-06 19:55:05 -08:00
outelf64.c ELF: use rbtree for symbol searches 2008-11-06 19:55:05 -08:00
outelf.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outieee.c Fix BR #916647 2008-11-05 14:19:15 +01:00
outmacho.c Mach-O alignment fix 2008-12-18 14:58:24 -08:00
outmacho.mac macros: win32 and win64 are COFF, not Mach-O 2008-09-09 09:37:37 -07:00
outobj.c Fix BR #916647 2008-11-05 14:19:15 +01:00
outobj.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outrdf2.c ctype.h: wrapper ctype functions with a cast to (unsigned char) 2008-06-21 10:23:17 -07:00
outrdf2.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outrdf.c Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00
outrdf.mac Move the output format macros into the macros.pl mechanism 2008-06-20 15:20:16 -07:00