diff options
| author | Andreas Schwab | 2011-05-12 18:46:53 +0200 |
|---|---|---|
| committer | Andreas Schwab | 2011-05-12 18:46:53 +0200 |
| commit | 92d1079638fad7c31cf11cd608f33d3385e24b39 (patch) | |
| tree | c91143fa1c7149410eb27e3a999a00288d9be190 | |
| parent | 79b70037f64c47754d108701e285bf1b211bb6f5 (diff) | |
| download | emacs-92d1079638fad7c31cf11cd608f33d3385e24b39.tar.gz emacs-92d1079638fad7c31cf11cd608f33d3385e24b39.zip | |
* lisp/progmodes/ld-script.el (ld-script-keywords)
(ld-script-builtins): Update keywords list.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/progmodes/ld-script.el | 27 |
2 files changed, 24 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index d9709edd163..a592ae39ac0 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-05-12 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * progmodes/ld-script.el (ld-script-keywords) | ||
| 4 | (ld-script-builtins): Update keywords list. | ||
| 5 | |||
| 1 | 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca> | 6 | 2011-05-12 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 7 | ||
| 3 | * progmodes/grep.el (grep-filter): Don't trip on partial lines. | 8 | * progmodes/grep.el (grep-filter): Don't trip on partial lines. |
diff --git a/lisp/progmodes/ld-script.el b/lisp/progmodes/ld-script.el index 8a8112c9655..8bdac61d4ab 100644 --- a/lisp/progmodes/ld-script.el +++ b/lisp/progmodes/ld-script.el | |||
| @@ -80,9 +80,12 @@ | |||
| 80 | "INCLUDE" "INPUT" "GROUP" "AS_NEEDED" "OUTPUT" "SEARCH_DIR" "STARTUP" | 80 | "INCLUDE" "INPUT" "GROUP" "AS_NEEDED" "OUTPUT" "SEARCH_DIR" "STARTUP" |
| 81 | ;; 3.4.3 Commands Dealing with Object File Formats | 81 | ;; 3.4.3 Commands Dealing with Object File Formats |
| 82 | "OUTPUT_FORMAT" "TARGET" | 82 | "OUTPUT_FORMAT" "TARGET" |
| 83 | ;; 3.4.3 Other Linker Script Commands | 83 | ;; 3.4.4 Assign alias names to memory regions |
| 84 | "REGION_ALIAS" | ||
| 85 | ;; 3.4.5 Other Linker Script Commands | ||
| 84 | "ASSERT" "EXTERN" "FORCE_COMMON_ALLOCATION" | 86 | "ASSERT" "EXTERN" "FORCE_COMMON_ALLOCATION" |
| 85 | "INHIBIT_COMMON_ALLOCATION" "NOCROSSREFS" "OUTPUT_ARCH" | 87 | "INHIBIT_COMMON_ALLOCATION" "INSERT" "AFTER" "BEFORE" |
| 88 | "NOCROSSREFS" "OUTPUT_ARCH" "LD_FEATURE" | ||
| 86 | ;; 3.5.2 PROVIDE | 89 | ;; 3.5.2 PROVIDE |
| 87 | "PROVIDE" | 90 | "PROVIDE" |
| 88 | ;; 3.5.3 PROVIDE_HIDDEN | 91 | ;; 3.5.3 PROVIDE_HIDDEN |
| @@ -90,7 +93,7 @@ | |||
| 90 | ;; 3.6 SECTIONS Command | 93 | ;; 3.6 SECTIONS Command |
| 91 | "SECTIONS" | 94 | "SECTIONS" |
| 92 | ;; 3.6.4.2 Input Section Wildcard Patterns | 95 | ;; 3.6.4.2 Input Section Wildcard Patterns |
| 93 | "SORT" "SORT_BY_NAME" "SORT_BY_ALIGNMENT" | 96 | "SORT" "SORT_BY_NAME" "SORT_BY_ALIGNMENT" "SORT_BY_INIT_PRIORITY" |
| 94 | ;; 3.6.4.3 Input Section for Common Symbols | 97 | ;; 3.6.4.3 Input Section for Common Symbols |
| 95 | "COMMON" | 98 | "COMMON" |
| 96 | ;; 3.6.4.4 Input Section and Garbage Collection | 99 | ;; 3.6.4.4 Input Section and Garbage Collection |
| @@ -108,22 +111,30 @@ | |||
| 108 | "AT" | 111 | "AT" |
| 109 | ;; 3.6.8.4 Forced Input Alignment | 112 | ;; 3.6.8.4 Forced Input Alignment |
| 110 | "SUBALIGN" | 113 | "SUBALIGN" |
| 111 | ;; 3.6.8.6 Output Section Phdr | 114 | ;; 3.6.8.5 Output Section Constraint |
| 115 | "ONLY_IF_RO" "ONLY_IF_RW" | ||
| 116 | ;; 3.6.8.7 Output Section Phdr | ||
| 112 | ":PHDR" | 117 | ":PHDR" |
| 113 | ;; 3.7 MEMORY Command | 118 | ;; 3.7 MEMORY Command |
| 114 | "MEMORY" | 119 | "MEMORY" |
| 115 | ;; 3.8 PHDRS Command | 120 | ;; 3.8 PHDRS Command |
| 116 | "PHDRS" "FILEHDR" "FLAGS" | 121 | "PHDRS" "FILEHDR" "FLAGS" |
| 117 | "PT_NULL" "PT_LOAD" "PT_DYNAMIC" "PT_INTERP" "PT_NONE" "PT_SHLIB" "PT_PHDR" | 122 | "PT_NULL" "PT_LOAD" "PT_DYNAMIC" "PT_INTERP" "PT_NOTE" "PT_SHLIB" "PT_PHDR" |
| 118 | ;; 3.9 VERSION Command | 123 | ;; 3.9 VERSION Command |
| 119 | "VERSION") | 124 | "VERSION") |
| 120 | "Keywords used of GNU ld script.") | 125 | "Keywords used of GNU ld script.") |
| 121 | 126 | ||
| 122 | ;; 3.10.8 Builtin Functions | 127 | |
| 128 | ;; 3.10.2 Symbolic Constants | ||
| 129 | ;; 3.10.9 Builtin Functions | ||
| 123 | (defvar ld-script-builtins | 130 | (defvar ld-script-builtins |
| 124 | '("ABSOLUTE" | 131 | '("CONSTANT" |
| 132 | "MAXPAGESIZE" | ||
| 133 | "COMMONPAGESIZE" | ||
| 134 | "ABSOLUTE" | ||
| 125 | "ADDR" | 135 | "ADDR" |
| 126 | "ALIGN" | 136 | "ALIGN" |
| 137 | "ALIGNOF" | ||
| 127 | "BLOCK" | 138 | "BLOCK" |
| 128 | "DATA_SEGMENT_ALIGN" | 139 | "DATA_SEGMENT_ALIGN" |
| 129 | "DATA_SEGMENT_END" | 140 | "DATA_SEGMENT_END" |
| @@ -149,7 +160,7 @@ | |||
| 149 | 1 font-lock-builtin-face) | 160 | 1 font-lock-builtin-face) |
| 150 | ;; 3.6.7 Output Section Discarding | 161 | ;; 3.6.7 Output Section Discarding |
| 151 | ;; 3.6.4.1 Input Section Basics | 162 | ;; 3.6.4.1 Input Section Basics |
| 152 | ;; 3.6.8.6 Output Section Phdr | 163 | ;; 3.6.8.7 Output Section Phdr |
| 153 | ("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . font-lock-warning-face) | 164 | ("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . font-lock-warning-face) |
| 154 | ("\\W\\(\\.\\)\\W" 1 ld-script-location-counter-face) | 165 | ("\\W\\(\\.\\)\\W" 1 ld-script-location-counter-face) |
| 155 | ) | 166 | ) |