diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-05-18 09:41:07 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-05-18 09:44:01 -0400 |
commit | 33034600c250068cb1c413ddf9dba894f8ca6182 (patch) | |
tree | d1c81a58d9e645e4688790ff99f34305294c2b1b /src/ext/README | |
parent | 159ea7a88f31aee2f84cf964c0d0000a5bd98970 (diff) | |
download | tor-33034600c250068cb1c413ddf9dba894f8ca6182.tar.gz tor-33034600c250068cb1c413ddf9dba894f8ca6182.zip |
Add __mulodi4 source to src/ext
We need to define this function when compiling with clang -m32 -ftrapv,
since otherwise we get link errors, since apparently some versions
of libclang_rt.builtins don't define a version of it that works? Or
clang doesn't know to look for it?
This definition is taken from the LLVM source at
https://llvm.org/svn/llvm-project/compiler-rt/trunk/lib/builtins/mulodi4.c
I've also included the license (dual BSD-ish/MIT-ish).
Diffstat (limited to 'src/ext/README')
-rw-r--r-- | src/ext/README | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/ext/README b/src/ext/README index c180927b86..dfe620ed16 100644 --- a/src/ext/README +++ b/src/ext/README @@ -77,3 +77,10 @@ readpassphrase.[ch] timeouts/ William Ahern's hierarchical timer-wheel implementation. MIT license. + +mulodi/ + + Contains an overflow-checking 64-bit signed integer multiply + from LLVM's compiler_rt. For some reason, this is missing from + 32-bit libclang in many places. Dual licensed MIT-license and + BSD-like license; see mulodi/LICENSE.TXT. |