Dmitriy Ivanov | cd13b14 | 2015-04-03 18:41:42 -0700 | [diff] [blame] | 1 | /* |
| 2 | * Copyright (C) 2015 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 | // TODO: This file should go away once unwinder migration to libc++.so is complete. |
| 18 | |
| 19 | extern char _Unwind_Backtrace __attribute((visibility("protected"))); |
| 20 | extern char __gnu_Unwind_Find_exidx __attribute((visibility("protected"))); |
| 21 | extern char __gnu_Unwind_Restore_VFP_D __attribute((visibility("protected"))); |
| 22 | extern char __gnu_Unwind_Restore_VFP __attribute((visibility("protected"))); |
| 23 | extern char __gnu_Unwind_Restore_VFP_D_16_to_31 __attribute((visibility("protected"))); |
| 24 | extern char __gnu_Unwind_Restore_WMMXD __attribute((visibility("protected"))); |
| 25 | extern char __gnu_Unwind_Restore_WMMXC __attribute((visibility("protected"))); |
| 26 | extern char _Unwind_GetCFA __attribute((visibility("protected"))); |
| 27 | extern char __gnu_Unwind_RaiseException __attribute((visibility("protected"))); |
| 28 | extern char __gnu_Unwind_ForcedUnwind __attribute((visibility("protected"))); |
| 29 | extern char __gnu_Unwind_Resume __attribute((visibility("protected"))); |
| 30 | extern char __gnu_Unwind_Resume_or_Rethrow __attribute((visibility("protected"))); |
| 31 | extern char _Unwind_Complete __attribute((visibility("protected"))); |
| 32 | extern char _Unwind_DeleteException __attribute((visibility("protected"))); |
| 33 | extern char _Unwind_VRS_Get __attribute((visibility("protected"))); |
| 34 | extern char _Unwind_VRS_Set __attribute((visibility("protected"))); |
| 35 | extern char __gnu_Unwind_Backtrace __attribute((visibility("protected"))); |
| 36 | extern char _Unwind_VRS_Pop __attribute((visibility("protected"))); |
| 37 | extern char __gnu_Unwind_Save_VFP_D __attribute((visibility("protected"))); |
| 38 | extern char __gnu_Unwind_Save_VFP __attribute((visibility("protected"))); |
| 39 | extern char __gnu_Unwind_Save_VFP_D_16_to_31 __attribute((visibility("protected"))); |
| 40 | extern char __gnu_Unwind_Save_WMMXD __attribute((visibility("protected"))); |
| 41 | extern char __gnu_Unwind_Save_WMMXC __attribute((visibility("protected"))); |
| 42 | extern char ___Unwind_RaiseException __attribute((visibility("protected"))); |
| 43 | extern char _Unwind_RaiseException __attribute((visibility("protected"))); |
| 44 | extern char ___Unwind_Resume __attribute((visibility("protected"))); |
| 45 | extern char _Unwind_Resume __attribute((visibility("protected"))); |
| 46 | extern char ___Unwind_Resume_or_Rethrow __attribute((visibility("protected"))); |
| 47 | extern char _Unwind_Resume_or_Rethrow __attribute((visibility("protected"))); |
| 48 | extern char ___Unwind_ForcedUnwind __attribute((visibility("protected"))); |
| 49 | extern char _Unwind_ForcedUnwind __attribute((visibility("protected"))); |
| 50 | extern char ___Unwind_Backtrace __attribute((visibility("protected"))); |
| 51 | extern char _Unwind_GetRegionStart __attribute((visibility("protected"))); |
| 52 | extern char _Unwind_GetLanguageSpecificData __attribute((visibility("protected"))); |
| 53 | extern char _Unwind_GetDataRelBase __attribute((visibility("protected"))); |
| 54 | extern char _Unwind_GetTextRelBase __attribute((visibility("protected"))); |
| 55 | |
| 56 | void* __bionic_libgcc_unwind_symbols[] = { |
| 57 | &_Unwind_Backtrace, |
| 58 | &__gnu_Unwind_Find_exidx, |
| 59 | &__gnu_Unwind_Restore_VFP_D, |
| 60 | &__gnu_Unwind_Restore_VFP, |
| 61 | &__gnu_Unwind_Restore_VFP_D_16_to_31, |
| 62 | &__gnu_Unwind_Restore_WMMXD, |
| 63 | &__gnu_Unwind_Restore_WMMXC, |
| 64 | &_Unwind_GetCFA, |
| 65 | &__gnu_Unwind_RaiseException, |
| 66 | &__gnu_Unwind_ForcedUnwind, |
| 67 | &__gnu_Unwind_Resume, |
| 68 | &__gnu_Unwind_Resume_or_Rethrow, |
| 69 | &_Unwind_Complete, |
| 70 | &_Unwind_DeleteException, |
| 71 | &_Unwind_VRS_Get, |
| 72 | &_Unwind_VRS_Set, |
| 73 | &__gnu_Unwind_Backtrace, |
| 74 | &_Unwind_VRS_Pop, |
| 75 | &__gnu_Unwind_Save_VFP_D, |
| 76 | &__gnu_Unwind_Save_VFP, |
| 77 | &__gnu_Unwind_Save_VFP_D_16_to_31, |
| 78 | &__gnu_Unwind_Save_WMMXD, |
| 79 | &__gnu_Unwind_Save_WMMXC, |
| 80 | &___Unwind_RaiseException, |
| 81 | &_Unwind_RaiseException, |
| 82 | &___Unwind_Resume, |
| 83 | &_Unwind_Resume, |
| 84 | &___Unwind_Resume_or_Rethrow, |
| 85 | &_Unwind_Resume_or_Rethrow, |
| 86 | &___Unwind_ForcedUnwind, |
| 87 | &_Unwind_ForcedUnwind, |
| 88 | &___Unwind_Backtrace, |
| 89 | &_Unwind_GetRegionStart, |
| 90 | &_Unwind_GetLanguageSpecificData, |
| 91 | &_Unwind_GetDataRelBase, |
| 92 | &_Unwind_GetTextRelBase, |
| 93 | }; |