--- src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp.orig	2010-11-06 02:55:22.000000000 +0100
+++ src/3rdparty/javascriptcore/JavaScriptCore/jit/JITStubs.cpp	2011-01-17 14:32:18.000000000 +0100
@@ -80,7 +80,7 @@
 #define THUMB_FUNC_PARAM(name)
 #endif
 
-#if OS(LINUX) && CPU(X86_64)
+#if (OS(LINUX) || OS(FREEBSD) || OS(MIDNIGHTBSD)) && CPU(X86_64)
 #define SYMBOL_STRING_RELOCATION(name) #name "@plt"
 #else
 #define SYMBOL_STRING_RELOCATION(name) SYMBOL_STRING(name)
