public inbox for gcc-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] PR target/48904 x86_64-knetbsd-gnu missing defs
@ 2015-04-29  8:36 Bernhard Reutner-Fischer
  2015-04-29  8:13 ` [PATCH] gimple-walk.c #include TLC Bernhard Reutner-Fischer
  2015-04-30  6:12 ` [PATCH] PR target/48904 x86_64-knetbsd-gnu missing defs Jeff Law
  0 siblings, 2 replies; 11+ messages in thread
From: Bernhard Reutner-Fischer @ 2015-04-29  8:36 UTC (permalink / raw)
  To: gcc-patches; +Cc: Bernhard Reutner-Fischer, H . J . Lu

2012-09-21  H.J. Lu  <hongjiu.lu@intel.com>

	PR target/48904
	* config.gcc (x86_64-*-knetbsd*-gnu): Add i386/knetbsd-gnu64.h.
	* config/i386/knetbsd-gnu64.h: New file

Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
---

This fixes config-list.mk all-gcc for x86_64-knetbsd-gnu.
Ok for trunk?

 gcc/config.gcc                  |    2 +-
 gcc/config/i386/knetbsd-gnu64.h |   27 +++++++++++++++++++++++++++
 2 files changed, 28 insertions(+), 1 deletion(-)
 create mode 100644 gcc/config/i386/knetbsd-gnu64.h

diff --git a/gcc/config.gcc b/gcc/config.gcc
index a1df043..77ef473 100644
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -1517,7 +1517,7 @@ x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu)
 		tm_file="${tm_file} kfreebsd-gnu.h i386/kfreebsd-gnu64.h"
 		;;
 	x86_64-*-knetbsd*-gnu)
-		tm_file="${tm_file} knetbsd-gnu.h"
+		tm_file="${tm_file} knetbsd-gnu.h i386/knetbsd-gnu64.h"
 		;;
 	esac
 	tmake_file="${tmake_file} i386/t-linux64"
diff --git a/gcc/config/i386/knetbsd-gnu64.h b/gcc/config/i386/knetbsd-gnu64.h
new file mode 100644
index 0000000..d621bbe
--- /dev/null
+++ b/gcc/config/i386/knetbsd-gnu64.h
@@ -0,0 +1,27 @@
+/* Definitions for AMD x86-64 running kNetBSD-based GNU systems with ELF format
+   Copyright (C) 2012
+   Free Software Foundation, Inc.
+
+This file is part of GCC.
+
+GCC is free software; you can redistribute it and/or modify
+it under the terms of the GNU General Public License as published by
+the Free Software Foundation; either version 3, or (at your option)
+any later version.
+
+GCC is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+GNU General Public License for more details.
+
+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/>.  */
+
+#define GNU_USER_LINK_EMULATION32 "elf_i386"
+#define GNU_USER_LINK_EMULATION64 "elf_x86_64"
+#define GNU_USER_LINK_EMULATIONX32 "elf32_x86_64"
+
+#define GNU_USER_DYNAMIC_LINKER32 "/lib/ld.so.1"
+#define GNU_USER_DYNAMIC_LINKER64 "/lib/ld-knetbsd-x86-64.so.1"
+#define GNU_USER_DYNAMIC_LINKERX32 "/lib/ld-knetbsd-x32.so.1"
-- 
1.7.10.4

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2015-12-02 20:45 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-04-29  8:36 [PATCH] PR target/48904 x86_64-knetbsd-gnu missing defs Bernhard Reutner-Fischer
2015-04-29  8:13 ` [PATCH] gimple-walk.c #include TLC Bernhard Reutner-Fischer
2015-04-29  9:17   ` Richard Biener
2015-04-29 10:58     ` Bernhard Reutner-Fischer
2015-04-30  6:12 ` [PATCH] PR target/48904 x86_64-knetbsd-gnu missing defs Jeff Law
2015-04-30  8:36   ` Bernhard Reutner-Fischer
2015-04-30 15:11     ` Guillem Jover
2015-04-30 16:01     ` Jeff Law
2015-04-30 23:28       ` Bernhard Reutner-Fischer
     [not found]         ` <20150430232343.GC12263@tsaunders-iceball.corp.tor1.mozilla.com>
2015-05-08  7:37           ` Bernhard Reutner-Fischer
2015-12-02 20:45           ` Bernhard Reutner-Fischer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).