From f715cd0792f02d11eaba31ff2510135ce79170a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20Fr=C3=B6schle?= Date: Sun, 8 Dec 2013 07:02:18 +0000 Subject: [PATCH] fix alignment of .bas segment to ensure failsafe copy --- bas.lk.in | 1 + 1 file changed, 1 insertion(+) diff --git a/bas.lk.in b/bas.lk.in index 534ec24..2933991 100644 --- a/bas.lk.in +++ b/bas.lk.in @@ -98,6 +98,7 @@ SECTIONS */ AT (ALIGN(ADDR(.text) + SIZEOF(.text), 4)) { + . = ALIGN(4); /* same alignment than AT() statement! */ __BAS_DATA_START = .; *(.data) __BAS_DATA_END = .;