annotate src/m/arm.h @ 103693:e094814e8eed

Virtual Info files and nodes. (Info-virtual-files, Info-virtual-nodes): New variables. (Info-current-node-virtual): New variable. (Info-virtual-file-p, Info-virtual-fun, Info-virtual-call): New functions. (Info-file-supports-index-cookies): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names. (Info-find-file): Use Info-virtual-fun and Info-virtual-call instead of ad-hoc processing of "dir" and (apropos history toc). (Info-find-node-2): Use Info-virtual-fun and Info-virtual-call instead of ad-hoc processing of "dir" and (apropos history toc). Reread a file when moving from a virtual node. (add-to-list)<Info-virtual-files>: Add "\\`dir\\'". (Info-directory-toc-nodes, Info-directory-find-file) (Info-directory-find-node): New functions. (add-to-list)<Info-virtual-files>: Add "\\`\\*History\\*\\'". (Info-history): Move part of code to `Info-history-find-node'. (Info-history-toc-nodes, Info-history-find-file) (Info-history-find-node): New functions. (add-to-list)<Info-virtual-nodes>: Add "\\`\\*TOC\\*\\'". (Info-toc): Move part of code to `Info-toc-find-node'. (Info-toc-find-node): New function. (Info-toc-insert): Renamed from `Info-insert-toc'. Don't insert the current Info file name to references because now the node "*TOC*" belongs to the same Info manual. (Info-toc-build): Renamed from `Info-build-toc'. (Info-toc-nodes): Rename input argument `file' to `filename'. Use Info-virtual-fun, Info-virtual-call and Info-virtual-file-p instead of ad-hoc processing of ("dir" apropos history toc). (Info-index-nodes): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names. (Info-index-node): Add check for `Info-current-node-virtual'. Raise `save-match-data' higher up the tree to contain `search-forward' too (bug fix). (add-to-list)<Info-virtual-nodes>: Add "\\`\\*Index.*\\*\\'". (Info-virtual-index-nodes): New variable. (Info-virtual-index-find-node, Info-virtual-index): New functions. (add-to-list)<Info-virtual-files>: Add "\\`\\*Apropos\\*\\'". (Info-apropos-file, Info-apropos-nodes): New variables. (Info-apropos-toc-nodes, Info-apropos-find-file) (Info-apropos-find-node, Info-apropos-matches): New functions. (info-apropos): Move part of code to `Info-apropos-find-node' and `Info-apropos-matches'. (Info-mode-map): Bind "I" to `Info-virtual-index'. (Info-desktop-buffer-misc-data): Use Info-virtual-file-p to check for a virtual file instead of checking a fixed list of node names.
author Juri Linkov <juri@jurta.org>
date Thu, 02 Jul 2009 22:47:33 +0000
parents e038c1a8307c
children 1d1d5d9bd884
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
1 /* Machine description file for ARM-based non-RISCiX machines.
94714
7e5b32f86a4c Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 79755
diff changeset
2 Copyright (C) 1994, 2001, 2002, 2003, 2004, 2005, 2006, 2007,
100951
e038c1a8307c Add 2009 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 96719
diff changeset
3 2008, 2009 Free Software Foundation, Inc.
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
4
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
5 This file is part of GNU Emacs.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
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
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
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.
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
11
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
12 GNU Emacs is distributed in the hope that it will be useful,
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
15 GNU General Public License for more details.
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
16
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
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/>. */
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
19
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
20
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
21
78499
49b363c28dce Replace `iff' in comments.
Glenn Morris <rgm@gnu.org>
parents: 78258
diff changeset
22 /* Define WORDS_BIG_ENDIAN if lowest-numbered byte in a word
26706
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
23 is the most significant byte. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
24
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
25 #undef WORDS_BIG_ENDIAN
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
26
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
27 /* Define NO_ARG_ARRAY if you cannot take the address of the first of a
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
28 * group of arguments and treat it as an array of the arguments. We can't
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
29 * do this on the arm with gcc, since the first 4 args are in registers. */
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
30
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
31 #ifdef __GNUC__
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
32 #define NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
33 #else
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
34 #undef NO_ARG_ARRAY
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
35 #endif
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
36
705ff8a9d6dd Derived from acorn.h by deletions.
Dave Love <fx@gnu.org>
parents:
diff changeset
37 #define NO_REMAP
52401
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
38
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
39 /* arch-tag: 07856f0c-f0c8-4bd8-99af-0b7fa1e5ee42
695cf19ef79e Add arch taglines
Miles Bader <miles@gnu.org>
parents: 48437
diff changeset
40 (do not change this comment) */