]> git.eshelyaron.com Git - emacs.git/commitdiff
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
authorYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 11 Mar 2011 01:43:49 +0000 (10:43 +0900)
committerYAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Fri, 11 Mar 2011 01:43:49 +0000 (10:43 +0900)
src/ChangeLog
src/unexmacosx.c

index 12ea037ee91aea1d398129b46e8537da7ef16f82..1d974876c524c40704cba6f749b41a7af42cd95f 100644 (file)
@@ -1,3 +1,8 @@
+2011-03-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * unexmacosx.c (copy_data_segment): Also copy __got section.
+       (Bug#8223)
+
 2011-03-07  Chong Yidong  <cyd@stupidchicken.com>
 
        * Version 23.3 released.
index df4c0da4cb1ecccc05da67699a533510525c79c4..d6f170c912787fb31e45715dfa2426407100dfb7 100644 (file)
@@ -822,6 +822,7 @@ 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, "__got", 16) == 0
               || strncmp (sectp->sectname, "__la_sym_ptr2", 16) == 0
               || strncmp (sectp->sectname, "__dyld", 16) == 0
               || strncmp (sectp->sectname, "__const", 16) == 0