LD: Assignments

Next: SECTIONS, Previous: Simple Commands, Up: Scripts   [Contents][Index]


3.5 Assigning Values to Symbols

You may assign a value to a symbol in a linker script. This will define the symbol and place it into the symbol table with a global scope.

• Simple Assignments:    Simple Assignments
• HIDDEN:    HIDDEN
• PROVIDE:    PROVIDE
• PROVIDE_HIDDEN:    PROVIDE_HIDDEN
• Source Code Reference:    How to use a linker script defined symbol in source code