From 63caf1d207d143fe405bbe0cda9aac8deca1171a Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 22 May 2015 01:50:05 -0400 Subject: 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. --- arch/mips/crt_arch.h | 1 + 1 file changed, 1 insertion(+) (limited to 'arch/mips/crt_arch.h') diff --git a/arch/mips/crt_arch.h b/arch/mips/crt_arch.h index 9a60be03..058de5c3 100644 --- a/arch/mips/crt_arch.h +++ b/arch/mips/crt_arch.h @@ -1,6 +1,7 @@ __asm__( ".set push\n" ".set noreorder\n" +".text \n" ".global _" START "\n" ".global " START "\n" ".type _" START ", @function\n" -- cgit v1.2.1