diff options
| author | Yann Gautier <yann.gautier@st.com> | 2026-05-28 16:34:23 +0200 |
|---|---|---|
| committer | Yann Gautier <yann.gautier@st.com> | 2026-06-22 19:32:17 +0200 |
| commit | d313bf716639fb91e613840ce7d15c7ccadf4557 (patch) | |
| tree | b3bb0fd94eb23fc68b572c2d7e2236655213ca1c /include | |
| parent | cf5df44656ec2c2c3ddb9fcdbb571979f0c9e778 (diff) | |
| download | arm-trusted-firmware-d313bf716639fb91e613840ce7d15c7ccadf4557.tar.gz arm-trusted-firmware-d313bf716639fb91e613840ce7d15c7ccadf4557.zip | |
fix(bl): use #ifdef for __aarch64__ flags
The __aarch64__ is only defined, without a value, it should be checked
with #ifdef.
This corrects -Wundef GCC warning.
Change-Id: I5eaced1ed72b0c45388cc4c0a896936a66fffd2c
Signed-off-by: Yann Gautier <yann.gautier@st.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/common/bl_common.ld.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/common/bl_common.ld.h b/include/common/bl_common.ld.h index 57e7524d0..2273bc54b 100644 --- a/include/common/bl_common.ld.h +++ b/include/common/bl_common.ld.h @@ -1,5 +1,5 @@ /* - * Copyright (c) 2020-2025, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2020-2026, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -128,7 +128,7 @@ * .rela.dyn needs to come after .data for the read-elf utility to parse * this section correctly. */ -#if __aarch64__ +#ifdef __aarch64__ #define RELA_DYN_NAME .rela.dyn #define RELOC_SECTIONS_PATTERN *(.rela*) #else |
