mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01:00
adapt build of arm memcpy asm not to use .sub files
this depends on commit9f5eb77992
, which made it possible to use a .c file for arch-specific replacements, and on commit2f853dd6b9
, the out-of-tree build support, which made it so that src/*/$(ARCH)/* 'replacement' files get used even if they don't match the base name of a .c file in the parent directory.
This commit is contained in:
parent
9514e70c60
commit
cb1875eb4f
4 changed files with 7 additions and 2 deletions
3
src/string/arm/memcpy.c
Normal file
3
src/string/arm/memcpy.c
Normal file
|
@ -0,0 +1,3 @@
|
|||
#if __ARMEB__
|
||||
#include "../memcpy.c"
|
||||
#endif
|
|
@ -1,3 +1,5 @@
|
|||
#ifndef __ARMEB__
|
||||
|
||||
/*
|
||||
* Copyright (C) 2008 The Android Open Source Project
|
||||
* All rights reserved.
|
||||
|
@ -377,3 +379,5 @@ copy_last_3_and_return:
|
|||
add sp, sp, #28
|
||||
ldmfd sp!, {r0, r4, lr}
|
||||
bx lr
|
||||
|
||||
#endif
|
|
@ -1 +0,0 @@
|
|||
memcpy.s
|
|
@ -1 +0,0 @@
|
|||
../armel/memcpy.s
|
Loading…
Add table
Reference in a new issue