Commit b2f32d60 authored by James Almer's avatar James Almer

Merge commit '5584abf6'

* commit '5584abf6':
  arm: Emit .thumb_func directives
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 22b6e101 5584abf6
......@@ -46,6 +46,12 @@
# define FPU @
#endif
#if CONFIG_THUMB && defined(__APPLE__)
# define TFUNC
#else
# define TFUNC @
#endif
#if HAVE_AS_ARCH_DIRECTIVE
#if HAVE_NEON
.arch armv7-a
......@@ -98,10 +104,12 @@ FUNC .endfunc
.global EXTERN_ASM\name
ELF .type EXTERN_ASM\name, %function
FUNC .func EXTERN_ASM\name
TFUNC .thumb_func EXTERN_ASM\name
EXTERN_ASM\name:
.else
ELF .type \name, %function
FUNC .func \name
TFUNC .thumb_func \name
\name:
.endif
.endm
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment