Mercurial > emacs
annotate src/m/m68k.h @ 111912:d566763f152d
Fix crash with invisible text and overlays (Bug#7016).
* src/dispextern.h (struct it): New member overlay_strings_charpos.
* src/xdisp.c (next_overlay_string, load_overlay_strings): Record the
charpos where we computed n_overlay_strings.
(next_overlay_string): Load overlay strings at recorded position,
which may not be the same as the iterator's charpos (Bug#7016).
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Mon, 06 Dec 2010 01:54:52 -0500 |
parents | 1d1d5d9bd884 |
children | 6fcaca6266ae 376148b31b5e |
rev | line source |
---|---|
13369 | 1 /* Machine description file for generic Motorola 68k. |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
2 Copyright (C) 1985, 1995, 2001, 2002, 2003, 2004, 2005, 2006, 2007, |
106815 | 3 2008, 2009, 2010 Free Software Foundation, Inc. |
13369 | 4 |
5 This file is part of GNU Emacs. | |
6 | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
7 GNU Emacs is free software: you can redistribute it and/or modify |
13369 | 8 it under the terms of the GNU General Public License as published by |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
9 the Free Software Foundation, either version 3 of the License, or |
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
10 (at your option) any later version. |
13369 | 11 |
12 GNU Emacs is distributed in the hope that it will be useful, | |
13 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
15 GNU General Public License for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
94714
7e5b32f86a4c
Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents:
79755
diff
changeset
|
18 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ |
13369 | 19 |
78499 | 20 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word |
13369 | 21 is the most significant byte. */ |
22 | |
23 #define WORDS_BIG_ENDIAN | |
24 | |
25 /* Now define a symbol for the cpu type, if your compiler | |
26 does not define it automatically. */ | |
27 | |
28 #ifndef m68k | |
29 #define m68k | |
30 #endif | |
31 | |
32 /* Define EXPLICIT_SIGN_EXTEND if XINT must explicitly sign-extend | |
33 the 24-bit bit field into an int. In other words, if bit fields | |
34 are always unsigned. | |
35 | |
96602 | 36 This flag only matters if you use USE_LISP_UNION_TYPE. */ |
13369 | 37 |
38 #define EXPLICIT_SIGN_EXTEND | |
39 | |
96739
77c53729bbb6
* m/m68k.h (linux): Use GNU_LINUX instead.
Dan Nicolaescu <dann@ics.uci.edu>
parents:
96721
diff
changeset
|
40 #ifdef GNU_LINUX |
13369 | 41 #ifdef __ELF__ |
42 #define DATA_SEG_BITS 0x80000000 | |
43 #endif | |
44 | |
45 #define NO_REMAP | |
46 #define TEXT_START 0 | |
47 #endif | |
52401 | 48 |
49 /* arch-tag: 4eadd161-b4e8-4b82-82a1-e4ce7f42969d | |
50 (do not change this comment) */ |