[PATCH] D29032: [mips] Define macros related to -mabicalls in the preprocessor
Simon Dardis via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 23 07:47:24 PST 2017
sdardis created this revision.
Historically, NetBSD, FreeBSD and OpenBSD have defined the macro ABICALLS in
the preprocessor when -mabicalls is in effect.
Mainline GCC later defined __mips_abicalls when -mabicalls is in effect.
This patch teaches the preprocessor to define these macros when appropriate.
This resolves PR/31694.
Thanks to Sean Bruno for highlighting this issue!
https://reviews.llvm.org/D29032
Files:
lib/Basic/Targets.cpp
test/Preprocessor/init.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29032.85392.patch
Type: text/x-patch
Size: 6040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170123/50cf9e3e/attachment-0001.bin>
More information about the cfe-commits
mailing list