OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 */ | 9 */ |
10 | 10 |
11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_ | 11 #ifndef WEBRTC_SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_ |
12 #define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_ | 12 #define WEBRTC_SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_ |
13 | 13 |
14 #if defined(__linux__) && defined(__ELF__) | 14 #if defined(__linux__) && defined(__ELF__) |
15 .section .note.GNU-stack,"",%progbits | 15 .section .note.GNU-stack,"",%progbits |
16 #endif | 16 #endif |
17 | 17 |
18 // Define the macros used in ARM assembly code, so that for Mac or iOS builds | 18 // Define the macros used in ARM assembly code, so that for Mac or iOS builds |
19 // we add leading underscores for the function names. | 19 // we add leading underscores for the function names. |
20 #ifdef __APPLE__ | 20 #ifdef __APPLE__ |
21 .macro GLOBAL_FUNCTION name | 21 .macro GLOBAL_FUNCTION name |
22 .global _\name | 22 .global _\name |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 // the condition code is after the width specifier. Here we define | 56 // the condition code is after the width specifier. Here we define |
57 // only the ones that are actually used in the assembly files. | 57 // only the ones that are actually used in the assembly files. |
58 #if (defined __llvm__) && (defined __APPLE__) | 58 #if (defined __llvm__) && (defined __APPLE__) |
59 .macro streqh reg1, reg2, num | 59 .macro streqh reg1, reg2, num |
60 strheq \reg1, \reg2, \num | 60 strheq \reg1, \reg2, \num |
61 .endm | 61 .endm |
62 #endif | 62 #endif |
63 | 63 |
64 .text | 64 .text |
65 | 65 |
66 #endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_ | 66 #endif // WEBRTC_SYSTEM_WRAPPERS_INCLUDE_ASM_DEFINES_H_ |
OLD | NEW |