diff src/dispnew.c @ 109539:d962ccf8829f

Use __executable_start to find start of text segment for profiling * emacs.c (main) [PROFILING]: Use __executable_start if defined to find start of text segment. * dispnew.c (safe_bcopy): Don't define if HAVE___EXECUTABLE_START is defined. * configure.in: Check for __executable_start.
author Andreas Schwab <schwab@linux-m68k.org>
date Sun, 25 Jul 2010 21:09:54 +0200
parents f37b85834f7e
children 05e7e7c46ff0
line wrap: on
line diff
--- a/src/dispnew.c	Sun Jul 25 20:36:37 2010 +0200
+++ b/src/dispnew.c	Sun Jul 25 21:09:54 2010 +0200
@@ -436,7 +436,7 @@
 #endif /* GLYPH_DEBUG == 0 */
 
 
-#ifdef PROFILING
+#if defined PROFILING && !HAVE___EXECUTABLE_START
 /* FIXME: only used to find text start for profiling.  */
 
 void