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 : {