]> git.eshelyaron.com Git - emacs.git/commitdiff
unexmacosx.c (copy_data_segment): Also copy __cfstring section.
authorAndrew Choi <akochoi@shaw.ca>
Tue, 18 Feb 2003 15:58:00 +0000 (15:58 +0000)
committerAndrew Choi <akochoi@shaw.ca>
Tue, 18 Feb 2003 15:58:00 +0000 (15:58 +0000)
src/ChangeLog
src/unexmacosx.c

index 57eadf57f3491efda9a37f1265e9f2182ff43cea..bb3759281b21f5c6a2fde4148bda92ca49ba6364 100644 (file)
@@ -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
index 4f1c29b1ef8888c54514f0b787d4bb6a7f70c044..ac87f9e6c63cb98aa63bd91887246f746af4f900 100644 (file)
@@ -638,7 +638,8 @@ copy_data_segment (struct load_command *lc)
       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);