From 9a2e8c60ed0d179d9c229ce63e9899f275659ddf Mon Sep 17 00:00:00 2001 From: Klaus Treichel Date: Fri, 6 Feb 2009 18:22:31 +0000 Subject: [PATCH] Fix TEXTREL sections in the shared library on x86. --- ChangeLog | 5 +++++ jit/jit-apply-x86.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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 -- 2.47.3