changeset 66613:11e1b8967398

(ld-script-builtins): Add more words: "DATA_SEGMENT_ALIGN", "DATA_SEGMENT_END", "DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN", and "SEGMENT_START". (auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in.
author Masatake YAMATO <jet@gyve.org>
date Tue, 01 Nov 2005 15:45:32 +0000
parents f71c244c6b3f
children 66a051003eb6
files lisp/ChangeLog lisp/progmodes/ld-script.el
diffstat 2 files changed, 15 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Tue Nov 01 11:49:36 2005 +0000
+++ b/lisp/ChangeLog	Tue Nov 01 15:45:32 2005 +0000
@@ -1,3 +1,11 @@
+2005-11-02  Masatake YAMATO  <jet@gyve.org>
+
+	* progmodes/ld-script.el (ld-script-builtins): Add
+	more words: "DATA_SEGMENT_ALIGN", "DATA_SEGMENT_END", 
+	"DATA_SEGMENT_RELRO_END", "LENGTH", "ORIGIN", and
+	"SEGMENT_START".
+	(auto-mode-alist): Accept .ld, .lds, ld.in and .lds.in.
+
 2005-11-01  Romain Francoise  <romain@orebokech.com>
 
 	* vc-sccs.el: Update copyright year.
--- a/lisp/progmodes/ld-script.el	Tue Nov 01 11:49:36 2005 +0000
+++ b/lisp/progmodes/ld-script.el	Tue Nov 01 15:45:32 2005 +0000
@@ -97,11 +97,17 @@
     "ADDR"
     "ALIGN"
     "BLOCK"
+    "DATA_SEGMENT_ALIGN"
+    "DATA_SEGMENT_END"
+    "DATA_SEGMENT_RELRO_END"
     "DEFINED"
+    "LENGTH"
     "LOADADDR"
     "MAX"
     "MIN"
     "NEXT"
+    "ORIGIN"
+    "SEGMENT_START"
     "SIZEOF"
     "SIZEOF_HEADERS"
     "sizeof_headers")
@@ -119,7 +125,7 @@
   "Default font-lock-keywords for `ld-script-mode'.")
 
 ;;;###autoload
-(add-to-list 'auto-mode-alist '("\\.lds" . ld-script-mode))
+(add-to-list 'auto-mode-alist '("\\.ld[s]?\\(\\.in\\)?$" . ld-script-mode))
 
 ;;;###autoload
 (define-derived-mode ld-script-mode nil "LD-Script"