components/emacs/patches/dldump.patch
author Rich Burridge <rich.burridge@oracle.com>
Thu, 28 Mar 2013 08:49:28 -0700
changeset 1234 6f834970c557
parent 686 b4fe91eb660b
permissions -rw-r--r--
15824630 SUNBT7206173 Need to update swig to a version that supports lua 5.2.

*** emacs-23.4.orig/src/s/sol2-6.h	Mon Oct 17 19:20:46 2011
--- emacs-23.4/src/s/sol2-6.h	Tue Feb  7 12:38:02 2012
***************
*** 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) */