blackfin: vmlinux.lds.S: reserve 32 bytes space at the end of data section for XIP...
authorSteven Miao <realmz6@gmail.com>
Wed, 23 Jul 2014 09:28:25 +0000 (17:28 +0800)
committerSteven Miao <realmz6@gmail.com>
Sat, 26 Jul 2014 00:32:50 +0000 (08:32 +0800)
to collect some undefined section to the end of the data section and avoid section overlap

Signed-off-by: Steven Miao <realmz6@gmail.com>
arch/blackfin/kernel/vmlinux.lds.S

index ba35864b2b74b50e3ad32527419a83ef6abb9629..c9eec84aa258628d1c9d70fc545420dde30c8bc1 100644 (file)
@@ -145,7 +145,7 @@ SECTIONS
 
        .text_l1 L1_CODE_START : AT(LOADADDR(.exit.data) + SIZEOF(.exit.data))
 #else
-       .init.data : AT(__data_lma + __data_len)
+       .init.data : AT(__data_lma + __data_len + 32)
        {
                __sinitdata = .;
                INIT_DATA