target: mips: mark .startup.spl section as "ax"

this fixes "has non-ABS relocation R_MIPS_26 against symbol 'spl_main'"
error when linked with lld.

Change-Id: I6b584d8fdcae3f509f322b8557249bc2870904a3
This commit is contained in:
mojyack 2026-04-24 10:41:26 +09:00 committed by Aidan MacDonald
parent 9936d93fea
commit d75a5d5769
2 changed files with 2 additions and 2 deletions

View file

@ -44,7 +44,7 @@
.extern main
.global _start
.section .init.text
.section .init.text,"ax",%progbits
.set push
.set mips32
.set noreorder

View file

@ -31,7 +31,7 @@
.set noreorder
.set noat
.section .startup.spl
.section .startup.spl, "ax", %progbits
_spl_start:
/* Clear data watchpoint */