1 #------------------------------------------------------------------------------
3 # Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>
4 # Copyright (c) 2014, ARM Ltd. All rights reserved.<BR>
6 # This program and the accompanying materials
7 # are licensed and made available under the terms and conditions of the BSD License
8 # which accompanies this distribution. The full text of the license may be found at
9 # http://opensource.org/licenses/bsd-license.php
11 # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14 #------------------------------------------------------------------------------
20 GCC_ASM_EXPORT (memset)
21 GCC_ASM_EXPORT (__aeabi_memset)
26 # IN VOID *Destination,
28 # IN UINT32 Character,
30 ASM_PFX(__aeabi_memset):
39 # IN VOID *Destination,
40 # IN UINT32 Character,
44 // This object may be pulled in to satisfy an undefined reference to
45 // __aeabi_memset above, but in some cases, memset() is already provided
46 // by another library (i.e., CryptoPkg/IntrinsicLib), in which case we
47 // prefer the other version. So allow this one to be overridden by
48 // giving it weak linkage.
54 @ args = 0, pretend = 0, frame = 0
55 @ frame_needed = 1, uses_anonymous_args = 0