diff options
| author | John Wiegley | 2012-06-26 22:52:02 -0500 |
|---|---|---|
| committer | John Wiegley | 2012-06-26 22:52:02 -0500 |
| commit | 157e99e4284e376777fd22734b3c78c191cf313b (patch) | |
| tree | 1dd25116b230a7ec468b01fb230a22602e6f55cf | |
| parent | ed6b35106553c615b210a12b51a7ebb57aaa82e4 (diff) | |
| download | emacs-157e99e4284e376777fd22734b3c78c191cf313b.tar.gz emacs-157e99e4284e376777fd22734b3c78c191cf313b.zip | |
unexmacosx.c (copy_data_segment): Added two section names used on Mac
OS X Lion: __mod_init_func and __mod_term_func.
| -rw-r--r-- | src/ChangeLog | 8 | ||||
| -rw-r--r-- | src/unexmacosx.c | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d0e226db5dd..bef3bbd4c83 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2012-06-26 John Wiegley <johnw@newartisans.com> | 1 | 2012-06-26 John Wiegley <johnw@newartisans.com> |
| 2 | 2 | ||
| 3 | * unexmacosx.c (copy_data_segment): Added two section names used | ||
| 4 | on Mac OS X Lion: __mod_init_func and __mod_term_func. | ||
| 5 | |||
| 3 | * alloc.c (mark_memory): Do not check with -faddress-sanitizer | 6 | * alloc.c (mark_memory): Do not check with -faddress-sanitizer |
| 4 | when building with Clang. | 7 | when building with Clang. |
| 5 | 8 | ||
| @@ -168,6 +171,11 @@ | |||
| 168 | when time_t is unsigned and as wide as intmax_t. | 171 | when time_t is unsigned and as wide as intmax_t. |
| 169 | See <http://bugs.gnu.org/9000#51>. | 172 | See <http://bugs.gnu.org/9000#51>. |
| 170 | 173 | ||
| 174 | 2012-06-26 Andreas Schwab <schwab@linux-m68k.org> | ||
| 175 | |||
| 176 | * gnutls.c (emacs_gnutls_handshake): Only retry if | ||
| 177 | GNUTLS_E_INTERRUPTED. | ||
| 178 | |||
| 171 | 2012-06-23 Eli Zaretskii <eliz@gnu.org> | 179 | 2012-06-23 Eli Zaretskii <eliz@gnu.org> |
| 172 | 180 | ||
| 173 | * dispnew.c (sit_for, Fsleep_for): | 181 | * dispnew.c (sit_for, Fsleep_for): |
diff --git a/src/unexmacosx.c b/src/unexmacosx.c index 47efe41fdd9..423853c8139 100644 --- a/src/unexmacosx.c +++ b/src/unexmacosx.c | |||
| @@ -846,6 +846,8 @@ copy_data_segment (struct load_command *lc) | |||
| 846 | || strncmp (sectp->sectname, "__cfstring", 16) == 0 | 846 | || strncmp (sectp->sectname, "__cfstring", 16) == 0 |
| 847 | || strncmp (sectp->sectname, "__gcc_except_tab", 16) == 0 | 847 | || strncmp (sectp->sectname, "__gcc_except_tab", 16) == 0 |
| 848 | || strncmp (sectp->sectname, "__program_vars", 16) == 0 | 848 | || strncmp (sectp->sectname, "__program_vars", 16) == 0 |
| 849 | || strncmp (sectp->sectname, "__mod_init_func", 16) == 0 | ||
| 850 | || strncmp (sectp->sectname, "__mod_term_func", 16) == 0 | ||
| 849 | || strncmp (sectp->sectname, "__objc_", 7) == 0) | 851 | || strncmp (sectp->sectname, "__objc_", 7) == 0) |
| 850 | { | 852 | { |
| 851 | if (!unexec_copy (sectp->offset, old_file_offset, sectp->size)) | 853 | if (!unexec_copy (sectp->offset, old_file_offset, sectp->size)) |