Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
4ec7bdfd
Commit
4ec7bdfd
authored
Jan 12, 2006
by
Masatake YAMATO
Browse files
* progmodes/ld-script.el (auto-mode-alist): Support suffix conventions used in netbsd and eCos.
parent
2026418c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
lisp/ChangeLog
lisp/ChangeLog
+5
-0
lisp/progmodes/ld-script.el
lisp/progmodes/ld-script.el
+7
-1
No files found.
lisp/ChangeLog
View file @
4ec7bdfd
2006-01-12 Masatake YAMATO <jet@gyve.org>
* progmodes/ld-script.el (auto-mode-alist): Support
suffix conventions used in netbsd and eCos.
2006-01-11 Luc Teirlinck <teirllm@auburn.edu>
* cus-edit.el (custom-reset-menu, custom-buffer-create-internal)
...
...
lisp/progmodes/ld-script.el
View file @
4ec7bdfd
...
...
@@ -125,8 +125,14 @@
cpp-font-lock-keywords
)
"Default font-lock-keywords for `ld-script-mode'."
)
;; Linux-2.6.9 uses some different suffix for linker scripts:
;; "ld", "lds", "lds.S", "lds.in", "ld.script", and "ld.script.balo".
;; eCos uses "ld" and "ldi".
;; Netbsd uses "ldscript.*".
;;;###autoload
(
add-to-list
'auto-mode-alist
'
(
"\\.ld[s]?\\>"
.
ld-script-mode
))
(
add-to-list
'auto-mode-alist
'
(
"\\.ld[si]?\\>"
.
ld-script-mode
))
(
add-to-list
'auto-mode-alist
'
(
"ld[.]?script\\>"
.
ld-script-mode
))
;;;###autoload
(
add-to-list
'auto-mode-alist
'
(
"\\.x[bdsru]?[cn]?$"
.
ld-script-mode
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment