Commit 697a11e8 authored by Mans Rullgard's avatar Mans Rullgard Committed by Fiona Glaser

ARM: align asm functions to 4 bytes.

Some linkers apparently fail to correctly align ARM functions when mixing with Thumb code.
parent f59b310f
......@@ -48,6 +48,7 @@ ELF .eabi_attribute 25, \val
.macro function name
.global EXTERN_ASM\name
.align 2
EXTERN_ASM\name:
ELF .hidden \name
ELF .type \name, %function
......
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