blob: c1df46cfe45fdd42694d2315d2482a371c9f0f0d [file] [log] [blame]
# Copyright 2020 The Fuchsia Authors
#
# Use of this source code is governed by a MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT
# See //zircon/kernel/phys/BUILD.gn:kernel.phys.
phys_configs = [
# With the MMU and caches disabled, misaligned accesses always fault.
# Tell the compiler to emit only aligned accesses, assuming the code
# obeys the C++ alignment rules. The toolchain.tags string can be
# matched to exclude assembly code that does unaligned accesses.
"//zircon/kernel/arch/arm64/phys:strict-align",
# All phys executables should be small enough for the tiny code model.
"//build/config/zircon:tiny",
# Compile as a position-independent executable. The code will apply its own
# fixups during initialization.
"//build/config/zircon:static-pie-compile",
"//build/config/zircon:static-pie-link",
]
phys_tags = [
"strict-align",
"tiny",
"static-pie",
]
phys_exclude_variant_tags = []