diff options
Diffstat (limited to 'libc/private/bionic_asm.h')
-rw-r--r-- | libc/private/bionic_asm.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libc/private/bionic_asm.h b/libc/private/bionic_asm.h index 7c2686f..5fca222 100644 --- a/libc/private/bionic_asm.h +++ b/libc/private/bionic_asm.h @@ -41,7 +41,7 @@ #define ENTRY(f) \ .text; \ .globl f; \ - _ALIGN_TEXT; \ + .align __bionic_asm_align; \ .type f, __bionic_asm_function_type; \ f: \ __bionic_asm_custom_entry(f); \ @@ -57,4 +57,8 @@ ENTRY(f); \ .hidden f \ +#define ALIAS_SYMBOL(alias, original) \ + .globl alias; \ + .equ alias, original + #endif /* _PRIVATE_BIONIC_ASM_H_ */ |