Added support for PowerPC.
This commit is contained in:
parent
4d391fe692
commit
b27d0420fb
1
AUTHORS
1
AUTHORS
@ -8,6 +8,7 @@
|
|||||||
#
|
#
|
||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
|
Abhishek Dasgupta <abhi2743@gmail.com>
|
||||||
Abhishek Parmar <abhishek@orng.net>
|
Abhishek Parmar <abhishek@orng.net>
|
||||||
Brian Silverman <bsilver16384@gmail.com>
|
Brian Silverman <bsilver16384@gmail.com>
|
||||||
Google Inc.
|
Google Inc.
|
||||||
|
|||||||
@ -22,6 +22,7 @@
|
|||||||
#
|
#
|
||||||
# Please keep the list sorted.
|
# Please keep the list sorted.
|
||||||
|
|
||||||
|
Abhishek Dasgupta <abhi2743@gmail.com>
|
||||||
Abhishek Parmar <abhishek@orng.net>
|
Abhishek Parmar <abhishek@orng.net>
|
||||||
Brian Silverman <bsilver16384@gmail.com>
|
Brian Silverman <bsilver16384@gmail.com>
|
||||||
Fumitoshi Ukai <ukai@google.com>
|
Fumitoshi Ukai <ukai@google.com>
|
||||||
|
|||||||
3
config.guess
vendored
3
config.guess
vendored
@ -911,6 +911,9 @@ EOF
|
|||||||
ppc64:Linux:*:*)
|
ppc64:Linux:*:*)
|
||||||
echo powerpc64-unknown-linux-gnu
|
echo powerpc64-unknown-linux-gnu
|
||||||
exit ;;
|
exit ;;
|
||||||
|
ppc64le:Linux:*:*)
|
||||||
|
echo powerpc64le-unknown-linux-gnu
|
||||||
|
exit ;;
|
||||||
alpha:Linux:*:*)
|
alpha:Linux:*:*)
|
||||||
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
|
||||||
EV5) UNAME_MACHINE=alphaev5 ;;
|
EV5) UNAME_MACHINE=alphaev5 ;;
|
||||||
|
|||||||
@ -111,7 +111,7 @@ int GetStackTrace(void** result, int max_depth, int skip_count) {
|
|||||||
result[n++] = *(sp+2);
|
result[n++] = *(sp+2);
|
||||||
#elif defined(_CALL_SYSV)
|
#elif defined(_CALL_SYSV)
|
||||||
result[n++] = *(sp+1);
|
result[n++] = *(sp+1);
|
||||||
#elif defined(__APPLE__) || (defined(__linux) && defined(__PPC64__))
|
#elif defined(__APPLE__) || ((defined(__linux) || defined(__linux__)) && defined(__PPC64__))
|
||||||
// This check is in case the compiler doesn't define _CALL_AIX/etc.
|
// This check is in case the compiler doesn't define _CALL_AIX/etc.
|
||||||
result[n++] = *(sp+2);
|
result[n++] = *(sp+2);
|
||||||
#elif defined(__linux)
|
#elif defined(__linux)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user