summaryrefslogtreecommitdiff
path: root/libunwind/src/UnwindRegistersSave.S
diff options
context:
space:
mode:
Diffstat (limited to 'libunwind/src/UnwindRegistersSave.S')
-rw-r--r--libunwind/src/UnwindRegistersSave.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libunwind/src/UnwindRegistersSave.S b/libunwind/src/UnwindRegistersSave.S
index fe3ba7842619..31a177f4a0df 100644
--- a/libunwind/src/UnwindRegistersSave.S
+++ b/libunwind/src/UnwindRegistersSave.S
@@ -25,6 +25,7 @@
#if !defined(__USING_SJLJ_EXCEPTIONS__)
#if defined(__i386__)
+.att_syntax
#
# extern int __unw_getcontext(unw_context_t* thread_state)
@@ -109,6 +110,7 @@ DEFINE_LIBUNWIND_FUNCTION("#__unw_getcontext")
.text
#elif defined(__x86_64__)
+.att_syntax
#
# extern int __unw_getcontext(unw_context_t* thread_state)