components/emacs/patches/dldump.patch
author Gabriel Carrillo <Gabriel.Carrillo@Oracle.COM>
Tue, 22 May 2012 12:58:14 -0700
branchs11-sru
changeset 2282 023bffdeb9c6
parent 176 11a04b640bf2
child 686 b4fe91eb660b
permissions -rw-r--r--
Added tag S11SRU8_03 for changeset cd851521842f

*** emacs-23.1/src/s/sol2-6.h.orig	Wed Oct 14 17:55:32 2009
--- emacs-23.1/src/s/sol2-6.h	Wed Oct 14 17:56:46 2009
***************
*** 2,11 ****
  
  #include "sol2-5.h"
  
! #if 0 /* dldump does not handle all the extensions used by GNU ld.  */
  #undef UNEXEC
  #define UNEXEC unexsol.o
- #endif
  
  /* arch-tag: 71ea3857-89dc-4395-9623-77964e6ed3ca
     (do not change this comment) */
--- 2,18 ----
  
  #include "sol2-5.h"
  
! /*
!  * Use the Solaris dldump() function to dump emacs, instead of
!  * the generic unexelf code.
!  *
!  * 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
!  */
! 
  #undef UNEXEC
  #define UNEXEC unexsol.o
  
  /* arch-tag: 71ea3857-89dc-4395-9623-77964e6ed3ca
     (do not change this comment) */