1
0
Fork 0
forked from len0rd/rockbox

build: Various LTO fixes

* Give arm panicf_f() USED_ATTR
 * Ensure start_thread() has USED_ATTR

Change-Id: I6a833be7fbe25410c21e0df233fcae91e451bf00
This commit is contained in:
Solomon Peachy 2024-11-24 08:36:07 -05:00
parent bdf1690cb2
commit 0624e265ab
4 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@
* Start the thread running and terminate it if it returns
*---------------------------------------------------------------------------
*/
void start_thread(void); /* Provide C access to ASM label */
void start_thread(void) USED_ATTR; /* Provide C access to ASM label */
static void USED_ATTR __start_thread(void)
{
/* a0=macsr, a1=context */