Added support for PowerPC.
authorAbhishek Dasgupta <a10gupta@linux.vnet.ibm.com>
Wed, 16 Mar 2016 09:28:18 +0000 (05:28 -0400)
committerAbhishek Dasgupta <abhi2743@gmail.com>
Mon, 21 Mar 2016 11:28:53 +0000 (11:28 +0000)
AUTHORS
CONTRIBUTORS
config.guess
src/stacktrace_powerpc-inl.h

diff --git a/AUTHORS b/AUTHORS
index 72959a0..59d027e 100644 (file)
--- a/AUTHORS
+++ b/AUTHORS
@@ -8,6 +8,7 @@
 #
 # Please keep the list sorted.
 
+Abhishek Dasgupta <abhi2743@gmail.com>
 Abhishek Parmar <abhishek@orng.net>
 Brian Silverman <bsilver16384@gmail.com>
 Google Inc.
index fa9336f..6b605d7 100644 (file)
@@ -22,6 +22,7 @@
 #
 # Please keep the list sorted.
 
+Abhishek Dasgupta <abhi2743@gmail.com>
 Abhishek Parmar <abhishek@orng.net>
 Brian Silverman <bsilver16384@gmail.com>
 Fumitoshi Ukai <ukai@google.com>
index 278f9e9..db360b8 100755 (executable)
@@ -911,6 +911,9 @@ EOF
     ppc64:Linux:*:*)
        echo powerpc64-unknown-linux-gnu
        exit ;;
+    ppc64le:Linux:*:*)
+        echo powerpc64le-unknown-linux-gnu
+        exit ;;
     alpha:Linux:*:*)
        case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
          EV5)   UNAME_MACHINE=alphaev5 ;;
index 1090dde..03b9108 100644 (file)
@@ -111,7 +111,7 @@ int GetStackTrace(void** result, int max_depth, int skip_count) {
       result[n++] = *(sp+2);
 #elif defined(_CALL_SYSV)
       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.
       result[n++] = *(sp+2);
 #elif defined(__linux)