[PATCH] D29024: [mips] Define macros related to -mabicalls in the preprocessor

Simon Dardis via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Jan 23 06:14:06 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.


Repository:
  rL LLVM

https://reviews.llvm.org/D29024

Files:
  lib/Basic/Targets.cpp
  test/Preprocessor/init.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29024.85370.patch
Type: text/x-patch
Size: 6040 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170123/2cd3cc4e/attachment.bin>


More information about the llvm-commits mailing list