summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorchappedm@gmail.com <chappedm@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2012-09-18 00:52:13 +0000
committerchappedm@gmail.com <chappedm@gmail.com@6b5cf1ce-ec42-a296-1ba9-69fdba395a50>2012-09-18 00:52:13 +0000
commit771b6bcf689bd089b802ddcdb27a40b4fb4a8e3b (patch)
tree54a653ea6f70c796b281a87adf1fec21846f82db
parent711232a1ef4997305a681287191de74f6597dabc (diff)
downloadgperftools-771b6bcf689bd089b802ddcdb27a40b4fb4a8e3b.tar.gz
issue-457: Fixed an issue where the 'getpc' testcase was using the wrong PPC64 preprocessor directive
git-svn-id: http://gperftools.googlecode.com/svn/trunk@154 6b5cf1ce-ec42-a296-1ba9-69fdba395a50
-rw-r--r--src/tests/getpc_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/getpc_test.cc b/src/tests/getpc_test.cc
index f1497d5..1277636 100644
--- a/src/tests/getpc_test.cc
+++ b/src/tests/getpc_test.cc
@@ -106,7 +106,7 @@ int main(int argc, char** argv) {
// ElfW(Addr) gp; /* global pointer */
// };
// We want the code entry point.
-#if defined(__ia64) || defined(__ppc64) // NOTE: ppc64 is UNTESTED
+#if defined(__ia64) || defined(__powerpc64__) // NOTE: ppc64 is UNTESTED
expected = ((char**)expected)[0]; // this is "ip"
#endif