align before sections

This commit is contained in:
Dave Murphy 2017-07-14 23:39:04 +01:00
parent 771c404dbc
commit 759b6bb8a1

View File

@ -40,7 +40,9 @@ SECTIONS
/* =========== RODATA section =========== */
.rodata ALIGN(0x1000) :
. = ALIGN(0x1000);
.rodata :
{
*(.rodata)
*(.roda)
@ -58,7 +60,9 @@ SECTIONS
/* =========== DATA section =========== */
.data ALIGN(0x1000) :
. = ALIGN(0x1000);
.data :
{
*(.data)
*(.data.*)