public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* [PATCH] config/arch+scripts/build/arch: Add Microblaze architecture support
@ 2012-09-18  2:18 David Holsgrove
  2012-09-19 20:26 ` Yann E. MORIN
  0 siblings, 1 reply; 3+ messages in thread
From: David Holsgrove @ 2012-09-18  2:18 UTC (permalink / raw)
  To: Yann E. Morin; +Cc: crossgcc

# HG changeset patch
# User David Holsgrove <david.holsgrove@xilinx.com>
# Date 1347933988 -36000
# Node ID 79a03dc829edb6188436a2c7cc33ead9e27827c4
# Parent  2858a24a584642e263a920b4214c815c172ed547
config/arch+scripts/build/arch: Add Microblaze architecture support

Add Microblaze architecture support (depends on EXPERIMENTAL)

Signed-off-by: "David Holsgrove" <david.holsgrove@xilinx.com>

diff -r 2858a24a5846 -r 79a03dc829ed config/arch/microblaze.in
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config/arch/microblaze.in	Tue Sep 18 12:06:28 2012 +1000
@@ -0,0 +1,12 @@
+# MicroBlaze specific config options
+
+## depends on EXPERIMENTAL
+##
+## select ARCH_SUPPORT_ARCH
+## select ARCH_FLOAT_SW
+## select ARCH_SUPPORTS_BOTH_ENDIAN
+## select ARCH_DEFAULT_BE
+## select ARCH_DEFAULT_HAS_MMU
+##
+## help The MicroBlaze architecture, as defined by:
+## help 	http://www.xilinx.com/
diff -r 2858a24a5846 -r 79a03dc829ed scripts/build/arch/microblaze.sh
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/build/arch/microblaze.sh	Tue Sep 18 12:06:28 2012 +1000
@@ -0,0 +1,21 @@
+# Compute microblaze specific values
+
+CT_DoArchTupleValues () {
+    # The architecture part of the tuple:
+    CT_TARGET_ARCH="${CT_ARCH}${target_endian_el}"
+
+    # gcc ./configure flags
+    CT_ARCH_WITH_ARCH=
+    CT_ARCH_WITH_ABI=
+    CT_ARCH_WITH_CPU=
+    CT_ARCH_WITH_TUNE=
+    CT_ARCH_WITH_FPU=
+    CT_ARCH_WITH_FLOAT=
+
+    # CFLAGS
+    case "${CT_ARCH_FLOAT_HW},${CT_ARCH_FLOAT_SW}" in
+        y,) CT_ARCH_FLOAT_CFLAG="-mhard-float" ;;
+        ,y) CT_ARCH_FLOAT_CFLAG="-msoft-float" ;;
+    esac
+
+}

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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

end of thread, other threads:[~2012-09-20  0:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-09-18  2:18 [PATCH] config/arch+scripts/build/arch: Add Microblaze architecture support David Holsgrove
2012-09-19 20:26 ` Yann E. MORIN
     [not found]   ` <CAM=EW8adEvOs=oWHjexD9Md2ymYTRKx3-ux-9bMGumDEbja2+w@mail.gmail.com>
2012-09-20  0:18     ` David Holsgrove

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).