ld-script-font-lock-keywords
ld-script-font-lock-keywords is a variable defined in `
ld-script.el
'.
Its value is shown
below.
- This variable may be risky if used as a file-local variable.
Documentation:
Default font-lock-keywords for `ld-script-mode'.
Value:
(("\\_<\\(?::PHDR\\|A\\(?:FTER\\|S\\(?:SERT\\|_NEEDED\\)\\|T\\)\\|B\\(?:\\(?:EFOR\\|YT\\)E\\)\\|C\\(?:O\\(?:MMON\\|NSTRUCTORS\\|PY\\)\\|REATE_OBJECT_SYMBOLS\\)\\|DSECT\\|E\\(?:NTRY\\|XTERN\\)\\|F\\(?:IL\\(?:EHDR\\|L\\)\\|LAGS\\|ORCE_COMMON_ALLOCATION\\)\\|GROUP\\|IN\\(?:CLUDE\\|FO\\|HIBIT_COMMON_ALLOCATION\\|\\(?:PU\\|SER\\)T\\)\\|KEEP\\|L\\(?:D_FEATURE\\|ONG\\)\\|MEMORY\\|NO\\(?:CROSSREFS\\|LOAD\\)\\|O\\(?:NLY_IF_R[OW]\\|UTPUT\\(?:_\\(?:ARCH\\|FORMAT\\)\\)?\\|VERLAY\\)\\|P\\(?:HDRS\\|ROVIDE\\(?:_HIDDEN\\)?\\|T_\\(?:DYNAMIC\\|INTERP\\|LOAD\\|N\\(?:OTE\\|ULL\\)\\|PHDR\\|SHLIB\\)\\)\\|QUAD\\|REGION_ALIAS\\|S\\(?:E\\(?:ARCH_DIR\\|CTIONS\\)\\|HORT\\|ORT\\(?:_BY_\\(?:ALIGNMENT\\|INIT_PRIORITY\\|NAME\\)\\)?\\|QUAD\\|TARTUP\\|UBALIGN\\)\\|TARGET\\|VERSION\\|__\\(?:\\(?:CTOR_\\(?:END\\|LIST\\)\\|DTOR_\\(?:END\\|LIST\\)\\)__\\)\\)\\_>" 0 font-lock-keyword-face)
("\\_<\\(?:A\\(?:BSOLUTE\\|DDR\\|LIGN\\(?:OF\\)?\\)\\|BLOCK\\|CO\\(?:MMONPAGESIZE\\|NSTANT\\)\\|D\\(?:ATA_SEGMENT_\\(?:ALIGN\\|\\(?:RELRO_\\)?END\\)\\|EFINED\\)\\|L\\(?:ENGTH\\|OADADDR\\)\\|M\\(?:AX\\(?:PAGESIZE\\)?\\|IN\\)\\|NEXT\\|ORIGIN\\|S\\(?:EGMENT_START\\|IZEOF\\(?:_HEADERS\\)?\\)\\|len\\|org\\|sizeof_headers\\|[lo]\\)\\_>" 0 font-lock-builtin-face)
("/DISCARD/\\|EXCLUDE_FILE\\|:NONE" . font-lock-warning-face)
("\\W\\(\\.\\)\\W" 1 ld-script-location-counter-face)
("^#[ ]*\\(?:error\\|warning\\)[ ]+\\(.+\\)" 1 font-lock-warning-face prepend)
("^#[ ]*\\(?:import\\|include\\)[ ]*\\(<[^>\"\n]*>?\\)" 1 font-lock-string-face prepend)
("^#[ ]*define[ ]+\\([[:alpha:]_][[:alnum:]_$]*\\)("
(1 font-lock-function-name-face prepend)
((lambda
(limit)
(re-search-forward "\\(?:\\([[:alpha:]_][[:alnum:]_]*\\)[,]?\\)"
(or
(save-excursion
(re-search-forward ")" limit t))
limit)
t))
nil nil
(1 font-lock-variable-name-face prepend)))
("^#[ ]*\\(?:elif\\|if\\)\\>"
("\\<\\(defined\\)\\>[ ]*(?\\([[:alpha:]_][[:alnum:]_]*\\)?" nil nil
(1 font-lock-builtin-face prepend)
(2 font-lock-variable-name-face prepend t)))
("^\\(#[ ]*\\(?:define\\|e\\(?:l\\(?:if\\|se\\)\\|ndif\\|rror\\)\\|file\\|i\\(?:f\\(?:n?def\\)?\\|mport\\|nclude\\)\\|line\\|pragma\\|undef\\|warning\\)\\)\\>[ !]*\\([[:alpha:]_][[:alnum:]_]*\\)?"
(1 font-lock-preprocessor-face prepend)
(2 font-lock-variable-name-face nil t)))