@@ -142,14 +142,14 @@ pub unsafe fn __aeabi_ldivmod() {
142
142
143
143
#[ cfg( not( target_os = "ios" ) ) ]
144
144
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
145
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
145
+ #[ linkage = "weak" ]
146
146
pub unsafe extern "aapcs" fn __aeabi_memcpy ( dest : * mut u8 , src : * const u8 , n : usize ) {
147
147
:: mem:: memcpy ( dest, src, n) ;
148
148
}
149
149
150
150
#[ cfg( not( target_os = "ios" ) ) ]
151
151
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
152
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
152
+ #[ linkage = "weak" ]
153
153
pub unsafe extern "aapcs" fn __aeabi_memcpy4 ( dest : * mut u8 , src : * const u8 , mut n : usize ) {
154
154
// We are guaranteed 4-alignment, so accessing at u32 is okay.
155
155
let mut dest = dest as * mut u32 ;
@@ -167,43 +167,43 @@ pub unsafe extern "aapcs" fn __aeabi_memcpy4(dest: *mut u8, src: *const u8, mut
167
167
168
168
#[ cfg( not( target_os = "ios" ) ) ]
169
169
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
170
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
170
+ #[ linkage = "weak" ]
171
171
pub unsafe extern "aapcs" fn __aeabi_memcpy8 ( dest : * mut u8 , src : * const u8 , n : usize ) {
172
172
__aeabi_memcpy4 ( dest, src, n) ;
173
173
}
174
174
175
175
#[ cfg( not( target_os = "ios" ) ) ]
176
176
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
177
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
177
+ #[ linkage = "weak" ]
178
178
pub unsafe extern "aapcs" fn __aeabi_memmove ( dest : * mut u8 , src : * const u8 , n : usize ) {
179
179
:: mem:: memmove ( dest, src, n) ;
180
180
}
181
181
182
182
#[ cfg( not( any( target_os = "ios" , target_env = "msvc" ) ) ) ]
183
183
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
184
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
184
+ #[ linkage = "weak" ]
185
185
pub unsafe extern "aapcs" fn __aeabi_memmove4 ( dest : * mut u8 , src : * const u8 , n : usize ) {
186
186
__aeabi_memmove ( dest, src, n) ;
187
187
}
188
188
189
189
#[ cfg( not( any( target_os = "ios" , target_env = "msvc" ) ) ) ]
190
190
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
191
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
191
+ #[ linkage = "weak" ]
192
192
pub unsafe extern "aapcs" fn __aeabi_memmove8 ( dest : * mut u8 , src : * const u8 , n : usize ) {
193
193
__aeabi_memmove ( dest, src, n) ;
194
194
}
195
195
196
196
#[ cfg( not( target_os = "ios" ) ) ]
197
197
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
198
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
198
+ #[ linkage = "weak" ]
199
199
pub unsafe extern "aapcs" fn __aeabi_memset ( dest : * mut u8 , n : usize , c : i32 ) {
200
200
// Note the different argument order
201
201
:: mem:: memset ( dest, c, n) ;
202
202
}
203
203
204
204
#[ cfg( not( target_os = "ios" ) ) ]
205
205
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
206
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
206
+ #[ linkage = "weak" ]
207
207
pub unsafe extern "aapcs" fn __aeabi_memset4 ( dest : * mut u8 , mut n : usize , c : i32 ) {
208
208
let mut dest = dest as * mut u32 ;
209
209
@@ -221,28 +221,28 @@ pub unsafe extern "aapcs" fn __aeabi_memset4(dest: *mut u8, mut n: usize, c: i32
221
221
222
222
#[ cfg( not( target_os = "ios" ) ) ]
223
223
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
224
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
224
+ #[ linkage = "weak" ]
225
225
pub unsafe extern "aapcs" fn __aeabi_memset8 ( dest : * mut u8 , n : usize , c : i32 ) {
226
226
__aeabi_memset4 ( dest, n, c) ;
227
227
}
228
228
229
229
#[ cfg( not( target_os = "ios" ) ) ]
230
230
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
231
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
231
+ #[ linkage = "weak" ]
232
232
pub unsafe extern "aapcs" fn __aeabi_memclr ( dest : * mut u8 , n : usize ) {
233
233
__aeabi_memset ( dest, n, 0 ) ;
234
234
}
235
235
236
236
#[ cfg( not( any( target_os = "ios" , target_env = "msvc" ) ) ) ]
237
237
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
238
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
238
+ #[ linkage = "weak" ]
239
239
pub unsafe extern "aapcs" fn __aeabi_memclr4 ( dest : * mut u8 , n : usize ) {
240
240
__aeabi_memset4 ( dest, n, 0 ) ;
241
241
}
242
242
243
243
#[ cfg( not( any( target_os = "ios" , target_env = "msvc" ) ) ) ]
244
244
#[ cfg_attr( not( feature = "mangled-names" ) , no_mangle) ]
245
- #[ cfg_attr ( thumb , linkage = "weak" ) ]
245
+ #[ linkage = "weak" ]
246
246
pub unsafe extern "aapcs" fn __aeabi_memclr8 ( dest : * mut u8 , n : usize ) {
247
247
__aeabi_memset4 ( dest, n, 0 ) ;
248
248
}
0 commit comments