config-patches
[Top][All Lists]
Advanced

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

[PATCH] Added recognize HCOS os in config.sub


From: Rishi Khan
Subject: [PATCH] Added recognize HCOS os in config.sub
Date: Tue, 27 Feb 2018 22:00:08 +0000

Recognize hcos.
* config.sub (hcos-*): Recognise.
* testsuite/config-sub.data: Add a test case.

---
 config.sub                | 2 +-
 testsuite/config-sub.data | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/config.sub b/config.sub
index 1d8e98b..9ea4dec 100755
--- a/config.sub
+++ b/config.sub
@@ -1376,7 +1376,7 @@ case $os in
              | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
              | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
              | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
-             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+             | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* | -hcos* \
              | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
              | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* 
\
              | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | 
-linux-android* \
diff --git a/testsuite/config-sub.data b/testsuite/config-sub.data
index 39f85fe..0c7aa4f 100644
--- a/testsuite/config-sub.data
+++ b/testsuite/config-sub.data
@@ -396,11 +396,13 @@ rdos32                                            
i386-pc-rdos
 rdos64                                         x86_64-pc-rdos
 rdos                                           x86_64-pc-rdos
 riscv32-company-elf                            riscv32-company-elf
+riscv32-company-hcos                           riscv32-company-hcos
 riscv32-elf                                    riscv32-unknown-elf
 riscv32-linux                                  riscv32-unknown-linux-gnu
 riscv32                                                riscv32-unknown-none
 riscv64-company-elf                            riscv64-company-elf
 riscv64-elf                                    riscv64-unknown-elf
+riscv64-hcos                                   riscv64-unknown-hcos
 riscv64-linux                                  riscv64-unknown-linux-gnu
 riscv64                                                riscv64-unknown-none
 rl78-linux                                     rl78-unknown-linux-gnu
-- 
2.7.4




reply via email to

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