summaryrefslogtreecommitdiffstats
path: root/lib/libcompiler_rt
Commit message (Collapse)AuthorAgeFilesLines
* Add the __aeabi_mem* functions to compiler-rt as clang uses them.andrew2013-02-061-0/+4
|
* Use the compiler-rt version __{u,}divsi3 and __{u,}modsi3 on ARM EABIandrew2013-01-191-3/+7
|
* There should have been a tab after SRCS+=andrew2013-01-191-1/+1
|
* Add the __aeabi_*divmod functions to the compiler-rt buildandrew2013-01-191-0/+7
|
* Get libcompiler-rt and libgcc building on ARM with clang.andrew2012-12-181-3/+8
| | | | | | | * Don't provide clear_cache or the __sync_* functions on ARM with clang as they are provided by clang as builtin functions. * Tell clang it is aloud to compile some libgcc code using heinous GCC extensions.
* Switch sparc64 to using libcompiler_rt; since r230021 we have a workaroundmarius2012-05-151-1/+1
| | | | | in place allowing it to be used there and since r235388 (see also r235486) we also have usable div/mod optimizations like libgcc has.
* Upgrade libcompiler_rt to upstream revision 147390.ed2011-12-311-0/+4
| | | | | | | | | This version of libcompiler_rt adds support for __mulo[sdt]i4(), which computes a multiply and its overflow flag. There are also a lot of cleanup fixes to headers that don't really affect us. Updating to this revision should make it a bit easier to contribute changes back to the LLVM developers.
* Add locally implemented atomic intrinsics to libcompiler_rt.ed2011-12-2717-0/+204
| | | | | | | | | | | | | | | | The built-in atomic operations are not implemented in our version of GCC 4.2 for the ARM and MIPS architectures. Instead of emitting locked instructions, they generate calls to functions that can be implemented in the C runtime. Only implement the atomic operations that are used by <stdatomic.h> for datatype sizes that are supported by atomic(9). This means that on these architectures, we can only use atomic operations on 32-bits and 64-bits variables, which is typically sufficient. This makes <stdatomic.h> work on all architectures except MIPS, since MIPS and SPARC64 still use libgcc. Converting these architectures to libcompiler_rt is on my todo list.
* Upgrade libcompiler_rt from revision 117047 to 132478.ed2011-06-031-0/+5
| | | | | | | | | | | | | | | | | | | | | | It seems there have only been a small amount to the compiler-rt source code in the mean time. I'd rather have the code in sync as much as possible by the time we release 9.0. Changes: - The libcompiler_rt library is now dual licensed under both the University of Illinois "BSD-Like" license and the MIT license. - Our local modifications for using .hidden instead of .private_extern have been upstreamed, meaning our changes to lib/assembly.h can now be reverted. - A possible endless recursion in __modsi3() has been fixed. - Support for ARM EABI has been added, but it has no effect on FreeBSD (yet). - The functions __udivmodsi4 and __divmodsi4 have been added. Requested by: many, including bf@ and Pedro Giffuni
* Mark libcompiler_rt as not needed executable stack on powerpc.kib2011-01-141-1/+2
| | | | Reviewed and tested by: nwhitehorn
* Fix braino in r217101. -Wa is used to supply assembler flag to cc driver.kib2011-01-071-1/+1
| | | | Noted by: Anonymous <swell.k gmail com>
* On amd64 and i386, force assembler to mark objects compiled from thekib2011-01-071-0/+6
| | | | | | | | assembler source for libcompiler_rt as not needed executable stack. This is done with a hammer instead of properly marking each assembly file with section .note.GNU-stack to avoid modifying contributed source. Discussed with: ed
* Switch mips architectures back to libgcc.kan2010-12-291-1/+1
| | | | | | MIPS64 n64 binaries are broken with libcompiler_rt at this time. Switch mips back to libgcc until the cause of breakage is analyzed and fixed.
* Revert to libgcc for sparc64.ed2010-11-121-3/+5
| | | | | | | | | I've had a report of a sparc64 system where cc1 generates illegal instructions. We still have to diagnose this properly, but instead of hosing all sparc64 boxes out there, fall back to libgcc to prevent more damage. Reported by: Florian Smeets
* Set symbol visibility to hidden.ed2010-11-111-1/+1
| | | | | | | Not doing so may cause all sorts of random libraries to expose libcompiler_rt's functions, which should of course not be done. Discussed with: kan, kib
* Import libcompiler_rt into HEAD and add Makefiles.ed2010-11-111-0/+157
Obtained from: user/ed/compiler-rt
OpenPOWER on IntegriCloud