aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYAMAMOTO Mitsuharu2011-03-11 10:43:49 +0900
committerYAMAMOTO Mitsuharu2011-03-11 10:43:49 +0900
commitc47cbdfd2e29e350b3b7736cc1a66fcae8a99830 (patch)
treebdc4b399c098e907176b8f8d4f48f73c148e9e56
parent1df1040bf8549ea4c3ae08007a347736adf2fe99 (diff)
downloademacs-c47cbdfd2e29e350b3b7736cc1a66fcae8a99830.tar.gz
emacs-c47cbdfd2e29e350b3b7736cc1a66fcae8a99830.zip
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
-rw-r--r--src/ChangeLog5
-rw-r--r--src/unexmacosx.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 12ea037ee91..1d974876c52 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12011-03-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
2
3 * unexmacosx.c (copy_data_segment): Also copy __got section.
4 (Bug#8223)
5
12011-03-07 Chong Yidong <cyd@stupidchicken.com> 62011-03-07 Chong Yidong <cyd@stupidchicken.com>
2 7
3 * Version 23.3 released. 8 * Version 23.3 released.
diff --git a/src/unexmacosx.c b/src/unexmacosx.c
index df4c0da4cb1..d6f170c9127 100644
--- a/src/unexmacosx.c
+++ b/src/unexmacosx.c
@@ -822,6 +822,7 @@ copy_data_segment (struct load_command *lc)
822 } 822 }
823 else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0 823 else if (strncmp (sectp->sectname, "__la_symbol_ptr", 16) == 0
824 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0 824 || strncmp (sectp->sectname, "__nl_symbol_ptr", 16) == 0
825 || strncmp (sectp->sectname, "__got", 16) == 0
825 || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0 826 || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
826 || strncmp (sectp->sectname, "__dyld", 16) == 0 827 || strncmp (sectp->sectname, "__dyld", 16) == 0
827 || strncmp (sectp->sectname, "__const", 16) == 0 828 || strncmp (sectp->sectname, "__const", 16) == 0