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:
Rich Felker 2015-05-22 01:50:05 -04:00
parent 3b0e83264d
commit 63caf1d207
7 changed files with 7 additions and 0 deletions

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START "\n"
".type " START ",%function\n"
START ":\n"

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START " \n"
".type " START ",%function \n"
START ": \n"

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START " \n"
".align 2 \n"
START ": \n"

View File

@ -1,6 +1,7 @@
__asm__(
".set push\n"
".set noreorder\n"
".text \n"
".global _" START "\n"
".global " START "\n"
".type _" START ", @function\n"

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START " \n"
".align 4 \n"
START ": \n"

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START " \n"
".type " START ", %function \n"
START ": \n"

View File

@ -1,4 +1,5 @@
__asm__(
".text \n"
".global " START " \n"
START ": \n"
" mova 1f, r0 \n"