10.4. Linker Options¶
Linker options control linking operations. They can be placed on the command line or in a command file. Linker options must be preceded by a hyphen (-). Options can be separated from arguments (if they have them) by an optional space.
Contents:
- 10.4.1. Basic Options
- 10.4.2. File Search Path Options
- 10.4.3. Command File Preprocessing Options
- 10.4.4. Diagnostic Options
- 10.4.5. Linker Output Options
- 10.4.6. Symbol Management Options
- 10.4.6.1. Option Summary
- 10.4.6.2. Define an Entry Point (–entry_point Option)
- 10.4.6.3. Change Symbol Localization (–globalize and –localize options)
- 10.4.6.4. Hiding Symbols (–hide and –unhide options)
- 10.4.6.5. Disable Merging of Symbolic Debugging Information (–no_sym_merge Option)
- 10.4.6.6. Strip Symbolic Information (–no_symtable Option)
- 10.4.6.7. Retain Discarded Sections (–retain Option)
- 10.4.6.8. Scan All Libraries for Duplicate Symbol Definitions (–scan_libraries Option)
- 10.4.6.9. Mapping of Symbols (–symbol_map Option)
- 10.4.6.10. Introduce an Unresolved Symbol (–undef_sym Option)
- 10.4.7. Run-Time Environment Options
- 10.4.8. Link-Time Compression and Specialization Options
- 10.4.8.1. Option Summary
- 10.4.8.2. Compression (–cinit_compression and –copy_compression Option)
- 10.4.8.3. Compress DWARF Information (–compress_dwarf Option)
- 10.4.8.4. RTS Optimization (–use_memcpy and –use_memset Options)
- 10.4.8.5. Printf Support Optimization (no option)
- 10.4.8.6. Do Not Remove Unused Sections (–unused_section_elimination Option)
- 10.4.9. Miscellaneous Options