mirror of
https://git.musl-libc.org/git/musl
synced 2025-03-21 01:53:07 +03:00
add .text section directive to all crt_arch.h files missing it
i386 and x86_64 versions already had the .text directive; other archs did not. normally, top-level (file scope) __asm__ starts in the .text section anyway, but problems were reported with some versions of clang, and it seems preferable to set it explicitly anyway, at least for the sake of consistency between archs.
This commit is contained in:
parent
3b0e83264d
commit
63caf1d207
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START "\n"
|
||||
".type " START ",%function\n"
|
||||
START ":\n"
|
||||
|
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START " \n"
|
||||
".type " START ",%function \n"
|
||||
START ": \n"
|
||||
|
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START " \n"
|
||||
".align 2 \n"
|
||||
START ": \n"
|
||||
|
@ -1,6 +1,7 @@
|
||||
__asm__(
|
||||
".set push\n"
|
||||
".set noreorder\n"
|
||||
".text \n"
|
||||
".global _" START "\n"
|
||||
".global " START "\n"
|
||||
".type _" START ", @function\n"
|
||||
|
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START " \n"
|
||||
".align 4 \n"
|
||||
START ": \n"
|
||||
|
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START " \n"
|
||||
".type " START ", %function \n"
|
||||
START ": \n"
|
||||
|
@ -1,4 +1,5 @@
|
||||
__asm__(
|
||||
".text \n"
|
||||
".global " START " \n"
|
||||
START ": \n"
|
||||
" mova 1f, r0 \n"
|
||||
|
Loading…
x
Reference in New Issue
Block a user