Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
binutils-gdb
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sebastien Michelland
binutils-gdb
Commits
7ee5dbeb
Commit
7ee5dbeb
authored
15 years ago
by
Ben Elliston
Browse files
Options
Downloads
Patches
Plain Diff
* config.sub, config.guess: Update from upstream sources.
parent
94313f36
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ChangeLog
+4
-0
4 additions, 0 deletions
ChangeLog
config.guess
+13
-38
13 additions, 38 deletions
config.guess
config.sub
+2
-2
2 additions, 2 deletions
config.sub
with
19 additions
and
40 deletions
ChangeLog
+
4
−
0
View file @
7ee5dbeb
2009-06-03 Ben Elliston <bje@au.ibm.com>
* config.sub, config.guess: Update from upstream sources.
2009-06-02 Alexandre Oliva <aoliva@redhat.com>
* Makefile.tpl ([+compare-target+]): Compare all stage
...
...
This diff is collapsed.
Click to expand it.
config.guess
+
13
−
38
View file @
7ee5dbeb
#! /bin/sh
# Attempt to guess a canonical system name.
# 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.
timestamp
=
'2009-0
2
-03'
timestamp
=
'2009-0
6
-03'
# 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
...
...
@@ -324,6 +324,9 @@ case "${UNAME_MACHINE}:${UNAME_SYSTEM}:${UNAME_RELEASE}:${UNAME_VERSION}" in
case
`
/usr/bin/uname
-p
`
in
sparc
)
echo
sparc-icl-nx7
;
exit
;;
esac
;;
s390x:SunOS:
*
:
*
)
echo
${
UNAME_MACHINE
}
-ibm-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
sun4H:SunOS:5.
*
:
*
)
echo
sparc-hal-solaris2
`
echo
${
UNAME_RELEASE
}
|sed
-e
's/[^.]*//'
`
exit
;;
...
...
@@ -819,6 +822,9 @@ EOF
[
345]86:Windows_95:
*
|
[
345]86:Windows_98:
*
|
[
345]86:Windows_NT:
*
)
echo
i
${
UNAME_MACHINE
}
-pc-mks
exit
;;
8664:Windows_NT:
*
)
echo
x86_64-pc-mks
exit
;;
i
*
:Windows_NT
*
:
*
|
Pentium
*
:Windows_NT
*
:
*
)
# 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
...
...
@@ -879,40 +885,17 @@ EOF
m68
*
:Linux:
*
:
*
)
echo
${
UNAME_MACHINE
}
-unknown-linux-gnu
exit
;;
mips: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:
*
:
*
)
mips:Linux:
*
:
*
|
mips64:Linux:
*
:
*
)
eval
$set_cc_for_build
sed
's/^ //'
<<
EOF
>
$dummy
.c
#undef CPU
#undef
mips64
#undef
mips64
el
#undef
${
UNAME_MACHINE
}
#undef
${
UNAME_MACHINE
}
el
#if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
CPU=
mips64
el
CPU=
${
UNAME_MACHINE
}
el
#else
#if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
CPU=
mips64
CPU=
${
UNAME_MACHINE
}
#else
CPU=
#endif
...
...
@@ -998,14 +981,6 @@ EOF
elf32-i386
)
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
# Determine whether the default compiler is a.out or elf
eval
$set_cc_for_build
...
...
This diff is collapsed.
Click to expand it.
config.sub
+
2
−
2
View file @
7ee5dbeb
#! /bin/sh
# Configuration validation subroutine script.
# 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.
timestamp
=
'2009-0
4-17
'
timestamp
=
'2009-0
6-03
'
# This file is (in principle) common to ALL GNU software.
# The presence of a machine in this file suggests that SOME GNU software
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment