NASM - The Netwide Assembler

NASM Forum => Programming with NASM => Topic started by: Jon Hodgson on July 05, 2012, 02:40:50 AM

Title: Macho-O 64-bit does not support 32 bit absolute addresses
Post by: Jon Hodgson on July 05, 2012, 02:40:50 AM
Hi,

I have code which in includes the following

coeffs_0 dd <four floating point values>

then later a line

movaps xmm0, [coeffs_0]

This works fine compiling in nasm set for macho32, and it also works fine compiling in masm for 64 bit windows, but if I try to compile it with nasm for macho64  I get

"Macho-O 64-bit does not support 32 bit absolute addresses"

Anyone know how I can get this working? I've tried various permutations of brackets and pointer directives, but nothing's worked so far.