Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 13:55:47 -0700
From:      Warner Losh <imp@bsdimp.com>
To:        Ed Maste <emaste@freebsd.org>
Cc:        "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>
Subject:   Re: Retiring __ABICALLS__
Message-ID:  <CANCZdfpQPfn3K8FBjcs1HAo1_Pq3Xo7xX%2BoON4B%2BZ0mnoeMJRw@mail.gmail.com>
In-Reply-To: <CAPyFy2AChAkNkyFB8sj5jsDgoR05SGiU1S9_EnK8GsLSOdFAfQ@mail.gmail.com>
References:  <20170221194748.GA16066@britannica.bec.de> <CANCZdfpv_k9HGjBaQWVUKhKx81oaTZg6NgKaLkjBijEydcVr3g@mail.gmail.com> <CAPyFy2AChAkNkyFB8sj5jsDgoR05SGiU1S9_EnK8GsLSOdFAfQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANCZdfpQPfn3K8FBjcs1HAo1_Pq3Xo7xX%2BoON4B%2BZ0mnoeMJRw>