aboutsummaryrefslogtreecommitdiffstats
path: root/plat/mediatek/mt6795/bl31.ld.S
diff options
context:
space:
mode:
Diffstat (limited to 'plat/mediatek/mt6795/bl31.ld.S')
-rw-r--r--plat/mediatek/mt6795/bl31.ld.S11
1 files changed, 1 insertions, 10 deletions
diff --git a/plat/mediatek/mt6795/bl31.ld.S b/plat/mediatek/mt6795/bl31.ld.S
index 91ca87cb6..3d881fc43 100644
--- a/plat/mediatek/mt6795/bl31.ld.S
+++ b/plat/mediatek/mt6795/bl31.ld.S
@@ -59,16 +59,7 @@ SECTIONS
*/
__RW_START__ = . ;
- /*
- * .data must be placed at a lower address than the stacks if the stack
- * protector is enabled. Alternatively, the .data.stack_protector_canary
- * section can be placed independently of the main .data section.
- */
- .data . : {
- __DATA_START__ = .;
- *(.data*)
- __DATA_END__ = .;
- } >RAM
+ DATA_SECTION >RAM
#ifdef BL31_PROGBITS_LIMIT
ASSERT(. <= BL31_PROGBITS_LIMIT, "BL3-1 progbits has exceeded its limit.")