diff options
| author | Paul Eggert | 2013-02-24 21:55:37 -0800 |
|---|---|---|
| committer | Paul Eggert | 2013-02-24 21:55:37 -0800 |
| commit | 1ddc2bd6ff0b5071454d2591f835927ea5b85a06 (patch) | |
| tree | dff377164bcc7d9e8a84e0279cee6f9c28e3fcc5 /src/ChangeLog | |
| parent | 82fcf982c39d5ff821bb7d3353ca973e277e1810 (diff) | |
| download | emacs-1ddc2bd6ff0b5071454d2591f835927ea5b85a06.tar.gz emacs-1ddc2bd6ff0b5071454d2591f835927ea5b85a06.zip | |
Simplify data_start configuration.
This is a followon simplification to the fix for Bug#13650.
* admin/CPP-DEFINES (DATA_START, ORDINARY_LINK): Remove.
* configure.ac (CRT_DIR, LIB_STANDARD, START_FILES, DATA_START)
(LD_FIRSTFLAG, ORDINARY_LINK, LIB_GCC): Remove.
(AC_CHECK_HEADERS_ONCE): Remove sys/resource.h, as it's
not always needed.
(HAVE_DATA_START): New macro.
* etc/PROBLEMS (LIBS_SYSTEM, LIBS_MACHINE, LIBS_STANDARD): Remove.
Remove legacy-systems section, as this stuff is no longer
applicable with current linking strategies.
* src/Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD)
(START_FILES): Remove. All uses removed.
(otherobj): Remove $(VMLIMIT_OBJ), as it's now first.
(ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first.
(buildobj.h): Use it.
($(ALLOBJS)): Depend on globals.h.
(temacs$(EXEEXT)): Use $(ALLOBJS).
* src/autodeps.mk (ALLOBJS): Move to Makefile.in.
* src/deps.mk (vm-limit.o):
* src/makefile.w32-in ($(BLD)/vm-limit.$(O)):
Do not depend on mem-limits.h.
* src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
(__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__)
[__GNUC__ && !ORDINARY_LINK]: Remove.
* src/mem-limits.h, src/pre-crt0.c: Remove.
* src/unexaix.c, src/unexcoff.c: Don't include mem-limits.h.
* src/unexcoff.c (etext): New decl.
(make_hdr): Use it instead of start_of_data.
* src/vm-limit.c: Move most of mem-limits.h's contents here.
(data_start): New decl. It's OK if this is approximate,
so simplify-away some unnecessary exactness.
(POINTER): Remove; all uses removed.
(data_space_start): Now char *, to avoid casts.
(exceeds_lisp_ptr): New function, replacing the old
EXCEEDS_LISP_PTR macro. All uses changed.
(check_memory_limits): Simplify and remove casts.
(start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove.
(memory_warnings): Use data_start instead of start_of_data.
Fixes: debbugs:13783
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8d3fc1e56fb..00d1f30dd46 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,36 @@ | |||
| 1 | 2013-02-25 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | Simplify data_start configuration (Bug#13783). | ||
| 4 | This is a followon simplification to the fix for Bug#13650. | ||
| 5 | * Makefile.in (LD_FIRSTFLAG, LIB_GCC, CRT_DIR, LIB_STANDARD) | ||
| 6 | (START_FILES): Remove. All uses removed. | ||
| 7 | (otherobj): Remove $(VMLIMIT_OBJ), as it's now first. | ||
| 8 | (ALLOBJS): Move here from autodeps.mk, and with VMLIMITS_OBJ first. | ||
| 9 | (buildobj.h): Use it. | ||
| 10 | ($(ALLOBJS)): Depend on globals.h. | ||
| 11 | (temacs$(EXEEXT)): Use $(ALLOBJS). | ||
| 12 | * autodeps.mk (ALLOBJS): Move to Makefile.in. | ||
| 13 | * deps.mk (vm-limit.o): | ||
| 14 | * makefile.w32-in ($(BLD)/vm-limit.$(O)): | ||
| 15 | Do not depend on mem-limits.h. | ||
| 16 | * emacs.c (__do_global_ctors, __do_global_ctors_aux) | ||
| 17 | (__do_global_dtors, __CTOR_LIST__, __DTOR_LIST__) | ||
| 18 | [__GNUC__ && !ORDINARY_LINK]: Remove. | ||
| 19 | * mem-limits.h, pre-crt0.c: Remove. | ||
| 20 | * unexaix.c, unexcoff.c: Don't include mem-limits.h. | ||
| 21 | * unexcoff.c (etext): New decl. | ||
| 22 | (make_hdr): Use DATA_START instead of start_of_data. | ||
| 23 | * vm-limit.c: Move most of mem-limits.h's contents here. | ||
| 24 | (data_start): New decl. It's OK if this is approximate, | ||
| 25 | so simplify-away some unnecessary exactness. | ||
| 26 | (POINTER): Remove; all uses removed. | ||
| 27 | (data_space_start): Now char *, to avoid casts. | ||
| 28 | (exceeds_lisp_ptr): New function, replacing the old | ||
| 29 | EXCEEDS_LISP_PTR macro. All uses changed. | ||
| 30 | (check_memory_limits): Simplify and remove casts. | ||
| 31 | (start_of_data) [!CANNOT_DUMP || !SYSTEM_MALLOC]: Remove. | ||
| 32 | (memory_warnings): Use data_start instead of start_of_data. | ||
| 33 | |||
| 1 | 2013-02-24 Andreas Schwab <schwab@linux-m68k.org> | 34 | 2013-02-24 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 35 | ||
| 3 | * xdisp.c (set_message): Only check for debug-on-message if STRING | 36 | * xdisp.c (set_message): Only check for debug-on-message if STRING |