summaryrefslogtreecommitdiff
path: root/lib/libcompiler_rt
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2017-04-05 02:40:53 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2017-04-05 02:40:53 +0000
commit813b8a9e899111af92e13c23e971cc9e003f534b (patch)
tree1e6fe5e67568e740974da51e4bb265c5091de5eb /lib/libcompiler_rt
parent2e2e26d14ed556cf57d65e109066a7c7d7ce00ac (diff)
downloadsrc-test-813b8a9e899111af92e13c23e971cc9e003f534b.tar.gz
src-test-813b8a9e899111af92e13c23e971cc9e003f534b.zip
Add an implementation of __ffssi2() derived from __ffsdi2().
Newer versions of GCC include an __ffssi2() symbol in libgcc and the compiler can emit calls to it in generated code. This is true for at least GCC 6.2 when compiling world for mips and mips64. Reviewed by: jmallett, dim Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D10086
Notes
Notes: svn path=/head/; revision=316511
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r--lib/libcompiler_rt/Makefile.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libcompiler_rt/Makefile.inc b/lib/libcompiler_rt/Makefile.inc
index 48116d60dc262..e2fef5bc7a0fe 100644
--- a/lib/libcompiler_rt/Makefile.inc
+++ b/lib/libcompiler_rt/Makefile.inc
@@ -38,6 +38,7 @@ SRCF+= divxc3
SRCF+= enable_execute_stack
SRCF+= eprintf
SRCF+= extendhfsf2
+SRCF+= ffssi2
SRCF+= ffsdi2
SRCF+= ffsti2
SRCF+= fixdfdi