1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-04 11:00:45 -08:00

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

This commit is contained in:
Andrew Choi 2003-02-18 15:58:00 +00:00
parent 6c019d3b03
commit 7290a34444
2 changed files with 6 additions and 1 deletions

View 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

View 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);