projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix all linker script to handle all rodata sections
[oweals/u-boot.git]
/
board
/
mpl
/
vcma9
/
u-boot.lds
diff --git
a/board/mpl/vcma9/u-boot.lds
b/board/mpl/vcma9/u-boot.lds
index 76df6b2af1d39ec458525b35ebc7e8d83ef3ebf8..33363c26e4a2663154ddbb81de130b6f34509db3 100644
(file)
--- a/
board/mpl/vcma9/u-boot.lds
+++ b/
board/mpl/vcma9/u-boot.lds
@@
-37,7
+37,7
@@
SECTIONS
}
. = ALIGN(4);
}
. = ALIGN(4);
- .rodata : { *(
.rodata
) }
+ .rodata : { *(
SORT_BY_ALIGNMENT(SORT_BY_NAME(.rodata*))
) }
. = ALIGN(4);
.data : { *(.data) }
. = ALIGN(4);
.data : { *(.data) }
@@
-45,12
+45,13
@@
SECTIONS
. = ALIGN(4);
.got : { *(.got) }
. = ALIGN(4);
.got : { *(.got) }
+ . = .;
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
__bss_start = .;
__u_boot_cmd_start = .;
.u_boot_cmd : { *(.u_boot_cmd) }
__u_boot_cmd_end = .;
. = ALIGN(4);
__bss_start = .;
- .bss
: { *(.bss)
}
+ .bss
(NOLOAD) : { *(.bss) . = ALIGN(4);
}
_end = .;
}
_end = .;
}