# mold
# Autogenerated from man page /usr/share/man/man1/mold.1.gz
complete -c mold -l start-group -l end-group -d 'Dynamic symbol resolution Some Unix linker features are difficult to understa…'
complete -c mold -l chroot -d 'Set dir as the root directory'
complete -c mold -l color-diagnostics -d 'Show diagnostic messages in color using ANSI escape sequences'
complete -c mold -l no-color-diagnostics -d 'Synonym for --color-diagnostics=never'
complete -c mold -l detach -d 'Permit or do not permit mold to create a debug info file in the background'
complete -c mold -l fork -l no-fork -d 'Spawn a child process and let it do the actual linking'
complete -c mold -l perf -d 'Print performance statistics'
complete -c mold -l print-dependencies -d 'Print out dependency information for input files'
complete -c mold -l relocatable-merge-sections -d 'By default, mold doesn\'t merge input sections by name when merging input obje…'
complete -c mold -l repro -d 'Archive input files, as well as a text file containing command line options, …'
complete -c mold -l reverse-sections -d 'Reverse the order of input sections before assigning them the offsets in the …'
complete -c mold -l run -d 'Run command with mold as /usr/bin/ld'
complete -c mold -l separate-debug-file -l separate-debug-file -d 'Bundle debug info sections into a separate file instead of embedding them in …'
complete -c mold -l shuffle-sections -l shuffle-sections -d 'Randomize the output by shuffling the order of input sections before assignin…'
complete -c mold -l spare-program-headers -d 'Append the given number of PT_NULL entries to the end of the program header, …'
complete -c mold -l stats -d 'Print input statistics'
complete -c mold -l thread-count -d 'Use count number of threads'
complete -c mold -l threads -l no-threads -d 'Use multiple threads'
complete -c mold -l quick-exit -l no-quick-exit -d 'Use or do not use quick_exit to exit'
complete -c mold -s z -s z -d 'As a security measure, some CPU instruction sets have recently gained a featu…'
complete -c mold -l help -d 'Report usage information to stdout and exit'
complete -c mold -s v -l version -d 'Report version information to stdout'
complete -c mold -s V -d 'Report version and target information to stdout'
complete -c mold -s E -l export-dynamic -l no-export-dynamic -d 'When creating an executable, using the -E option causes all global symbols to…'
complete -c mold -s F -l filter -d 'Set the DT_FILTER dynamic section field to libname'
complete -c mold -s I -l dynamic-linker -l no-dynamic-linker -d 'Set the dynamic linker path to file'
complete -c mold -s L -l library-path -d 'Add dir to the list of library search paths from which mold searches librarie…'
complete -c mold -s M -l print-map -d 'Write a map file to stdout'
complete -c mold -s N -l omagic -l no-omagic -d 'Force mold to emit an output file with an old-fashioned memory layout'
complete -c mold -s S -l strip-debug -d 'Omit . debug_* sections from the output file'
complete -c mold -s T -l script -d 'Read linker script from file'
complete -c mold -s X -l discard-locals -d 'Discard temporary local symbols to reduce the sizes of the symbol table and t…'
complete -c mold -s e -l entry
complete -c mold -s f -l auxiliary -d 'Set the DT_AUXILIARY dynamic section field to shlib'
complete -c mold -s h -l soname -d 'Set the DT_SONAME dynamic section field to libname'
complete -c mold -s l -d 'Search for liblibname. so or liblibname. a from library search paths'
complete -c mold -s m -d 'Choose a target'
complete -c mold -s o -l output -d 'Use file as the output file name instead of the default name a. out'
complete -c mold -s r -l relocatable -d 'Instead of generating an executable or a shared object file, combine input ob…'
complete -c mold -s s -l strip-all -d 'Omit . symtab section from the output file'
complete -c mold -s u -l undefined -d 'If symbol remains as an undefined symbol after reading all object files, and …'
complete -c mold -s y -l trace-symbol -d 'Trace references to symbol'
complete -c mold -l Bdynamic -d 'Link against shared libraries'
complete -c mold -l Bstatic -d 'Do not link against shared libraries'
complete -c mold -l Bsymbolic -d 'When creating a shared library, make global symbols export-only (i. e'
complete -c mold -l Bsymbolic-functions -d 'This option has the same effect as --Bsymbolic but works only for function sy…'
complete -c mold -l Bsymbolic-non-weak -d 'This option has the same effect as --Bsymbolic but works only for non-weak sy…'
complete -c mold -l Bsymbolic-non-weak-functions -d 'This option has the same effect as --Bsymbolic but works only for non-weak fu…'
complete -c mold -l Bno-symbolic -d 'Cancel --Bsymbolic, --Bsymbolic-functions, --Bsymbolic-non-weak and --Bsymbol…'
complete -c mold -l Map -d 'Write map file to file'
complete -c mold -l Tbss -d 'Alias for --section-start=. bss=address'
complete -c mold -l Tdata -d 'Alias for --section-start=. data=address'
complete -c mold -l Ttext -d 'Alias for --section-start=. text=address'
complete -c mold -l allow-multiple-definition -d 'Normally, the linker reports an error if there are more than one definition o…'
complete -c mold -l allow-shlib-undefined -l no-allow-shlib-undefined -d 'Even if mold succeeds in linking a main executable without undefined symbol e…'
complete -c mold -l as-needed -l no-as-needed -d 'By default, shared libraries given to the linker are unconditionally added to…'
complete -c mold -l build-id -d 'Create a . note. gnu'
complete -c mold -l no-build-id -d 'Synonym for --build-id=none'
complete -c mold -l compress-debug-sections -d 'Compress DWARF debug info ('
complete -c mold -l defsym -d 'Define symbol as an alias for value'
complete -c mold -l default-symver -d 'Use soname as a symbol version and append that version to all symbols'
complete -c mold -l demangle -l no-demangle -d 'Demangle C++ and Rust symbols in log messages'
complete -c mold -l dependency-file -d 'Write a dependency file to file'
complete -c mold -l dynamic-list -d 'Read a list of dynamic symbols from file'
complete -c mold -l eh-frame-hdr -l no-eh-frame-hdr -d 'Create . eh_frame_hdr section'
complete -c mold -l emit-relocs -d 'The linker usually "consumes" relocation sections'
complete -c mold -l enable-new-dtags -l disable-new-dtags -d 'By default, mold emits DT_RUNPATH for --rpath'
complete -c mold -l execute-only
complete -c mold -l exclude-libs -d 'Mark all symbols in the given libraries hidden'
complete -c mold -l export-dynamic-symbol -d 'Put symbols matching symbol in the dynamic symbol table'
complete -c mold -l export-dynamic-symbol-list -d 'Read a list of dynamic symbols from file'
complete -c mold -l fatal-warnings -l no-fatal-warnings -d 'Treat warnings as errors'
complete -c mold -l fini -d 'Call symbol at unload-time'
complete -c mold -l gc-sections -l no-gc-sections -d 'Remove unreferenced sections'
complete -c mold -l gdb-index -d 'Create a . gdb_index section to speed up GNU debugger'
complete -c mold -l hash-style -d 'Set hash style'
complete -c mold -l icf -l no-icf -d 'It is not uncommon for a program to contain many identical functions that dif…'
complete -c mold -l ignore-data-address-equality -d 'Make ICF to merge not only functions but also data'
complete -c mold -l image-base -d 'Set the base address to addr'
complete -c mold -l init -d 'Call symbol at load-time'
complete -c mold -l no-undefined -d 'Report undefined symbols (even with --shared)'
complete -c mold -l noinhibit-exec -d 'Create an output file even if errors occur'
complete -c mold -l pack-dyn-relocs -d 'If relr is specified, all R_*_RELATIVE relocations are put into . relr'
complete -c mold -l pie -l pic-executable -l no-pie -l no-pic-executable -d 'Create a position-independent executable'
complete -c mold -l print-gc-sections -l no-print-gc-sections -d 'Print removed unreferenced sections'
complete -c mold -l print-icf-sections -l no-print-icf-sections -d 'Print folded identical sections'
complete -c mold -l push-state -l pop-state
complete -c mold -l whole-archive -l static -l start-lib
complete -c mold -l relax -l no-relax -d 'Rewrite machine instructions with more efficient ones for some relocations'
complete -c mold -l require-defined -d 'Like --undefined, except the new symbol must be defined by the end of the link'
complete -c mold -l retain-symbols-file -d 'Keep only symbols listed in file'
complete -c mold -l rpath -d 'Add dir to runtime search paths'
complete -c mold -l section-start -d 'Set address to section'
complete -c mold -l shared -l Bshareable -d 'Create a share library'
complete -c mold -l spare-dynamic-tags -d 'Append the given number of DT_NULL entries to the end of the '
complete -c mold -l end-lib -d 'Handle object files between --start-lib and --end-lib as if they were in an a…'
complete -c mold -l sysroot -d 'Set target system root directory to dir'
complete -c mold -l trace -d 'Print name of each input file'
complete -c mold -l undefined-glob -d 'Synonym for --undefined, except that --undefined-glob takes a glob pattern in…'
complete -c mold -l undefined-version -l no-undefined-version -d 'By default, mold warns on a symbol specified by a version script or by --expo…'
complete -c mold -l unique -d 'Don\'t merge input sections that match the given glob pattern pattern'
complete -c mold -l unresolved-symbols -d 'How to handle undefined symbols'
complete -c mold -l version-script -d 'Read version script from file'
complete -c mold -l warn-common -l no-warn-common -d 'Warn about common symbols'
complete -c mold -l warn-once -d 'Only warn once for each undefined symbol instead of warn for each relocation …'
complete -c mold -l warn-unresolved-symbols -l error-unresolved-symbols -d 'Normally, the linker reports an error for unresolved symbols'
complete -c mold -l no-whole-archive -d 'When archive files ('
complete -c mold -l wrap -d 'Make symbol be resolved to __wrap_symbol'
complete -c mold -o fcf-protection -d 'mold looks for GNU_PROPERTY_X86_FEATURE_1_IBT bit and GNU_PROPERTY_X86_FEATUR…'
complete -c mold -o EL -o Onumber -l dc -l dp -l no-add-needed -l no-copy-dt-needed-entries -l nostdlib -l rpath-link -l sort-common -l sort-section -l warn-constructors -l fix-cortex-a53-835769 -l fix-cortex-a53-843419 -d 'Ignored ENVIRONMENT VARIABLES'

