1//
2// Copyright (C) 2017 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8//      http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17.text
18.globl native_bridge_trace
19.type native_bridge_trace, #function
20native_bridge_trace:
21  ldr r3, =0
22  bx r3
23
24.text
25.globl native_bridge_find_proxy_library_symbol
26.type native_bridge_find_proxy_library_symbol, #function
27native_bridge_find_proxy_library_symbol:
28  ldr r3, =0
29  bx r3
30
31.text
32.globl native_bridge_post_init
33.type native_bridge_post_init, #function
34native_bridge_post_init:
35  ldr r3, =0
36  bx r3
37
38.text
39// Symbol to set guest return address to when guest function is called from the runtime.
40// Provides unwind info that corresponds to ScopedHostCallFrame.
41// Provides 1 readable insn before and 2 after.
42// TODO(eaeltsin): may be change insns to what actual signal frame unwinder expects?
43// See bionic/libc/arch-arm/bionic/__restore.S
44.text
45  .fnstart
46  .save {r4, r5, lr, pc}
47  .movsp r4
48  nop
49.globl native_bridge_call_guest
50.type native_bridge_call_guest, #function
51native_bridge_call_guest:
52  nop
53  nop
54  ldr r3, =0
55  bx r3
56  .fnend
57