diff options
author | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2011-03-11 10:43:49 +0900 |
---|---|---|
committer | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | 2011-03-11 10:43:49 +0900 |
commit | c47cbdfd2e29e350b3b7736cc1a66fcae8a99830 (patch) | |
tree | bdc4b399c098e907176b8f8d4f48f73c148e9e56 /src/unexmacosx.c | |
parent | 1df1040bf8549ea4c3ae08007a347736adf2fe99 (diff) | |
download | emacs-c47cbdfd2e29e350b3b7736cc1a66fcae8a99830.tar.gz |
* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223)
Diffstat (limited to 'src/unexmacosx.c')
-rw-r--r-- | src/unexmacosx.c | 1 |
1 files changed, 1 insertions, 0 deletions
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) } 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 |