From owner-freebsd-mips@freebsd.org Wed Feb 22 20:55:49 2017 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 71548CE9232 for ; Wed, 22 Feb 2017 20:55:49 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: from mail-it0-x244.google.com (mail-it0-x244.google.com [IPv6:2607:f8b0:4001:c0b::244]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D069C44 for ; Wed, 22 Feb 2017 20:55:48 +0000 (UTC) (envelope-from wlosh@bsdimp.com) Received: by mail-it0-x244.google.com with SMTP id r141so2053709ita.1 for ; Wed, 22 Feb 2017 12:55:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bsdimp-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Su96nJJmJvY5iUkZScuag/nK4bfEvskr53jNBRwW8uo=; b=eK6DQAhuTx27a6LJEPQieBJDqyo0JuqlelsPkdhRRUbyy/iM+TKxx4hr3m0xr0mCEH LKHi3mYnmt2UYEQQRXSFADiBtcHnCMaCzMPsY2hOR/QY4L8+9TpCNEPgIZ62mER2RZwp e19fmoRv5AzOSf5eLh2JPWSO8hyJnjw0E+Hz91ncMACR3hvhL+gmS8NttfzXeiUe+2cp OMU5Ul9z43q4+tf3NVK2Fz2O2qTQ8dD8ixQ6szjq3C51J8folY5FCiquIdj+7rGo5se+ xMKqC7ErUZxCBi3l6tKGd6I0L7Q8mtmAW2+8xrxrLY70k5M3X2Ve6W4Pa08X6eRL7mPO rPUg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Su96nJJmJvY5iUkZScuag/nK4bfEvskr53jNBRwW8uo=; b=Vd8HC+t22Kcm0vY57JNBpkx9S5M/FcBLfZLIB94X75FcuRafLbuSvDJz8/eujvOw1A lJ0qHeALaAuFwfBxQUhfTz8flZ1fPa0iUyuFNQQQcDFvWEIwczQDrMUkiX9Pj08kKWxn W3xkqteTSELwVRdAEEYmziE5C9UZb2Yh/pU2EcT/+LdCtHwYYAWiF9RlFTpOVeFMGkVX DBbjP7i2CMzGnAJB9buTR1QN6arGRtuIJUed/J6M+hrcxGYBATvNW+acx4CYrjI09u4D MrsFCZS/YXE6qIZSAPOC5vlDBjzFSy+7WTTl8ii0YCMsXnYqfMpk8Idhsw2CunPOULci yOUA== X-Gm-Message-State: AMke39lB4Vx7HAXXJGylrarQ/BIyt2pFqfKJzsINS+hvExE0il8h94o8cXvJy6vSsTt8+EVHLjAun5eT1HfOMg== X-Received: by 10.36.79.13 with SMTP id c13mr306935itb.103.1487796948369; Wed, 22 Feb 2017 12:55:48 -0800 (PST) MIME-Version: 1.0 Sender: wlosh@bsdimp.com Received: by 10.79.145.132 with HTTP; Wed, 22 Feb 2017 12:55:47 -0800 (PST) X-Originating-IP: [69.53.245.200] In-Reply-To: References: <20170221194748.GA16066@britannica.bec.de> From: Warner Losh Date: Wed, 22 Feb 2017 13:55:47 -0700 X-Google-Sender-Auth: 4gC3oQp8jI56HG823xNKL75xQTs Message-ID: Subject: Re: Retiring __ABICALLS__ To: Ed Maste Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Feb 2017 20:55:49 -0000 On Wed, Feb 22, 2017 at 10:06 AM, Ed Maste wrote: > On 21 February 2017 at 14:56, Warner Losh 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 >> 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