summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
authorandrew <andrew@FreeBSD.org>2013-03-10 00:47:19 +0000
committerandrew <andrew@FreeBSD.org>2013-03-10 00:47:19 +0000
commit9ee11b8da5e2b1d8e698df036bcbcca4b91698b8 (patch)
treefe587b1d507bb4f3098c1c6fa6db03e1b4982c93 /sys/conf
parent84fe418fcb138d0ad2fe6b181a17c4eee59e2a0e (diff)
downloadFreeBSD-src-9ee11b8da5e2b1d8e698df036bcbcca4b91698b8.zip
FreeBSD-src-9ee11b8da5e2b1d8e698df036bcbcca4b91698b8.tar.gz
Correctly align the unwind tables. Without this clang may incorrectly align
them causing an alignment fault when producing a backtrace.
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/ldscript.arm1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/conf/ldscript.arm b/sys/conf/ldscript.arm
index d681c87..0d1c7ee 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) }
OpenPOWER on IntegriCloud