blob: 2465c0b3bb8ea480be41c3db696916d87fd59b38 [file] [log] [blame]
// Copyright 2017 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#include "asm.h"
// The memset implementation is verbatim from cortex-strings.
// But we also need to define aliases for the sanitizer runtime.
#include "third_party/lib/cortex-strings/src/aarch64/memset.S"
ALIAS(memset, __unsanitized_memset)
ASAN_WEAK_ALIAS(memset)
// This name is called from inside libc to avoid going through the PLT.
.hidden __libc_memset
ALIAS(memset, __libc_memset)