aboutsummaryrefslogtreecommitdiff
path: root/lib/libgcc_s/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* libcompiler_rt/libgcc_s: Remove MIPS build glue.John Baldwin2023-03-291-2/+1
| | | | | Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D39328
* Add build system support for ASAN+UBSAN instrumentationAlex Richardson2021-08-021-0/+3
| | | | | | | | | | | | This adds two new options WITH_ASAN/WITH_UBSAN that can be set to enable instrumentation of all binaries with AddressSanitizer and/or UndefinedBehaviourSanitizer. This current patch is almost sufficient to get a complete buildworld with sanitizer instrumentation but in order to actually build and boot a system it depends on a few more follow-up commits. Reviewed By: brooks, kib, markj Differential Revision: https://reviews.freebsd.org/D31043
* Rename NO_WERROR -> MK_WERROR=noAlex Richardson2021-01-071-1/+1
| | | | | | | | As suggested in D27598. This also supports MK_WERROR.clang=no and MK_WERROR.gcc=no to support the existing NO_WERROR.<compiler> uses. Reviewed By: brooks Differential Revision: https://reviews.freebsd.org/D27601
* Remove the SYMVER build option.John Baldwin2020-04-301-2/+0
| | | | | | | | | | | | | | This option was added as a transition aide when symbol versioning was first added. It was enabled by default in 2007 and is supported even by the old GPLv2 binutils. Trying to disable it currently fails to build in libc and at this point it isn't worth fixing the build. Reported by: Michael Dexter Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D24637 Notes: svn path=/head/; revision=360511
* Fix LLVM libunwnwind _Unwind_Backtrace symbol version for ARM.Michal Meloun2019-12-161-0/+2
| | | | | | | | | | | | | | | | | In original GNU libgcc, _Unwind_Backtrace is published with GCC_3.3 version for all architectures but ARM. For ARM should be publishes with GCC_4.3.0 version. This was originally omitted in r255095, fixed in r318024 and omitted aging in LLVM libunwind implementation in r354347. For ARM _Unwind_Backtrace should be published as default with GCC_4.3.0 version , (because this is right original version) and again as normal(not-default) with GCC_3.3 version (to maintain ABI compatibility compiled/linked with wrong pre r318024 libgcc) PR: 233664 Notes: svn path=/head/; revision=355803
* Fix llvm-libunwind userspace build on ARMConrad Meyer2019-11-051-1/+11
| | | | | | | | | | | | | | | | | | | | GCC's libgcc exports a few ARM-specific symbols for ARM EABI, AEABI, or EHABI or whatever it's called. Export the same ones from LLVM-libunwind's libgcc_s, on ARM. As part of this, convert libgcc_s from a direct Version.map to one constructed from component Symbol.map files. This allows the ARM-specific Symbol.map to be included only on ARM. Fix ARM-only oddities in struct name/aliases in LLVM-libunwind to match non-ARM definitions and ARM-specific expectations in libcxxrt / libcompiler_rt. No functional change intended for non-ARM architectures. This commit does not actually flip the switch for ARM defaults from libgcc to llvm-libunwind, but makes it possible (to compile, anyway). Notes: svn path=/head/; revision=354347
* Fix build by escaping a line break.Glen Barber2018-01-311-1/+1
| | | | | | | | | PR: 225597 Submitted by: cbnfinley at gmail.com Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=328637
* Don't include long double routines on architectures with small long double.John Baldwin2018-01-311-2/+8
| | | | | | | | | Reviewed by: emaste Sponsored by: DARPA / AFRL Differential Revision: https://reviews.freebsd.org/D13874 Notes: svn path=/head/; revision=328635
* Apply r315689 to lib/libgcc_s as well to unbreak the gcc xtoolchain buildEnji Cooper2017-03-281-0/+4
| | | | | | | | | | | | | | lib/libgcc_s consumes lib/libcompiler_rt/Makefile*. The NO_WERROR.gcc in lib/libcompiler_rt/Makefile doesn't seem to have made a difference in being able to build this, so sprinkle NO_WERROR.gcc here as well. MFC after: 3 days Reported by: Jenkins (FreeBSD-head-amd64-gcc) Tested with: amd64-gcc-6.3.0 (devel/amd64-xtoolchain-gcc) Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=316101
* libgcc_s: add libc DT_NEEDED to fix underlinkingEd Maste2017-01-131-0/+1
| | | | | | | | | | PR: 216012 Reported by: jbeich MFC after: 1 week Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=312076
* libcc_{s,eh}: build without SSPEd Maste2016-11-111-0/+1
| | | | | | | | | | | | | As in the gnu/lib/libgcc Makefile: libgcc is linked in last and thus cannot depend on ssp symbols coming from earlier libraries. Disable stack protection for this library. Reviewed by: dim Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308563
* Spell 'PACKAGE' correctly.Glen Barber2016-11-111-1/+1
| | | | | | | | | Submitted by: Kyle Evans, emaste MFC after: 3 days Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=308537
* Move the LLVM-based libgcc_s to /libEd Maste2016-10-241-0/+1
| | | | | | | | | | When enabled, it should install in the same location as the existing library. Reported by: antoine Notes: svn path=/head/; revision=307864
* libgcc_s: add libm dependencies from div{d,s,x}c3Ed Maste2016-10-131-0/+18
| | | | | | | | | | | | | | | compiler-rt's complex division support routines contain calls to compiler builtins such as `__builtin_scalbnl`. Unfortunately Clang turns these back into a call to `scalbnl`. For now link libm's C version of the required support routines. Reviewed by: ed Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8190 Notes: svn path=/head/; revision=307231
* Introduce lib/libgcc_eh and lib/libgcc_s for LLVM's implementationEd Maste2016-10-131-0/+14
They are not yet connected to the build, but I am adding them to allow for easier testing, ports exp-runs, etc. Reviewed by: ed Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D8188 Notes: svn path=/head/; revision=307230