changeset 63159:8bc48f52ea6b

unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section used by gcc4 on intel mac.
author Steven Tamm <steventamm@mac.com>
date Thu, 09 Jun 2005 03:37:20 +0000
parents 0c1cf4d7cbaf
children cc61f1c86438
files src/ChangeLog src/unexmacosx.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Thu Jun 09 03:15:05 2005 +0000
+++ b/src/ChangeLog	Thu Jun 09 03:37:20 2005 +0000
@@ -1,3 +1,8 @@
+2005-06-08  Steven Tamm  <steventamm@mac.com>
+
+	* unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section
+	used by gcc4 on intel mac.
+
 2005-06-09  Kim F. Storm  <storm@cua.dk>
 
 	* search.c (Fmatch_data): Add optional RESEAT arg.  Unchain markers
--- a/src/unexmacosx.c	Thu Jun 09 03:15:05 2005 +0000
+++ b/src/unexmacosx.c	Thu Jun 09 03:37:20 2005 +0000
@@ -695,6 +695,7 @@
 	}
       else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
 	       || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
+	       || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
 	       || strncmp (sectp->sectname, "__dyld", 16) == 0
 	       || strncmp (sectp->sectname, "__const", 16) == 0
 	       || strncmp (sectp->sectname, "__cfstring", 16) == 0)