summaryrefslogtreecommitdiff
path: root/bl1
diff options
context:
space:
mode:
authorRoberto Vargas <roberto.vargas@arm.com>2018-04-11 11:53:31 +0100
committerRoberto Vargas <roberto.vargas@arm.com>2018-07-11 09:21:02 +0100
commit5629b2b11ccbb422847cae776d5faf9bdc5cb5dd (patch)
tree2d81208c8c13f6cba6eb25459c4bf09c74cb95f6 /bl1
parent00b7db30383276e3502d8b52a909c61698f31d6d (diff)
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 'bl1')
-rw-r--r--bl1/bl1.ld.S4
1 files changed, 2 insertions, 2 deletions
diff --git a/bl1/bl1.ld.S b/bl1/bl1.ld.S
index 26c0ae4b..484787d0 100644
--- a/bl1/bl1.ld.S
+++ b/bl1/bl1.ld.S
@@ -28,7 +28,7 @@ SECTIONS
*bl1_entrypoint.o(.text*)
*(.text*)
*(.vectors)
- . = NEXT(PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__TEXT_END__ = .;
} >ROM
@@ -152,7 +152,7 @@ SECTIONS
* as device memory. No other unexpected data must creep in.
* Ensure the rest of the current memory page is unused.
*/
- . = NEXT(PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__COHERENT_RAM_END__ = .;
} >RAM
#endif