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.
This commit is contained in:
parent
46085d4187
commit
8e539c075a
@ -81,6 +81,7 @@ ${KERNEL_KO}.tramp.bin: ${KERNEL_KO} $S/$M/$M/elf_trampoline.c \
|
||||
${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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user