+2011-04-11 Joseph Myers <joseph@codesourcery.com>
+ Robert Millan <rmh@gnu.org>
+
+ * config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h.
+ * config/i386/kfreebsd-gnu.h (GNU_USER_DYNAMIC_LINKER32,
+ GNU_USER_DYNAMIC_LINKER64): Define.
+ (REG_NAME): Don't undefine.
+ (MD_UNWIND_SUPPORT): Undefine.
+ * config/i386/knetbsd-gnu.h (GNU_USER_LINK_EMULATION): Define.
+ (REG_NAME): Don't undefine.
+ (MD_UNWIND_SUPPORT): Undefine.
+ * config/i386/kopensolaris-gnu.h (GNU_USER_LINK_EMULATION):
+ Define.
+
2011-04-11 Joseph Myers <joseph@codesourcery.com>
* config/i386/gnu.h (GNU_USER_LINK_EMULATION): Define.
case ${target} in
x86_64-*-linux*)
default_gnu_indirect_function=glibc-2011 ;;
- x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h" ;;
+ x86_64-*-kfreebsd*-gnu) tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu.h" ;;
x86_64-*-knetbsd*-gnu) tm_file="${tm_file} knetbsd-gnu.h" ;;
esac
tmake_file="${tmake_file} i386/t-linux64 i386/t-crtstuff i386/t-crtpc i386/t-crtfm t-dfprules"
#undef GNU_USER_LINK_EMULATION
#define GNU_USER_LINK_EMULATION "elf_i386_fbsd"
-#undef REG_NAME
-#define REG_NAME(reg) sc_ ## reg
+
+#undef GNU_USER_DYNAMIC_LINKER32
+#define GNU_USER_DYNAMIC_LINKER32 "/lib/ld.so.1"
+
+#undef GNU_USER_DYNAMIC_LINKER64
+#define GNU_USER_DYNAMIC_LINKER64 "/lib/ld-kfreebsd-x86-64.so.1"
+
+#undef MD_UNWIND_SUPPORT
/* Definitions for Intel 386 running kNetBSD-based GNU systems with ELF format
- Copyright (C) 2004, 2007
+ Copyright (C) 2004, 2007, 2011
Free Software Foundation, Inc.
Contributed by Robert Millan.
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
-#undef REG_NAME
-#define REG_NAME(reg) sc_ ## reg
+#define GNU_USER_LINK_EMULATION "elf_i386"
+
+#undef MD_UNWIND_SUPPORT
/* Definitions for Intel 386 running kOpenSolaris-based GNU systems with ELF format
- Copyright (C) 2009
+ Copyright (C) 2009, 2011
Free Software Foundation, Inc.
Contributed by Robert Millan.
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#define GNU_USER_LINK_EMULATION "elf_i386"
+
#undef MD_UNWIND_SUPPORT