[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-mips
Subject:    Re: Retiring __ABICALLS__
From:       Warner Losh <imp () bsdimp ! com>
Date:       2017-02-22 20:55:47
Message-ID: CANCZdfpQPfn3K8FBjcs1HAo1_Pq3Xo7xX+oON4B+Z0mnoeMJRw () mail ! gmail ! com
[Download RAW message or body]

On Wed, Feb 22, 2017 at 10:06 AM, Ed Maste <emaste@freebsd.org> wrote:
> On 21 February 2017 at 14:56, Warner Losh <imp@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@bec.de>
>> Date: Tue, Feb 21, 2017 at 12:47 PM
>> Subject: Retiring __ABICALLS__
>> To: port-mips@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
_______________________________________________
freebsd-mips@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-mips
To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic