From owner-freebsd-mips@FreeBSD.ORG Thu Jun 18 19:52:04 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 7215F7F2 for ; Thu, 18 Jun 2015 19:52:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x22c.google.com (mail-ig0-x22c.google.com [IPv6:2607:f8b0:4001:c05::22c]) (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 3B073D5E for ; Thu, 18 Jun 2015 19:52:04 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igboe5 with SMTP id oe5so27252476igb.1 for ; Thu, 18 Jun 2015 12:52:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=+JBOENPGqDYHubqAFtNrwKX0Dr8D8sUoNzPvjxKsegw=; b=Vn2UbHtWSt5mIgDfWwelxphrGfse3Dwkbzwma1u1QGZd2x01i7RolzynrYure7PlO+ RuC+Srpt4cftIiIT1mxloW9BtXw7sa0+atYMsS0jMRzLWzUfs6Y78QdWVL/N2Uj9PBAQ CvfFK9kKQI51txq2NVYtivGAMayAEPjfAEuQxFMlL3TQ6p6f7dKUMcurvHc/uqilS/jn FQudI2A1wqvVWfGCLaawMSvi6QQjvgjpKEOL7gqG7tmZ8rNP2iElrEUwyZGKCDcMTQyH W2dKu1HAfiQPjiyu28ycGNJzIv+Si6g79Pq0pHrJA6J/YhSMdINtuqwOic1sAmhpPwiA vx0A== MIME-Version: 1.0 X-Received: by 10.107.155.74 with SMTP id d71mr17138779ioe.29.1434657123632; Thu, 18 Jun 2015 12:52:03 -0700 (PDT) Sender: adrian.chadd@gmail.com Received: by 10.36.38.133 with HTTP; Thu, 18 Jun 2015 12:52:03 -0700 (PDT) In-Reply-To: References: Date: Thu, 18 Jun 2015 12:52:03 -0700 X-Google-Sender-Auth: XfmFEaCJ5Hd-6-l6UvquhXh3M9Q Message-ID: Subject: Re: [rfc] add support routines required for gcc-4.9 From: Adrian Chadd To: Warner Losh Cc: "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable 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 19:52:04 -0000 Ok, I'll commit it tonight. THanks! -a On 18 June 2015 at 11:59, Warner Losh wrote: > >> On Jun 18, 2015, at 8:51 AM, Adrian Chadd wrote: >> >> -adrian >> The following is neded for gcc-4.9, as it doesn't supply these inline fu= nctions. >> >> What do people think? >> >> adrian@lucy-11i386:~/work/freebsd/head-embedded-2/src % svn diff >> sys/conf/files.mips >> Index: sys/conf/files.mips >> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D >> --- 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? > > I=E2=80=99d just remove this comment. Otherwise this looks great to me. T= he few extra bytes > from this code are so far in the noise having it be more specifically con= ditional > isn=E2=80=99t worth the effort. > > Warner > >> +libkern/ashldi3.c standard >> +libkern/ashrdi3.c standard >> >> # cfe support >> dev/cfe/cfe_api.c optional cfe >> >> -adrian >> _______________________________________________ >> freebsd-mips@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mips >> To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org" >