From 67727fbfceb0eb6d48c14919a702064b507a7cdf Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Sun, 10 Mar 2013 00:47:19 +0000 Subject: [PATCH] Correctly align the unwind tables. Without this clang may incorrectly align them causing an alignment fault when producing a backtrace. --- sys/conf/ldscript.arm | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm index d681c874e72..0d1c7ee4fbe 100644 --- a/sys/conf/ldscript.arm +++ b/sys/conf/ldscript.arm @@ -56,6 +56,7 @@ SECTIONS .init : { *(.init) } =0x9090 .plt : { *(.plt) } + . = ALIGN(4); _extab_start = .; PROVIDE(extab_start = .); .ARM.extab : { *(.ARM.extab) }