AArch64: Tidyup whitespace.

This commit is contained in:
Marcus Shawcroft 2013-01-16 12:53:34 +00:00
parent 881ebe897a
commit 62216a0a1e
2 changed files with 16 additions and 11 deletions

View File

@ -1,3 +1,8 @@
2013-01-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* sysdeps/aarch64/sysdep.h (ENTRY, END): Adjust
whitespace.
2013-01-10 Joseph Myers <joseph@codesourcery.com> 2013-01-10 Joseph Myers <joseph@codesourcery.com>
* sysdeps/aarch64/bits/setjmp.h (__jmp_buf): Use __extension__ * sysdeps/aarch64/bits/setjmp.h (__jmp_buf): Use __extension__

View File

@ -25,24 +25,24 @@
#define ASM_SIZE_DIRECTIVE(name) .size name,.-name #define ASM_SIZE_DIRECTIVE(name) .size name,.-name
/* Define an entry point visible from C. */ /* Define an entry point visible from C. */
#define ENTRY(name) \ #define ENTRY(name) \
.globl C_SYMBOL_NAME(name); \ .globl C_SYMBOL_NAME(name); \
.type C_SYMBOL_NAME(name),%function; \ .type C_SYMBOL_NAME(name),%function; \
.align 4; \ .align 4; \
C_LABEL(name) \ C_LABEL(name) \
cfi_startproc; \ cfi_startproc; \
CALL_MCOUNT CALL_MCOUNT
#undef END #undef END
#define END(name) \ #define END(name) \
cfi_endproc; \ cfi_endproc; \
ASM_SIZE_DIRECTIVE(name) ASM_SIZE_DIRECTIVE(name)
/* If compiled for profiling, call `mcount' at the start of each function. */ /* If compiled for profiling, call `mcount' at the start of each function. */
#ifdef PROF #ifdef PROF
# define CALL_MCOUNT \ # define CALL_MCOUNT \
str x30, [sp, #-16]!; \ str x30, [sp, #-16]!; \
bl mcount; \ bl mcount; \
ldr x30, [sp], #16 ; ldr x30, [sp], #16 ;
#else #else
# define CALL_MCOUNT /* Do nothing. */ # define CALL_MCOUNT /* Do nothing. */