Re: r298765 - Add the _CALL_LINUX preprocessor define for ppc linux platforms.

2017-03-25 Thread Eric Christopher via cfe-commits
Reading comprehension is hard. :) Thanks for the catch. echristo@athyra ~/s/l/t/clang> git svn dcommit Committing to https://llvm.org/svn/llvm-project/cfe/trunk ... M lib/Basic/Targets.cpp M test/Preprocessor/init.c Committed r298778 -eric On Sat, Mar 25, 2017 at 12:44 AM David Majnemer wrote:

Re: r298765 - Add the _CALL_LINUX preprocessor define for ppc linux platforms.

2017-03-25 Thread David Majnemer via cfe-commits
Shouldn't this only be defined on 64-bit PPC platforms? I think that's what GCC does: https://github.com/gcc-mirror/gcc/blob/700a97608cadfe8adcd1a98e6388a5cbee9d76f6/gcc/config/rs6000/linux64.h#L372 On Fri, Mar 24, 2017 at 8:33 PM, Eric Christopher via cfe-commits < cfe-commits@lists.llvm.org> wro