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) }
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to