changeset 49854:10764ce8e077

unexmacosx.c (copy_data_segment): Also copy __cfstring section.
author Andrew Choi <akochoi@shaw.ca>
date Tue, 18 Feb 2003 15:58:00 +0000
parents 5878a10628e3
children 07648d747d7d
files src/ChangeLog src/unexmacosx.c
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Tue Feb 18 15:48:21 2003 +0000
+++ b/src/ChangeLog	Tue Feb 18 15:58:00 2003 +0000
@@ -1,3 +1,7 @@
+2003-02-18  Andrew Choi  <akochoi@shaw.ca>
+
+	* unexmacosx.c (copy_data_segment): Also copy __cfstring section.
+
 2003-02-18  Andreas Schwab  <schwab@suse.de>
 
 	* window.c (window_scroll_pixel_based): Move outside a
--- a/src/unexmacosx.c	Tue Feb 18 15:48:21 2003 +0000
+++ b/src/unexmacosx.c	Tue Feb 18 15:58:00 2003 +0000
@@ -638,7 +638,8 @@
       else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
 	       || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
 	       || strncmp (sectp->sectname, "__dyld", 16) == 0
-	       || strncmp (sectp->sectname, "__const", 16) == 0)
+	       || strncmp (sectp->sectname, "__const", 16) == 0
+	       || strncmp (sectp->sectname, "__cfstring", 16) == 0)
 	{
 	  if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
 	    unexec_error ("cannot copy section %s", sectp->sectname);