diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-05-22 01:50:05 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-05-22 01:50:05 -0400 |
commit | 63caf1d207d143fe405bbe0cda9aac8deca1171a (patch) | |
tree | 3949c63a08976ff33a57cb6b38ab682ebbab7d06 /arch/or1k/crt_arch.h | |
parent | 3b0e83264d156f9e496ab32badd89e4447b807aa (diff) | |
download | musl-63caf1d207d143fe405bbe0cda9aac8deca1171a.tar.gz musl-63caf1d207d143fe405bbe0cda9aac8deca1171a.tar.bz2 musl-63caf1d207d143fe405bbe0cda9aac8deca1171a.tar.xz musl-63caf1d207d143fe405bbe0cda9aac8deca1171a.zip |
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.
Diffstat (limited to 'arch/or1k/crt_arch.h')
-rw-r--r-- | arch/or1k/crt_arch.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/or1k/crt_arch.h b/arch/or1k/crt_arch.h index 84415561..9e310ca9 100644 --- a/arch/or1k/crt_arch.h +++ b/arch/or1k/crt_arch.h @@ -1,4 +1,5 @@ __asm__( +".text \n" ".global " START " \n" ".align 4 \n" START ": \n" |