Retiring __ABICALLS__
Warner Losh
imp at bsdimp.com
Wed Feb 22 20:55:49 UTC 2017
On Wed, Feb 22, 2017 at 10:06 AM, Ed Maste <emaste at freebsd.org> wrote:
> On 21 February 2017 at 14:56, Warner Losh <imp at bsdimp.com> wrote:
>> While this is for NetBSD, I think we should do something similar, if
>> such work isn't already in progress.
>>
>> Warner
>>
>> ---------- Forwarded message ----------
>> From: Joerg Sonnenberger <joerg at bec.de>
>> Date: Tue, Feb 21, 2017 at 12:47 PM
>> Subject: Retiring __ABICALLS__
>> To: port-mips at netbsd.org
>>
>>
>> Hello all,
>> GCC has moved to defining __mips_abicalls when -mabicalls is used a long
>> time ago for the generic MIPS code.
>
> I agree with Warner.
>
> FYI, this came up on the LLVM list, in
> https://reviews.llvm.org/D29032. The initial patch proposed defining
> __mips_abicalls on Linux (only) and __ABICALLS__ on the BSDs (only).
> Joerg and I argued for having __mips_abicalls defined everywhere.
We can put #ifdef __ABICALLS__ #define __mips_abicalls #endif in cpu.h
or asm.h or something as a transition bit.
Warner
More information about the freebsd-mips
mailing list