emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] pdumper 5232a17: Use valid Mach-O section names


From: Daniel Colascione
Subject: [Emacs-diffs] pdumper 5232a17: Use valid Mach-O section names
Date: Wed, 14 Feb 2018 19:49:38 -0500 (EST)

branch: pdumper
commit 5232a17c365f871a84603caba81712415a260042
Author: Daniel Colascione <address@hidden>
Commit: Daniel Colascione <address@hidden>

    Use valid Mach-O section names
---
 src/lisp.h | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/lisp.h b/src/lisp.h
index 6195f64..6d4635f 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -3147,7 +3147,11 @@ CHECK_NUMBER_CDR (Lisp_Object x)
    the portable dumper, try to bunch all the subr structures together
    for more efficient dump loading.  */
 #ifdef CANNOT_DUMP
-# define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs")
+# ifdef DARWIN_OS
+#  define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION ("__DATA,subrs")
+# else
+#  define SUBR_SECTION_ATTRIBUTE ATTRIBUTE_SECTION (".subrs")
+# endif
 #else
 # define SUBR_SECTION_ATTRIBUTE
 #endif



reply via email to

[Prev in Thread] Current Thread [Next in Thread]