svn commit: r356761 - head/sys/conf
Kyle Evans
kevans at FreeBSD.org
Wed Jan 15 15:59:32 UTC 2020
Author: kevans
Date: Wed Jan 15 15:59:32 2020
New Revision: 356761
URL: https://svnweb.freebsd.org/changeset/base/356761
Log:
mips trampoline: don't bother with unwind tables
The utility here seems somewhat limited, but clang will attempt to generate
.eh_frame and actively fail in doing so. It is perhaps worth investigating
why it's being generated in the first place (GCC doesn't do so), but this
isn't a high priority.
Modified:
head/sys/conf/Makefile.mips
Modified: head/sys/conf/Makefile.mips
==============================================================================
--- head/sys/conf/Makefile.mips Wed Jan 15 15:31:35 2020 (r356760)
+++ head/sys/conf/Makefile.mips Wed Jan 15 15:59:32 2020 (r356761)
@@ -81,6 +81,7 @@ ${KERNEL_KO}.tramp.bin: ${KERNEL_KO} $S/$M/$M/elf_tram
${CC} -O -nostdlib -I. -I$S ${TRAMP_EXTRA_FLAGS} ${TRAMP_LDFLAGS} -Xlinker \
-T -Xlinker ${LDSCRIPT_NAME}.tramp.noheader \
-DKERNNAME="\"${KERNEL_KO}.tmp\"" -DELFSIZE=${TRAMP_ELFSIZE} \
+ -fno-asynchronous-unwind-tables \
$S/$M/$M/inckern.S $S/$M/$M/elf_trampoline.c \
-o ${KERNEL_KO}.tramp.elf
${OBJCOPY} -S -O binary ${KERNEL_KO}.tramp.elf \
More information about the svn-src-head
mailing list