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 72959a02585dc522a0d7d08d13c39831f2a064f4..59d027e182d5ea6f4a6af37658f65ae80d9116b3 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 fa9336fa09679c3b70414bc80062395a0c0440c2..6b605d76424f8e8d70484cd530ade4599b701079 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 278f9e9e07c1d1a3bda668e6529bcce3006cfbdf..db360b8930d45a190324d443353e86471d821d0c 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 1090ddedbc75cc5afbf2a35605df3a164f3e42e2..03b91089aadafb1250f36a66155236f18deca13b 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)