Use __executable_start to find start of text segment for profiling
authorAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 Jul 2010 19:09:54 +0000 (21:09 +0200)
committerAndreas Schwab <schwab@linux-m68k.org>
Sun, 25 Jul 2010 19:09:54 +0000 (21:09 +0200)
commitdcc19aacb785a5a0de0184342ab8eae714bff916
tree108d2dcfc0ec36a97a0283a849f6de2ad2d8f75e
parent7bfa6d7793030944556daeede46dff688465cfd7
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.
ChangeLog
configure
configure.in
src/ChangeLog
src/config.in
src/dispnew.c
src/emacs.c