svn commit: r248122 - head/sys/conf

Andrew Turner andrew at FreeBSD.org
Sun Mar 10 00:47:20 UTC 2013


Author: andrew
Date: Sun Mar 10 00:47:19 2013
New Revision: 248122
URL: http://svnweb.freebsd.org/changeset/base/248122

Log:
  Correctly align the unwind tables. Without this clang may incorrectly align
  them causing an alignment fault when producing a backtrace.

Modified:
  head/sys/conf/ldscript.arm

Modified: head/sys/conf/ldscript.arm
==============================================================================
--- head/sys/conf/ldscript.arm	Sun Mar 10 00:43:01 2013	(r248121)
+++ head/sys/conf/ldscript.arm	Sun Mar 10 00:47:19 2013	(r248122)
@@ -56,6 +56,7 @@ SECTIONS
   .init          : { *(.init)	} =0x9090
   .plt      : { *(.plt)	}
 
+  . = ALIGN(4);
   _extab_start = .;
   PROVIDE(extab_start = .);
   .ARM.extab : { *(.ARM.extab) }


More information about the svn-src-all mailing list