Date: Wed, 15 Jan 2020 15:59:32 +0000 (UTC) From: Kyle Evans <kevans@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r356761 - head/sys/conf Message-ID: <202001151559.00FFxW07065618@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202001151559.00FFxW07065618>