config-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Set default OS for hexagon


From: Joe Seymour
Subject: [PATCH] Set default OS for hexagon
Date: Thu, 24 May 2012 17:52:07 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1

Hi,

The standard bare-metal target for hexagon is -elf, there is no "-none"
target. This patch makes config.sub reflect that.

Thanks,

2012-05-24  Joe Seymour  <address@hidden>

        * config.sub (hexagon): Set default operating system to elf.
        * testsuite/config-sub.data: Change "hexagon" mapping to
        hexagon-unknown-elf.


diff --git a/config.sub b/config.sub
index 59bb593..6205f84 100755
--- a/config.sub
+++ b/config.sub
@@ -1543,6 +1543,9 @@ case $basic_machine in
        c4x-* | tic4x-*)
                os=-coff
                ;;
+       hexagon-*)
+               os=-elf
+               ;;
        tic54x-*)
                os=-coff
                ;;
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index ee0890c..4311df9 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -53,7 +53,7 @@ fido-elf                      fido-unknown-elf
 fido                           fido-unknown-none
 frv-linux                      frv-unknown-linux-gnu
 hexagon-linux                  hexagon-unknown-linux-gnu
-hexagon                                hexagon-unknown-none
+hexagon                                hexagon-unknown-elf
 i386-aros                      i386-pc-aros
 i386-drops1.0                  i386-pc-drops1.0
 i386-elf                       i386-pc-elf



reply via email to

[Prev in Thread] Current Thread [Next in Thread]