From: Klaus Treichel Date: Fri, 6 Feb 2009 18:22:31 +0000 (+0000) Subject: Fix TEXTREL sections in the shared library on x86. X-Git-Tag: before.move.to.git~36 X-Git-Url: https://git.unchartedbackwaters.co.uk/w/?a=commitdiff_plain;h=9a2e8c60ed0d179d9c229ce63e9899f275659ddf;p=francis%2Flibjit.git Fix TEXTREL sections in the shared library on x86. --- diff --git a/ChangeLog b/ChangeLog index d6d0868..25bfc7d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-02-06 Klaus Treichel + + * jit/jit-apply-x86.h: Add @PLT to the definition of JIT_MEMCPY to + prevent set TEXTREL flags in the shared library. + 2009-02-06 Michele Tartara * jit/jit-rules.h; define JIT_BACKEND_ARM on ARM. diff --git a/jit/jit-apply-x86.h b/jit/jit-apply-x86.h index 6e224a5..1e3f168 100644 --- a/jit/jit-apply-x86.h +++ b/jit/jit-apply-x86.h @@ -43,7 +43,7 @@ # if defined(__APPLE__) && defined(__MACH__) # define JIT_MEMCPY "L_memcpy$stub" # else -# define JIT_MEMCPY "memcpy" +# define JIT_MEMCPY "memcpy@PLT" # endif #endif