diff options
author | Roberto Vargas <roberto.vargas@arm.com> | 2018-04-11 11:53:31 +0100 |
---|---|---|
committer | Roberto Vargas <roberto.vargas@arm.com> | 2018-07-11 09:21:02 +0100 |
commit | 5629b2b11ccbb422847cae776d5faf9bdc5cb5dd (patch) | |
tree | 2d81208c8c13f6cba6eb25459c4bf09c74cb95f6 /include | |
parent | 00b7db30383276e3502d8b52a909c61698f31d6d (diff) | |
download | platform_external_arm-trusted-firmware-5629b2b11ccbb422847cae776d5faf9bdc5cb5dd.tar.gz platform_external_arm-trusted-firmware-5629b2b11ccbb422847cae776d5faf9bdc5cb5dd.tar.bz2 platform_external_arm-trusted-firmware-5629b2b11ccbb422847cae776d5faf9bdc5cb5dd.zip |
Use ALIGN instead of NEXT in linker scripts
Clang linker doesn't support NEXT. As we are not using the MEMORY command
to define discontinuous memory for the output file in any of the linker
scripts, ALIGN and NEXT are equivalent.
Change-Id: I867ffb9c9a76d4e81c9ca7998280b2edf10efea0
Signed-off-by: Roberto Vargas <roberto.vargas@arm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/plat/arm/common/arm_common.ld.S | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/plat/arm/common/arm_common.ld.S b/include/plat/arm/common/arm_common.ld.S index 6edfa099d..3f6e29b0a 100644 --- a/include/plat/arm/common/arm_common.ld.S +++ b/include/plat/arm/common/arm_common.ld.S @@ -1,5 +1,5 @@ /* - * Copyright (c) 2017, ARM Limited and Contributors. All rights reserved. + * Copyright (c) 2017-2018, ARM Limited and Contributors. All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @@ -22,7 +22,7 @@ SECTIONS *(arm_el3_tzc_dram) __EL3_SEC_DRAM_UNALIGNED_END__ = .; - . = NEXT(PAGE_SIZE); + . = ALIGN(PAGE_SIZE); __EL3_SEC_DRAM_END__ = .; } >EL3_SEC_DRAM } |