aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Choi2003-02-18 15:58:00 +0000
committerAndrew Choi2003-02-18 15:58:00 +0000
commit7290a34444a5b3ee76e5bd809d781abccbec92e5 (patch)
treec5cac87223d8ddf415e0f678deacbe1877a2b484
parent6c019d3b03fb91b7b0e77e26326cd6a9768dbca7 (diff)
downloademacs-7290a34444a5b3ee76e5bd809d781abccbec92e5.tar.gz
emacs-7290a34444a5b3ee76e5bd809d781abccbec92e5.zip
unexmacosx.c (copy_data_segment): Also copy __cfstring section.
-rw-r--r--src/ChangeLog4
-rw-r--r--src/unexmacosx.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 57eadf57f34..bb3759281b2 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,7 @@
12003-02-18 Andrew Choi <akochoi@shaw.ca>
2
3 * unexmacosx.c (copy_data_segment): Also copy __cfstring section.
4
12003-02-18 Andreas Schwab <schwab@suse.de> 52003-02-18 Andreas Schwab <schwab@suse.de>
2 6
3 * window.c (window_scroll_pixel_based): Move outside a 7 * window.c (window_scroll_pixel_based): Move outside a
diff --git a/src/unexmacosx.c b/src/unexmacosx.c
index 4f1c29b1ef8..ac87f9e6c63 100644
--- a/src/unexmacosx.c
+++ b/src/unexmacosx.c
@@ -638,7 +638,8 @@ copy_data_segment (struct load_command *lc)
638 else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 638 else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
639 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 639 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
640 || strncmp (sectp->sectname, "__dyld", 16) == 0 640 || strncmp (sectp->sectname, "__dyld", 16) == 0
641 || strncmp (sectp->sectname, "__const", 16) == 0) 641 || strncmp (sectp->sectname, "__const", 16) == 0
642 || strncmp (sectp->sectname, "__cfstring", 16) == 0)
642 { 643 {
643 if (!unexec_copy (sectp->offset, old_file_offset, sectp->size)) 644 if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
644 unexec_error ("cannot copy section %s", sectp->sectname); 645 unexec_error ("cannot copy section %s", sectp->sectname);