From owner-freebsd-mips@FreeBSD.ORG Thu Jun 18 14:51:07 2015 Return-Path: Delivered-To: freebsd-mips@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BAFBC349 for ; Thu, 18 Jun 2015 14:51:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22b.google.com (mail-ig0-x22b.google.com [IPv6:2607:f8b0:4001:c05::22b]) (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 876713FF for ; Thu, 18 Jun 2015 14:51:07 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igboe5 with SMTP id oe5so20476447igb.1 for ; Thu, 18 Jun 2015 07:51:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=IvANoEMzfFvQ2vmC4tCKSWuad+x9r2ksEyroTMIWw3k=; b=xGK0J72VtjE12fj3C3gHGk+1JHeaffFSz7LEN08XDw4fPHIJHz6shmxIgCgh8wHIpo zUMe4+2CqrPIcHTkrRUl28PYhhpLLSzmLzFzAn1C+7PDFOFn7YcjOsJx82ZUC51c2XtU U9waZzB2hdnKp8dFTQeRFLR9knQljgg0yNfaQJTu9W0AibxloxzXQDOP8L0O4T3ZMTwD uppLxHmWjcnKLMSEjNk9U6NlBI/iCNrml100MEr1F7+EBuQ+/gVRhFujC7AhPELXwSu9 QlIMAuKW1j5L26+hRSQUmzxtu14L3ISPTX9RV6S1Y5KgxiVogkMygH2fn9lYYkHb3E+j Zl/w== MIME-Version: 1.0 X-Received: by 10.42.120.66 with SMTP id e2mr6224914icr.37.1434639066850; Thu, 18 Jun 2015 07:51:06 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 18 Jun 2015 07:51:06 -0700 (PDT) Date: Thu, 18 Jun 2015 07:51:06 -0700 X-Google-Sender-Auth: 4qhoHuKdFhw3O6VQdduCg9XssyQ Message-ID: Subject: [rfc] add support routines required for gcc-4.9 From: Adrian Chadd To: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Jun 2015 14:51:07 -0000 -adrian The following is neded for gcc-4.9, as it doesn't supply these inline functions. What do people think? adrian@lucy-11i386:~/work/freebsd/head-embedded-2/src % svn diff sys/conf/files.mips Index: sys/conf/files.mips =================================================================== --- sys/conf/files.mips (revision 284394) +++ sys/conf/files.mips (working copy) @@ -61,6 +61,9 @@ libkern/memmove.c standard libkern/cmpdi2.c optional mips | mipsel libkern/ucmpdi2.c optional mips | mipsel +# required for gcc-4.9? +libkern/ashldi3.c standard +libkern/ashrdi3.c standard # cfe support dev/cfe/cfe_api.c optional cfe -adrian