summaryrefslogtreecommitdiff
path: root/libc/ports/sysdeps/arm/crtn.S
diff options
context:
space:
mode:
Diffstat (limited to 'libc/ports/sysdeps/arm/crtn.S')
-rw-r--r--libc/ports/sysdeps/arm/crtn.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/ports/sysdeps/arm/crtn.S b/libc/ports/sysdeps/arm/crtn.S
index 5ff3661f1..a01eb0139 100644
--- a/libc/ports/sysdeps/arm/crtn.S
+++ b/libc/ports/sysdeps/arm/crtn.S
@@ -33,6 +33,8 @@
License along with the GNU C Library. If not, see
<http://www.gnu.org/licenses/>. */
+/* Always build .init and .fini sections in ARM mode. */
+#define NO_THUMB
#include <sysdep.h>
/* crtn.S puts function epilogues in the .init and .fini sections