diff options
| author | Paul Eggert | 2012-05-30 12:23:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-05-30 12:23:37 -0700 |
| commit | 9e4bf381b7f2ffa95c64cac0cd8015152a33289c (patch) | |
| tree | 81ec2f9d47a0fb963ab83083c5ca849c3f85b9ba /src/ChangeLog | |
| parent | 6e8a178669e918fb40a0cffce00757b2caae973d (diff) | |
| download | emacs-9e4bf381b7f2ffa95c64cac0cd8015152a33289c.tar.gz emacs-9e4bf381b7f2ffa95c64cac0cd8015152a33289c.zip | |
Clean up __executable_start, monstartup when --enable-profiling.
The following changes affect the code only when profiling.
* dispnew.c (__executable_start): Rename from safe_bcopy.
Define only on platforms that need it.
* emacs.c: Include <sys/gmon.h> when profiling.
(_mcleanup): Remove decl, since <sys/gmon.h> does it now.
(__executable_start): Remove decl, since lisp.h does it now.
(safe_bcopy): Remove decl; no longer has that name.
(main): Coalesce #if into single bit of code, for simplicity.
Cast pointers to uintptr_t, since standard libraries want integers
and not pointers.
* lisp.h (__executable_start): New decl.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index c21c21deb9a..767dfa47036 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2012-05-30 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Clean up __executable_start, monstartup when --enable-profiling. | ||
| 4 | The following changes affect the code only when profiling. | ||
| 5 | * dispnew.c (__executable_start): Rename from safe_bcopy. | ||
| 6 | Define only on platforms that need it. | ||
| 7 | * emacs.c: Include <sys/gmon.h> when profiling. | ||
| 8 | (_mcleanup): Remove decl, since <sys/gmon.h> does it now. | ||
| 9 | (__executable_start): Remove decl, since lisp.h does it now. | ||
| 10 | (safe_bcopy): Remove decl; no longer has that name. | ||
| 11 | (main): Coalesce #if into single bit of code, for simplicity. | ||
| 12 | Cast pointers to uintptr_t, since standard libraries want integers | ||
| 13 | and not pointers. | ||
| 14 | * lisp.h (__executable_start): New decl. | ||
| 15 | |||
| 1 | 2012-05-30 Jim Meyering <meyering@redhat.com> | 16 | 2012-05-30 Jim Meyering <meyering@redhat.com> |
| 2 | 17 | ||
| 3 | * callproc.c (Fcall_process_region): Include directory component | 18 | * callproc.c (Fcall_process_region): Include directory component |