[arm] force 4 byte alignment of data segments in the linkscript

This commit is contained in:
Brian Swetland
2009-01-01 10:59:04 -08:00
parent af7dab48bb
commit 5240291080

View File

@@ -49,7 +49,7 @@ SECTIONS
/* writable data */
__data_start_rom = .; /* in one segment binaries, the rom data address is on top of the ram data address */
__data_start = .;
.data : { *(.data .data.* .gnu.linkonce.d.*) }
.data : SUBALIGN(4) { *(.data .data.* .gnu.linkonce.d.*) }
__ctor_list = .;
.ctors : { *(.ctors) }