From dd2f424ba7327b4d25028fb80be564c6050ea888 Mon Sep 17 00:00:00 2001 From: Ulrich Müller Date: Sat, 3 Dec 2011 14:17:43 +0000 Subject: Fix dumping on OS X, bug 388817. --- emacs/23.3/06_all_unexmacos.patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 emacs/23.3/06_all_unexmacos.patch diff --git a/emacs/23.3/06_all_unexmacos.patch b/emacs/23.3/06_all_unexmacos.patch new file mode 100644 index 0000000..248efd4 --- /dev/null +++ b/emacs/23.3/06_all_unexmacos.patch @@ -0,0 +1,15 @@ +https://bugs.gentoo.org/388817 +http://debbugs.gnu.org/8223 +patch from upstream, revision 100514 in emacs-23 branch +* src/unexmacosx.c (copy_data_segment): Also copy __got section. (Bug#8223) + +--- emacs-23/src/unexmacosx.c ++++ emacs-23/src/unexmacosx.c +@@ -822,6 +822,7 @@ + } + 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 -- cgit v1.2.3-65-gdbad