diff --git a/link.x b/link.x index e3b5ff4..1f52024 100644 --- a/link.x +++ b/link.x @@ -55,8 +55,8 @@ SECTIONS KEEP(*(.init)); KEEP(*(.init.rust)); . = ALIGN(4); - (*(.trap)); - (*(.trap.rust)); + *(.trap); + *(.trap.rust); *(.text .text.*); } > REGION_TEXT