Commit 7290a344 authored by Andrew Choi's avatar Andrew Choi
Browse files

unexmacosx.c (copy_data_segment): Also copy __cfstring section.

parent 6c019d3b
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> 2003-02-18 Andreas Schwab <schwab@suse.de>
* window.c (window_scroll_pixel_based): Move outside a * window.c (window_scroll_pixel_based): Move outside a
......
...@@ -638,7 +638,8 @@ copy_data_segment (struct load_command *lc) ...@@ -638,7 +638,8 @@ copy_data_segment (struct load_command *lc)
else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
|| strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
|| strncmp (sectp->sectname, "__dyld", 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)) if (!unexec_copy (sectp->offset, old_file_offset, sectp->size))
unexec_error ("cannot copy section %s", sectp->sectname); unexec_error ("cannot copy section %s", sectp->sectname);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment