aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Preud'homme <robotux@celest.fr>2013-02-18 11:41:34 +0100
committerThomas Preud'homme <robotux@celest.fr>2013-02-18 11:42:49 +0100
commite946c3583f7021dc3e71e169542fad9ba4bc7bac (patch)
tree4ec7d33a1aec2356373f065b81f3479cdda92200
parent322743eef8b991fa89e1852af48e8b543cb8435a (diff)
downloadtinycc-e946c3583f7021dc3e71e169542fad9ba4bc7bac.tar.gz
tinycc-e946c3583f7021dc3e71e169542fad9ba4bc7bac.tar.bz2
Add support for KfreeBSD 64bits
-rw-r--r--Changelog5
-rw-r--r--tcc.h6
2 files changed, 10 insertions, 1 deletions
diff --git a/Changelog b/Changelog
index bab887c..2c03673 100644
--- a/Changelog
+++ b/Changelog
@@ -1,3 +1,8 @@
+Version 0.9.27:
+
+Platforms:
+- Support Debian GNU/kfreeBSD 64bit userspace (Thomas Preud'homme)
+
version 0.9.26:
User interface:
diff --git a/tcc.h b/tcc.h
index 822e998..74ba130 100644
--- a/tcc.h
+++ b/tcc.h
@@ -205,7 +205,11 @@
# if defined __FreeBSD__
# define CONFIG_TCC_ELFINTERP "/libexec/ld-elf.so.1"
# elif defined __FreeBSD_kernel__
-# define CONFIG_TCC_ELFINTERP "/lib/ld.so.1"
+# if defined(TCC_TARGET_X86_64)
+# define CONFIG_TCC_ELFINTERP "/lib/ld-kfreebsd-x86-64.so.1"
+# else
+# define CONFIG_TCC_ELFINTERP "/lib/ld.so.1"
+# endif
# elif defined TCC_ARM_HARDFLOAT
# define CONFIG_TCC_ELFINTERP "/lib/ld-linux-armhf.so.3"
# elif defined TCC_ARM_EABI