Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
G
glog
Project
Project
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
glog
Commits
202b395c
Commit
202b395c
authored
Apr 13, 2016
by
Fumitoshi Ukai
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #91 from abdasgupta/master
Added support for PowerPC.
parents
2a7423b3
b27d0420
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
1 deletion
+6
-1
AUTHORS
AUTHORS
+1
-0
CONTRIBUTORS
CONTRIBUTORS
+1
-0
config.guess
config.guess
+3
-0
stacktrace_powerpc-inl.h
src/stacktrace_powerpc-inl.h
+1
-1
No files found.
AUTHORS
View file @
202b395c
...
...
@@ -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.
...
...
CONTRIBUTORS
View file @
202b395c
...
...
@@ -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>
...
...
config.guess
View file @
202b395c
...
...
@@ -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
;;
...
...
src/stacktrace_powerpc-inl.h
View file @
202b395c
...
...
@@ -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)
...
...
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