[rfc] add support routines required for gcc-4.9

Warner Losh imp at bsdimp.com
Thu Jun 18 18:59:05 UTC 2015


> On Jun 18, 2015, at 8:51 AM, Adrian Chadd <adrian at FreeBSD.org> wrote:
> 
> -adrian
> The following is neded for gcc-4.9, as it doesn't supply these inline functions.
> 
> What do people think?
> 
> adrian at 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?

I’d just remove this comment. Otherwise this looks great to me. The few extra bytes
from this code are so far in the noise having it be more specifically conditional
isn’t worth the effort.

Warner

> +libkern/ashldi3.c                      standard
> +libkern/ashrdi3.c                      standard
> 
> # cfe support
> dev/cfe/cfe_api.c                      optional        cfe
> 
> -adrian
> _______________________________________________
> freebsd-mips at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/freebsd-mips/attachments/20150618/9db5f798/attachment.sig>


More information about the freebsd-mips mailing list