mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-07-10 13:29:52 -04:00
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:
parent
9936d93fea
commit
d75a5d5769
2 changed files with 2 additions and 2 deletions
|
|
@ -44,7 +44,7 @@
|
|||
.extern main
|
||||
.global _start
|
||||
|
||||
.section .init.text
|
||||
.section .init.text,"ax",%progbits
|
||||
.set push
|
||||
.set mips32
|
||||
.set noreorder
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@
|
|||
.set noreorder
|
||||
.set noat
|
||||
|
||||
.section .startup.spl
|
||||
.section .startup.spl, "ax", %progbits
|
||||
|
||||
_spl_start:
|
||||
/* Clear data watchpoint */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue