mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-24 05:47:36 +00:00
* progmodes/ld-script.el (auto-mode-alist): Support suffix conventions used in netbsd and eCos.
This commit is contained in:
parent
2026418cf3
commit
4ec7bdfdf7
2 changed files with 12 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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)
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue