mirror of https://git.musl-libc.org/git/musl
Browse Source
this caused the dynamic linker/startup code to abort when r0 happened to contain a negative value.master
1 changed files with 2 additions and 1 deletions
@ -1,5 +1,6 @@ |
|||||
.global __set_thread_area |
.global __set_thread_area |
||||
.type __set_thread_area, @function |
.type __set_thread_area, @function |
||||
__set_thread_area: |
__set_thread_area: |
||||
|
ldc r4, gbr |
||||
rts |
rts |
||||
ldc r4, gbr |
mov #0, r0 |
||||
|
|||||
Loading…
Reference in new issue