aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/knetbsd-gnu.h
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2011-04-11 22:22:36 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2011-04-11 22:22:36 +0100
commitb1372d5de2cf9b5c2d4cb97eeb2256ee60b49ef9 (patch)
treee4dae36aba488d53a021c965b402d0c1cf79139d /gcc/config/i386/knetbsd-gnu.h
parent761c0c6e908c9988906045b282d458b8f85d7f20 (diff)
downloadgcc-b1372d5de2cf9b5c2d4cb97eeb2256ee60b49ef9.zip
gcc-b1372d5de2cf9b5c2d4cb97eeb2256ee60b49ef9.tar.gz
gcc-b1372d5de2cf9b5c2d4cb97eeb2256ee60b49ef9.tar.bz2
config.gcc (x86_64-*-kfreebsd*-gnu): Use i386/kfreebsd-gnu.h.
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. Co-Authored-By: Robert Millan <rmh@gnu.org> From-SVN: r172279
Diffstat (limited to 'gcc/config/i386/knetbsd-gnu.h')
-rw-r--r--gcc/config/i386/knetbsd-gnu.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/config/i386/knetbsd-gnu.h b/gcc/config/i386/knetbsd-gnu.h
index 54f5a69..1384a25 100644
--- a/gcc/config/i386/knetbsd-gnu.h
+++ b/gcc/config/i386/knetbsd-gnu.h
@@ -1,5 +1,5 @@
/* 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.
@@ -19,5 +19,6 @@ You should have received a copy of the GNU General Public License
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