aboutsummaryrefslogtreecommitdiffstats
path: root/bl32/tsp/tsp.ld.S
diff options
context:
space:
mode:
authorDimitris Papastamos <dimitris.papastamos@arm.com>2018-07-11 11:13:36 +0100
committerGitHub <noreply@github.com>2018-07-11 11:13:36 +0100
commit9a93d8ccff0abe225bfabbed7970075640f90de4 (patch)
tree012ea8874fdad102385555faf820562347c402e8 /bl32/tsp/tsp.ld.S
parent89a793425b52c7f563eb07984fd79198471ce61c (diff)
parent4a98f0ef4c135ce7e1016a3c0fa3d75b6a54630b (diff)
downloadplatform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.tar.gz
platform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.tar.bz2
platform_external_arm-trusted-firmware-9a93d8ccff0abe225bfabbed7970075640f90de4.zip
Merge pull request #1460 from robertovargas-arm/clang
Make TF compatible with Clang assembler and linker
Diffstat (limited to 'bl32/tsp/tsp.ld.S')
-rw-r--r--bl32/tsp/tsp.ld.S8
1 files changed, 4 insertions, 4 deletions
diff --git a/bl32/tsp/tsp.ld.S b/bl32/tsp/tsp.ld.S
index 31c5a67e0..97b12ce19 100644
--- a/bl32/tsp/tsp.ld.S
+++ b/bl32/tsp/tsp.ld.S
@@ -29,14 +29,14 @@ SECTIONS
*tsp_entrypoint.o(.text*)
*(.text*)
*(.vectors)
- . = NEXT(PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__TEXT_END__ = .;
} >RAM
.rodata . : {
__RODATA_START__ = .;
*(.rodata*)
- . = NEXT(PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__RODATA_END__ = .;
} >RAM
#else
@@ -52,7 +52,7 @@ SECTIONS
* read-only, executable. No RW data from the next section must
* creep in. Ensure the rest of the current memory page is unused.
*/
- . = NEXT(PAGE_SIZE);
+ . = ALIGN(PAGE_SIZE);
__RO_END__ = .;
} >RAM
#endif
@@ -117,7 +117,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