diff options
author | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-21 16:01:00 +0000 |
---|---|---|
committer | Simon Dardis <simon.dardis@imgtec.com> | 2017-02-21 16:01:00 +0000 |
commit | df827a7165d325d85eeaeb1969ad1b23364f5dc0 (patch) | |
tree | 6a4f9e8523757c94653496906425eb40be8914c4 /llvm/test | |
parent | 78ef645f949dfa1f8be8c99fc04169267d2c5e36 (diff) | |
download | bcm5719-llvm-df827a7165d325d85eeaeb1969ad1b23364f5dc0.tar.gz bcm5719-llvm-df827a7165d325d85eeaeb1969ad1b23364f5dc0.zip |
[mips] Define macros related to -mabicalls in the preprocessor
Summary:
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.
NetBSD does not require the ABICALLS macro.
This resolves PR/31694.
Thanks to Sean Bruno for highlighting this issue!
Reviewers: slthakur, seanbruno
Reviewed By: seanbruno
Subscribers: joerg, brad, emaste, seanbruno, cfe-commits
Differential Revision: https://reviews.llvm.org/D29032
llvm-svn: 295728
Diffstat (limited to 'llvm/test')
0 files changed, 0 insertions, 0 deletions