]> git.unchartedbackwaters.co.uk Git - francis/libjit.git/commitdiff
Fix TEXTREL sections in the shared library on x86.
authorKlaus Treichel <ktreichel@web.de>
Fri, 6 Feb 2009 18:22:31 +0000 (18:22 +0000)
committerKlaus Treichel <ktreichel@web.de>
Fri, 6 Feb 2009 18:22:31 +0000 (18:22 +0000)
ChangeLog
jit/jit-apply-x86.h

index d6d086803b5dd158392dfc26dcc8b33da89eb475..25bfc7d81846049f241a863f59ecd07cfbeea910 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-02-06  Klaus Treichel  <ktreichel@web.de>
+
+       * 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  <mikyt@users.sourceforge.net>
 
        * jit/jit-rules.h; define JIT_BACKEND_ARM on ARM.
index 6e224a5503d444b3f284886698239e0337d1098a..1e3f168d96a2d071ef8b15636a5a45345603bfbc 100644 (file)
@@ -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