[Workflow] Roll back some settings since they caused more issues
[llvm-project.git] / libc / AOR_v20.02 / string / asmdefs.h
blobdcdd109ca0c06a7a969723769cd9c89368f59ad3
1 /*
2 * Macros for asm code.
4 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 * See https://llvm.org/LICENSE.txt for license information.
6 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 */
9 #ifndef _ASMDEFS_H
10 #define _ASMDEFS_H
12 #define ENTRY_ALIGN(name, alignment) \
13 .global name; \
14 .type name,%function; \
15 .align alignment; \
16 name: \
17 .cfi_startproc;
19 #define ENTRY(name) ENTRY_ALIGN(name, 6)
21 #define ENTRY_ALIAS(name) \
22 .global name; \
23 .type name,%function; \
24 name:
26 #define END(name) \
27 .cfi_endproc; \
28 .size name, .-name;
30 #define L(l) .L ## l
32 #endif