Variable: ld-script-keywords
ld-script-keywords is a variable defined in ld-script.el.gz.
Value
("ENTRY" "INCLUDE" "INPUT" "GROUP" "AS_NEEDED" "OUTPUT" "SEARCH_DIR"
"STARTUP" "OUTPUT_FORMAT" "TARGET" "REGION_ALIAS" "ASSERT" "EXTERN"
"FORCE_COMMON_ALLOCATION" "INHIBIT_COMMON_ALLOCATION" "INSERT"
"AFTER" "BEFORE" "NOCROSSREFS" "NOCROSSREFS_TO" "OUTPUT_ARCH"
"LD_FEATURE" "HIDDEN" "PROVIDE" "PROVIDE_HIDDEN" "SECTIONS" "SORT"
"SORT_BY_NAME" "SORT_BY_ALIGNMENT" "SORT_BY_INIT_PRIORITY" "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" "ONLY_IF_RO" "ONLY_IF_RW" ":PHDR" "MEMORY"
"PHDRS" "FILEHDR" "FLAGS" "PT_NULL" "PT_LOAD" "PT_DYNAMIC"
"PT_INTERP" "PT_NOTE" "PT_SHLIB" "PT_PHDR" "PT_TLS" "VERSION")
Documentation
Keywords used of GNU ld script.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/ld-script.el.gz
;; Font lock keywords
;; (The section number comes from ld's info.)
(defvar ld-script-keywords
'(
;; 3.4.1 Setting the Entry Point
"ENTRY"
;; 3.4.2 Commands Dealing with Files
"INCLUDE" "INPUT" "GROUP" "AS_NEEDED" "OUTPUT" "SEARCH_DIR" "STARTUP"
;; 3.4.3 Commands Dealing with Object File Formats
"OUTPUT_FORMAT" "TARGET"
;; 3.4.4 Assign alias names to memory regions
"REGION_ALIAS"
;; 3.4.5 Other Linker Script Commands
"ASSERT" "EXTERN" "FORCE_COMMON_ALLOCATION"
"INHIBIT_COMMON_ALLOCATION" "INSERT" "AFTER" "BEFORE"
"NOCROSSREFS" "NOCROSSREFS_TO" "OUTPUT_ARCH" "LD_FEATURE"
;; 3.5.2 HIDDEN
"HIDDEN"
;; 3.5.3 PROVIDE
"PROVIDE"
;; 3.5.4 PROVIDE_HIDDEN
"PROVIDE_HIDDEN"
;; 3.6 SECTIONS Command
"SECTIONS"
;; 3.6.4.2 Input Section Wildcard Patterns
"SORT" "SORT_BY_NAME" "SORT_BY_ALIGNMENT" "SORT_BY_INIT_PRIORITY"
;; 3.6.4.3 Input Section for Common Symbols
"COMMON"
;; 3.6.4.4 Input Section and Garbage Collection
"KEEP"
;; 3.6.5 Output Section Data
"BYTE" "SHORT" "LONG" "QUAD" "SQUAD" "FILL"
;; 3.6.6 Output Section Keywords
"CREATE_OBJECT_SYMBOLS" "CONSTRUCTORS"
"__CTOR_LIST__" "__CTOR_END__" "__DTOR_LIST__" "__DTOR_END__"
;; 3.6.7 Output Section Discarding
;; See `ld-script-font-lock-keywords'
;; 3.6.8.1 Output Section Type
"NOLOAD" "DSECT" "COPY" "INFO" "OVERLAY"
;; 3.6.8.2 Output Section LMA
"AT"
;; 3.6.8.4 Forced Input Alignment
"SUBALIGN"
;; 3.6.8.5 Output Section Constraint
"ONLY_IF_RO" "ONLY_IF_RW"
;; 3.6.8.7 Output Section Phdr
":PHDR"
;; 3.7 MEMORY Command
"MEMORY"
;; 3.8 PHDRS Command
"PHDRS" "FILEHDR" "FLAGS"
"PT_NULL" "PT_LOAD" "PT_DYNAMIC" "PT_INTERP" "PT_NOTE" "PT_SHLIB" "PT_PHDR"
"PT_TLS"
;; 3.9 VERSION Command
"VERSION")
"Keywords used of GNU ld script.")