thumb code calling arm code, no need to put these input sections at the text
output section.
ok jsg@ kettenis@
-/* $OpenBSD: kern.ldscript,v 1.10 2021/06/27 21:39:55 kettenis Exp $ */
+/* $OpenBSD: kern.ldscript,v 1.11 2022/01/07 13:56:54 kevlo Exp $ */
/* $NetBSD: ldscript.evbarm,v 1.2 2003/03/05 23:54:22 thorpej Exp $ */
OUTPUT_ARCH(aarch64)
{
*(.text .text.*)
*(.stub)
- *(.glue_7t) *(.glue_7)
} :text =0
PROVIDE (_etext = .);
PROVIDE (etext = .);
-/* $OpenBSD: kern.ldscript,v 1.3 2021/06/27 21:39:55 kettenis Exp $ */
+/* $OpenBSD: kern.ldscript,v 1.4 2022/01/07 13:56:54 kevlo Exp $ */
OUTPUT_ARCH(riscv64)
{
*(.text .text.*)
*(.stub)
- *(.glue_7t) *(.glue_7)
} :text =0
PROVIDE (_etext = .);
PROVIDE (etext = .);