From 36ae7c129dd27b3695a1b5b3282b48ea210bcd5f Mon Sep 17 00:00:00 2001 From: James Goppert Date: Sun, 20 Sep 2015 01:10:52 -0400 Subject: [PATCH] Fixed alignment issue. --- nuttx-configs/px4io-v2/scripts/ld.script | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nuttx-configs/px4io-v2/scripts/ld.script b/nuttx-configs/px4io-v2/scripts/ld.script index 2ff29bdab7..6cc77e9623 100755 --- a/nuttx-configs/px4io-v2/scripts/ld.script +++ b/nuttx-configs/px4io-v2/scripts/ld.script @@ -72,7 +72,6 @@ SECTIONS *(.gcc_except_table) *(.gnu.linkonce.r.*) _etext = ABSOLUTE(.); - /* * This is a hack to make the newlib libm __errno() call * use the NuttX get_errno_ptr() function. @@ -109,6 +108,7 @@ SECTIONS *(.gnu.linkonce.d.*) CONSTRUCTORS _edata = ABSOLUTE(.); + . = ALIGN(4); } > sram AT > flash .bss : {