;ELC ;;; Compiled by cyd@localhost on Mon Apr 23 22:25:06 2007 ;;; from file /home/cyd/emacs/lisp/progmodes/ld-script.el ;;; in Emacs version 22.0.99 ;;; with all optimizations. ;;; This file uses dynamic docstrings, first added in Emacs 19.29. (if (and (boundp 'emacs-version) (< (aref emacs-version (1- (length emacs-version))) ?A) (or (and (boundp 'epoch::version) epoch::version) (string-lessp emacs-version "19.29"))) (error "`ld-script.el' was compiled for Emacs 19.29 or later")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (byte-code "\301\302\303\304\305\306\307\310&\210\311B\312\311!\204\313\311\314\"\210\315\314\316\317\307\302%\207" [current-load-list custom-declare-group ld-script nil "GNU linker script code editing commands for Emacs." :prefix "ld-script-" :group languages ld-script-location-counter-face default-boundp set-default ld-script-location-counter custom-declare-face ((t :weight bold :inherit font-lock-builtin-face)) "Face for location counter in GNU ld script."] 8) #@46 Syntax table used while in `ld-script-mode'. (defvar ld-script-mode-syntax-table (byte-code "\301 \302\303\304#\210\302\305\306#\210\302\307\310#\210\302\311\312#\210\302\313\314#\210\302\315\316#\210\302\317\320#\210\302\321\322#\210\302\323\324#\210\302\325\326#\210\302\327\330#\210\302\331\330#\210\302\332\330#\210\302\333\330#\210\302\334\335#\210\302\336\337#\210\302\340\330#\210\302\341\330#\210\302\342\330#\210\302\343\330#\210\302\344\330#\210\302\345\330#\210\302\346\330#\210\302\347\330#\210\302\350\330#\210\302\351\352#\210)\207" [st make-syntax-table modify-syntax-entry 32 "-" 123 "(}" 125 "){" 40 "()" 41 ")(" 91 "(]" 93 ")[" 95 "w" 46 "_" 92 "\\" 58 "." 44 63 61 42 ". 23" 47 ". 14" 43 45 33 126 37 60 62 38 124 34 "\""] 4) (#$ . 1048)) #@33 Keywords used of GNU ld script. (defvar ld-script-keywords '("ENTRY" "INCLUDE" "INPUT" "GROUP" "AS_NEEDED" "OUTPUT" "SEARCH_DIR" "STARTUP" "OUTPUT_FORMAT" "TARGET" "ASSERT" "EXTERN" "FORCE_COMMON_ALLOCATION" "INHIBIT_COMMON_ALLOCATION" "NOCROSSREFS" "OUTPUT_ARCH" "PROVIDE" "PROVIDE_HIDDEN" "SECTIONS" "SORT" "SORT_BY_NAME" "SORT_BY_ALIGNMENT" "COMMON" "KEEP" "BYTE" "SHORT" "LONG" "QUAD" "SQUAD" "FILL" "CREATE_OBJECT_SYMBOLS" "CONSTRUCTORS" "__CTOR_LIST__" "__CTOR_END__" "__DTOR_LIST__" "__DTOR_END__" "NOLOAD" "DSECT" "COPY" "INFO" "OVERLAY" "AT" "SUBALIGN" ":PHDR" "MEMORY" "PHDRS" "FILEHDR" "FLAGS" "PT_NULL" "PT_LOAD" "PT_DYNAMIC" "PT_INTERP" "PT_NONE" "PT_SHLIB" "PT_PHDR" "VERSION") (#$ . 1840)) #@37 Builtin functions of GNU ld script. (defvar ld-script-builtins '("ABSOLUTE" "ADDR" "ALIGN" "BLOCK" "DATA_SEGMENT_ALIGN" "DATA_SEGMENT_END" "DATA_SEGMENT_RELRO_END" "DEFINED" "LENGTH" "len" "l" "LOADADDR" "MAX" "MIN" "NEXT" "ORIGIN" "org" "o" "SEGMENT_START" "SIZEOF" "SIZEOF_HEADERS" "sizeof_headers") (#$ . 2551)) #@50 Default font-lock-keywords for `ld-script-mode'. (defvar ld-script-font-lock-keywords (byte-code "\303\304\305\"\306B\304 \305\"\307B\310BB\n\"\207" [ld-script-keywords ld-script-builtins cpp-font-lock-keywords append regexp-opt words (1 font-lock-keyword-face) (1 font-lock-builtin-face) (("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . font-lock-warning-face) ("\\W\\(\\.\\)\\W" 1 ld-script-location-counter-face))] 5) (#$ . 2872)) (byte-code "\302\303\304\"\210\302\303\305\"\210\302\303\306\"\210\307\310N\204\311\307\310\312#\210\313\314!\204'\311\314\315\316#\210\314B\317\314!\2047\320\314\321 \"\210\313\322!\204C\311\322\315\316#\210\322B\317\322!\204S\320\322\323 \"\210\311\301\315\316#\210\301B\317\301!\204m\320\301\324\301\325\"\210 \"\210\311\316\326\325#\207" [current-load-list ld-script-mode-abbrev-table add-to-list auto-mode-alist ("\\.ld[si]?\\>" . ld-script-mode) ("ld\\.?script\\>" . ld-script-mode) ("\\.x[bdsru]?[cn]?\\'" . ld-script-mode) ld-script-mode-hook variable-documentation put "Hook run when entering LD-Script mode.\nNo problems result if this variable is not bound.\n`add-hook' automatically binds it. (This is true for all hook variables.)" boundp ld-script-mode-map definition-name ld-script-mode default-boundp set-default make-sparse-keymap ld-script-mode-syntax-table make-syntax-table define-abbrev-table nil derived-mode-parent] 5) #@154 A major mode to edit GNU ld script files This mode runs the hook `ld-script-mode-hook', as the final step during initialization. \{ld-script-mode-map} (defalias 'ld-script-mode #[nil "\306\300!\210\307\310 \210\311\312\313 !\210\314\f!\210 \306\315!\210\316 \306\317!\210\320\306\321!\210\322)\323\324!\2038\324\325!\207\326\325!\207" [delay-mode-hooks major-mode mode-name ld-script-mode-map ld-script-mode-syntax-table ld-script-mode-abbrev-table make-local-variable t kill-all-local-variables ld-script-mode "LD-Script" use-local-map set-syntax-table comment-start "/* " comment-end " */" font-lock-defaults (ld-script-font-lock-keywords nil) fboundp run-mode-hooks ld-script-mode-hook run-hooks local-abbrev-table] 2 (#$ . 4260) nil]) (provide 'ld-script)