
Tested APM and iSAC in Android. Bit-exact with original versions. Changes include removing or changing some GCC derivatives (e.g. .fnstart, .hword), instruction syntax, etc. Review URL: https://webrtc-codereview.appspot.com/934009 git-svn-id: http://webrtc.googlecode.com/svn/trunk@3124 4adac7df-926f-26a2-2b94-8c16560cd09d
33 lines
932 B
C
33 lines
932 B
C
/*
|
|
* Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license
|
|
* that can be found in the LICENSE file in the root of the source
|
|
* tree. An additional intellectual property rights grant can be found
|
|
* in the file PATENTS. All contributing project authors may
|
|
* be found in the AUTHORS file in the root of the source tree.
|
|
*/
|
|
|
|
#ifndef WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_
|
|
#define WEBRTC_SYSTEM_WRAPPERS_INTERFACE_ASM_DEFINES_H_
|
|
|
|
// Define the macros used in ARM assembly code, so that for Mac or iOS builds
|
|
// we add leading underscores for the function names.
|
|
#ifdef __APPLE__
|
|
.macro GLOBAL_FUNCTION name
|
|
.global _\name
|
|
.endm
|
|
.macro DEFINE_FUNCTION name
|
|
_\name:
|
|
.endm
|
|
#else
|
|
.macro GLOBAL_FUNCTION name
|
|
.global \name
|
|
.endm
|
|
.macro DEFINE_FUNCTION name
|
|
\name:
|
|
.endm
|
|
#endif
|
|
|
|
#endif // WEBRTC_SYSTEM_WRAPPERS_INTERFACE_COMPILE_ASSERT_H_
|