File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -97,21 +97,15 @@ DEFINE_LIBUNWIND_FUNCTION("#__unw_getcontext")
9797 mov x0, #0 // return UNW_ESUCCESS
9898 ret
9999
100- .globl "#unw_getcontext"
101- .set "#unw_getcontext" , "#__unw_getcontext"
102100 .weak_anti_dep __unw_getcontext
103101 .set __unw_getcontext, "#__unw_getcontext"
104- .weak_anti_dep unw_getcontext
105- .set unw_getcontext, "#unw_getcontext"
106102
107103 .section .hybmp$x,"yi"
108104 .symidx "#__unw_getcontext"
109105 .symidx $ientry_thunk$cdecl$i8$i8
110106 .word 1
111107 .text
112108
113- EXPORT_SYMBOL(unw_getcontext)
114-
115109#elif defined(__x86_64__)
116110
117111#
@@ -1228,7 +1222,13 @@ DEFINE_LIBUNWIND_FUNCTION(__unw_getcontext)
12281222
12291223#endif
12301224
1231- #ifndef __arm64ec__
1225+ #ifdef __arm64ec__
1226+ .globl "#unw_getcontext"
1227+ .set "#unw_getcontext" , "#__unw_getcontext"
1228+ .weak_anti_dep unw_getcontext
1229+ .set unw_getcontext, "#unw_getcontext"
1230+ EXPORT_SYMBOL(unw_getcontext)
1231+ #else
12321232 WEAK_ALIAS(__unw_getcontext, unw_getcontext)
12331233#endif
12341234
You can’t perform that action at this time.
0 commit comments