Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
47bca6aa
Commit
47bca6aa
authored
Jun 02, 2009
by
Ben Elliston
Committed by
Ben Elliston
Jun 03, 2009
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config.sub, config.guess: Update from upstream sources.
From-SVN: r148105
parent
1964788a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
41 deletions
+20
-41
ChangeLog
+4
-0
config.guess
+14
-39
config.sub
+2
-2
No files found.
ChangeLog
View file @
47bca6aa
2009-06-03 Ben Elliston <bje@au.ibm.com>
* config.sub, config.guess: Update from upstream sources.
2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com>
2009-06-02 Richard Sandiford <r.sandiford@uk.ibm.com>
* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
...
...
config.guess
View file @
47bca6aa
#! /bin/sh
#! /bin/sh
# Attempt to guess a canonical system name.
# Attempt to guess a canonical system name.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
, 2009
# Free Software Foundation, Inc.
# Free Software Foundation, Inc.
timestamp
=
'2009-0
2
-03'
timestamp
=
'2009-0
6
-03'
# This file is free software; you can redistribute it and/or modify it
# This file is free software; you can redistribute it and/or modify it
# under the terms of the GNU General Public License as published by
# under the terms of the GNU General Public License as published by
...
@@ -324,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
...
@@ -324,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
case
`
/usr/bin/uname
-p
`
in
case
`
/usr/bin/uname
-p
`
in
sparc
)
echo
sparc-icl-nx7
;
exit
;;
sparc
)
echo
sparc-icl-nx7
;
exit
;;
esac
;;
esac
;;
s390x:SunOS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
sun4H:SunOS:5.
*
:
*
)
sun4H:SunOS:5.
*
:
*
)
echo
sparc-hal-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
echo
sparc-hal-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
exit
;;
...
@@ -819,6 +822,9 @@ EOF
...
@@ -819,6 +822,9 @@ EOF
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
echo
i
${
UNAME_MACHINE
}
-pc-mks
echo
i
${
UNAME_MACHINE
}
-pc-mks
exit
;;
exit
;;
8664:Windows_NT:
*
)
echo
x86_64-pc-mks
exit
;;
i
*
:Windows_NT
*
:
*
|
Pentium
*
:Windows_NT
*
:
*
)
i
*
:Windows_NT
*
:
*
|
Pentium
*
:Windows_NT
*
:
*
)
# How do we know it's Interix rather than the generic POSIX subsystem?
# How do we know it's Interix rather than the generic POSIX subsystem?
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
# It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
...
@@ -879,40 +885,17 @@ EOF
...
@@ -879,40 +885,17 @@ EOF
m68
*
:Linux:
*
:
*
)
m68
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
;;
exit
;;
mips:Linux:
*
:
*
)
mips:Linux:
*
:
*
|
mips64:Linux:
*
:
*
)
eval
$set_cc_for_build
sed
's/^ //'
<<
EOF
>
$dummy
.c
#undef CPU
#undef mips
#undef mipsel
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=mipsel
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=mips
#else
CPU=
#endif
#endif
EOF
eval
"
`
$CC_FOR_BUILD
-E
$dummy
.c 2>/dev/null | sed
-n
'
/^CPU/{
s: ::g
p
}'
`
"
test
x
"
${
CPU
}
"
!=
x
&&
{
echo
"
${
CPU
}
-unknown-linux-gnu"
;
exit
;
}
;;
mips64:Linux:
*
:
*
)
eval
$set_cc_for_build
eval
$set_cc_for_build
sed
's/^ //'
<<
EOF
>
$dummy
.c
sed
's/^ //'
<<
EOF
>
$dummy
.c
#undef CPU
#undef CPU
#undef
mips64
#undef
${
UNAME_MACHINE
}
#undef
mips64
el
#undef
${
UNAME_MACHINE
}
el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=
mips64
el
CPU=
${
UNAME_MACHINE
}
el
#else
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=
mips64
CPU=
${
UNAME_MACHINE
}
#else
#else
CPU=
CPU=
#endif
#endif
...
@@ -998,14 +981,6 @@ EOF
...
@@ -998,14 +981,6 @@ EOF
elf32-i386
)
elf32-i386
)
TENTATIVE
=
"
${
UNAME_MACHINE
}
-pc-linux-gnu"
TENTATIVE
=
"
${
UNAME_MACHINE
}
-pc-linux-gnu"
;;
;;
a.out-i386-linux
)
echo
"
${
UNAME_MACHINE
}
-pc-linux-gnuaout"
exit
;;
""
)
# Either a pre-BFD a.out linker (linux-gnuoldld) or
# one that does not give us useful --help.
echo
"
${
UNAME_MACHINE
}
-pc-linux-gnuoldld"
exit
;;
esac
esac
# Determine whether the default compiler is a.out or elf
# Determine whether the default compiler is a.out or elf
eval
$set_cc_for_build
eval
$set_cc_for_build
...
@@ -1115,7 +1090,7 @@ EOF
...
@@ -1115,7 +1090,7 @@ EOF
pc:
*
:
*
:
*
)
pc:
*
:
*
:
*
)
# Left here for compatibility:
# Left here for compatibility:
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# uname -m prints for DJGPP always 'pc', but it prints nothing about
# the processor, so we play safe by assuming i
3
86.
# the processor, so we play safe by assuming i
5
86.
# Note: whatever this is, it MUST be the same as what config.sub
# Note: whatever this is, it MUST be the same as what config.sub
# prints for the "djgpp" host, or else GDB configury will decide that
# prints for the "djgpp" host, or else GDB configury will decide that
# this is a cross-build.
# this is a cross-build.
...
...
config.sub
View file @
47bca6aa
#! /bin/sh
#! /bin/sh
# Configuration validation subroutine script.
# Configuration validation subroutine script.
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
, 2009
# Free Software Foundation, Inc.
# Free Software Foundation, Inc.
timestamp
=
'2009-0
4-17
'
timestamp
=
'2009-0
6-03
'
# This file is (in principle) common to ALL GNU software.
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
# The presence of a machine in this file suggests that SOME GNU software
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment