diff options
author | Conrad Meyer <cem@FreeBSD.org> | 2019-11-05 03:20:40 +0000 |
---|---|---|
committer | Conrad Meyer <cem@FreeBSD.org> | 2019-11-05 03:20:40 +0000 |
commit | c8b5e3de39bcfa6833d4ab2980b0dddd30edbb74 (patch) | |
tree | cb9c33df28d5affbc288afb10e65645d2b64cb2c /lib/libcompiler_rt | |
parent | 6d180b1360b19930587764af836c009419cc3365 (diff) | |
download | src-test-c8b5e3de39bcfa6833d4ab2980b0dddd30edbb74.tar.gz src-test-c8b5e3de39bcfa6833d4ab2980b0dddd30edbb74.zip |
Fix llvm-libunwind userspace build on ARM
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
Notes:
svn path=/head/; revision=354347
Diffstat (limited to 'lib/libcompiler_rt')
-rw-r--r-- | lib/libcompiler_rt/Makefile | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libcompiler_rt/Makefile b/lib/libcompiler_rt/Makefile index 5c2d38e8c4ec5..9ec4e896e7a5c 100644 --- a/lib/libcompiler_rt/Makefile +++ b/lib/libcompiler_rt/Makefile @@ -12,10 +12,6 @@ CFLAGS+= -fvisibility=hidden CFLAGS+= -DVISIBILITY_HIDDEN CFLAGS+= -I${SRCTOP}/contrib/libcxxrt -.if ${COMPILER_TYPE} == "clang" -CWARNFLAGS.gcc_personality_v0.c+= -Wno-typedef-redefinition -.endif - # gcc has incompatible internal declarations for __divtc3 and __multc3, but has # no option to silence its warning, so make warnings non-fatal. NO_WERROR.gcc= |