mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-27 09:12:44 +00:00
libgcc_{eh,s}: restore __*_frame_info symbols post llvm18
The upstream llvm commit 5eb44df1b64d made the addition of these GCC
compatability symbols dependent on build configuration rather than
hardcoded for amd64, i386, and powerpc. Reenable them.
Reviewed by: dim
Differential Revision: https://reviews.freebsd.org/D44877
(cherry picked from commit 0b9e358580
)
This commit is contained in:
parent
50fd2fbec9
commit
82d22a88c3
@ -17,6 +17,9 @@ SRCS_EXC+= UnwindRegistersSave.S
|
||||
SRCS_EXC+= libunwind.cpp
|
||||
|
||||
SRCS+= ${SRCS_EXC}
|
||||
.if ${MACHINE} == "amd64" || ${MACHINE} == "i386" || ${MACHINE} == "powerpc"
|
||||
CFLAGS.UnwindLevel1-gcc-ext.c+= -D_LIBUNWIND_SUPPORT_FRAME_APIS
|
||||
.endif
|
||||
.for file in ${SRCS_EXC:M*.c}
|
||||
CFLAGS.${file}+= -fno-exceptions -funwind-tables
|
||||
.endfor
|
||||
|
Loading…
Reference in New Issue
Block a user