summaryrefslogtreecommitdiff
path: root/debian/patches/dyson-unexec.patch
blob: e199e2e58e0cff9d9306a07886092b9ca30cf4c1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Description: use generic ELF unexec
 unexsol causes bootstrap-emacs crash (actually ld.so itself).
 It is probably because we use GNU ld and Sun ld.so.
Index: emacs25-25.1+1/configure.ac
===================================================================
--- emacs25-25.1+1.orig/configure.ac
+++ emacs25-25.1+1/configure.ac
@@ -1324,20 +1324,6 @@ case "$opsys" in
   mingw32)
    UNEXEC_OBJ=unexw32.o
    ;;
-  sol2-10)
-   # Use the Solaris dldump() function, called from unexsol.c, to dump
-   # emacs, instead of the generic ELF dump code found in unexelf.c.
-   # The resulting binary has a complete symbol table, and is better
-   # for debugging and other observability tools (debuggers, pstack, etc).
-   #
-   # If you encounter a problem using dldump(), please consider sending
-   # a message to the OpenSolaris tools-linking mailing list:
-   #      http://mail.opensolaris.org/mailman/listinfo/tools-linking
-   #
-   # It is likely that dldump() works with older Solaris too, but this has
-   # not been tested, so for now this change is for Solaris 10 or newer.
-   UNEXEC_OBJ=unexsol.o
-   ;;
 esac
 
 LD_SWITCH_SYSTEM=