[PATCH 1 of 6] config/target: add float support selection

Yann E. MORIN yann.morin.1998@anciens.enib.fr
Fri Nov 25 23:23:00 GMT 2011


# HG changeset patch
# User "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
# Date 1322261875 -3600
# Node ID 05020debc9d3a5dc733efeb6ca75084c28ecbb1d
# Parent  49af7802dcd538ec3cb64337030b03ac2c6344d2
config/target: add float support selection

Changeset #149c33923f47 broke the architectures that do not
support the --with-float=X ./configure flag (in gcc). For example,
x86_64 does not support it.

Add a new blind config option that architectures can set to tell
they support floating point selection.

Reported-by: Morten Thunberg Svendsen <mts@doredevelopment.dk>
Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>

diff --git a/config/target.in b/config/target.in
--- a/config/target.in
+++ b/config/target.in
@@ -14,6 +14,7 @@
 config ARCH_SUPPORT_ABI
 config ARCH_SUPPORT_CPU
 config ARCH_SUPPORT_TUNE
+config ARCH_SUPPORT_FLOAT
 config ARCH_SUPPORT_FPU
 config ARCH_SUPPORT_SOFTFP
 
@@ -148,6 +149,9 @@
 config ARCH_SUPPORT_TUNE
     bool
 
+config ARCH_SUPPORT_FLOAT
+    bool
+
 config ARCH_SUPPORT_FPU
     bool
 

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



More information about the crossgcc mailing list