Как что-то такое:
.data
.type pi, @object
.size pi, 8
pi:
.float 0f3.14e1
.text
.globl test
.type test, @function
test:
movsd pi,%xmm0
ret
.size test, .-test
relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC