-a KEYWORD | This option is supported for HP/UX compatibility. | help + man |
-b, --format TARGET | ld may be configured to support more than one kind of object file. | help + man + man |
-c, --mri-script FILE | For compatibility with linkers produced by MRI, ld accepts script files written in an alternate, restricted command language, described in the MRI Compatible Script Files section of GNU ld… | help + man + man |
-d, -dc, -dp | These three options are equivalent; | help + man + man + man |
--dependency-file FILE | Write a dependency file to depfile. | help + man |
--force-group-allocation | This option causes the linker to place section group members like normal input sections, and to delete the section groups. | help + man |
-E, --export-dynamic | Export all dynamic symbols | help + man + man |
--no-export-dynamic | When creating a dynamically linked executable, using the -E option or the --export-dynamic option causes the linker to add all symbols to the dynamic symbol table. | help + man |
--enable-non-contiguous-regions | This option avoids generating an error if an input section does not fit a matching output section. | help + man |
--enable-non-contiguous-regions-warnings | This option enables warnings when "--enable-non-contiguous-regions" allows possibly unexpected matches in sections mapping, potentially leading to silently discarding a section instead of failing… | help + man |
--disable-linker-version | Disables the "LINKER_VERSION" linker script directive, so that it does not insert a version string. | help + man |
--enable-linker-version | Enables the "LINKER_VERSION" linker script directive, described in Output Section Data. | help + man |
-EB | Link big-endian objects. | help + man |
-EL | Link little-endian objects. | help + man |
-F, --filter SHLIB | When creating an ELF shared object, set the internal DT_FILTER field to the specified name. | help + man + man |
-g | Ignored. | help + man |
-G, --gpsize SIZE | Set the maximum size of objects to be optimized using the GP register to size. | help + man + man |
--no-dynamic-linker | When producing an executable file, omit the request for a dynamic linker to be used at load-time. | help + man |
--sysroot DIRECTORY | Use directory as the location of the sysroot, overriding the configure-time default. | help + man |
-m EMULATION | Emulate the emulation linker. | help + man |
-M, --print-map | Print a link map to the standard output. | help + man + man |
-n, --nmagic | Turn off page alignment of sections, and disable linking against shared libraries. | help + man + man |
-N, --omagic | Set the text and data sections to be readable and writable. | help + man + man |
--no-omagic | This option negates most of the effects of the -N option. | help + man |
-o, --output FILE | Use output as the name for the program produced by ld; | help + man + man |
-O LEVEL | If level is a numeric values greater than zero ld optimizes the output. | help + man |
--out-implib FILE | Create an import library in file corresponding to the executable the linker is generating (eg. | help + man |
-plugin PLUGIN | Involve a plugin in the linking process. | help + man |
-plugin-opt ARG | Send arg to last-loaded plugin | help |
-plugin-save-temps | Store the plugin "temporary" intermediate files permanently. | help + man |
-flto | Ignored for GCC LTO option compatibility | help |
-flto-partition | Ignored for GCC LTO option compatibility | help |
-fuse-ld | Ignored for GCC linker option compatibility | help |
--map-whole-files | Ignored for gold option compatibility | help |
--no-map-whole-files | Ignored for gold option compatibility | help |
-Qy | This option is ignored for SVR4 compatibility. | help + man |
-q, --emit-relocs | Leave relocation sections and contents in fully linked executables. | help + man + man |
-r, -i, --relocatable | Generate relocatable output---i.e., generate an output file that can in turn serve as input to ld. | help + man + man + man |
--remap-inputs-file FILE | These options allow the names of input files to be changed before the linker attempts to open them. | help + man |
-s, --strip-all | Omit all symbol information from the output file. | help + man + man |
-S, --strip-debug | Omit debugger symbol information (but not all symbols) from the output file. | help + man + man |
--strip-discarded | Strip symbols in discarded sections | help + man |
--no-strip-discarded | Omit (or do not omit) global symbols defined in discarded sections. | help + man |
-t, --trace | Print the names of the input files as ld processes them. | help + man + man |
-T, --script FILE | Use scriptfile as the linker script. | help + man + man |
--default-script, -dT FILE | Use scriptfile as the default linker script. | help + man + man |
--require-defined SYMBOL | Require that symbol is defined in the output file. | help + man |
--unique SECTION | Don't merge input [SECTION | orphan] sections | help |
-Ur | For programs that do not use constructors or destructors, or for ELF based systems this option is equivalent to -r: it generates relocatable output---i.e., an output file that can in turn serve as… | help + man |
-v, --version | Print version information | help + man + man |
-V | Print version and emulation information | help + man |
-x, --discard-all | Discard all local symbols | help + man + man |
-X, --discard-locals | Discard temporary local symbols (default) | help + man + man |
--discard-none | Don't discard any local symbols | help |
-Y PATH | Default search path for Solaris compatibility | help + man |
--start-group archives | The archives should be a list of archive files. | help + man |
--end-group | End a group | help |
--no-accept-unknown-input-arch | Tells the linker to accept input files whose architecture cannot be recognised. | help + man |
--as-needed | Only set DT_NEEDED for following dynamic libs if used | help + man |
--no-as-needed | This option affects ELF DT_NEEDED tags for dynamic libraries mentioned on the command line after the --as-needed option. | help + man |
-assert KEYWORD | This option is ignored for SunOS compatibility. | help + man |
-Bdynamic, -dy, -call_shared | Link against dynamic libraries. | help + man + man + man |
-Bstatic, -dn, -non_shared, -static | Do not link against shared libraries. | help + man + man + man + man |
-Bno-symbolic | This option can cancel previously specified -Bsymbolic and -Bsymbolic-functions. | help + man |
-Bsymbolic | When creating a shared library, bind references to global symbols to the definition within the shared library, if any. | help + man |
-Bsymbolic-functions | When creating a shared library, bind references to global function symbols to the definition within the shared library, if any. | help + man |
--check-sections | Check section addresses for overlaps (default) | help + man |
--no-check-sections | Asks the linker not to check section addresses after they have been assigned to see if there are any overlaps. | help + man |
--copy-dt-needed-entries | Copy DT_NEEDED links mentioned inside DSOs that follow | help + man |
--cref | Output a cross reference table. | help + man |
--defsym SYMBOL=EXPRESSION | Create a global symbol in the output file, containing the absolute address given by expression. | help + man |
--demangle STYLE | Demangle symbol names [using STYLE] | help |
--embedded-relocs | This option is similar to the --emit-relocs option except that the relocs are stored in a target-specific section. | help + man |
--fatal-warnings | Treat warnings as errors | help + man |
--no-fatal-warnings | Do not treat warnings as errors (default) | help + man |
-fini SYMBOL | When creating an ELF executable or shared object, call NAME when the executable or shared object is unloaded, by setting DT_FINI to the address of the function. | help + man |
--force-exe-suffix | Make sure that an output file has a .exe suffix. | help + man |
--gc-sections | Remove unused sections (on some targets) | help + man |
--no-gc-sections | Enable garbage collection of unused input sections. | help + man |
--print-gc-sections | List removed unused sections on stderr | help + man |
--no-print-gc-sections | List all sections removed by garbage collection. | help + man |
--gc-keep-exported | When --gc-sections is enabled, this option prevents garbage collection of unused input sections that contain global symbols having default or protected visibility. | help + man |
--hash-size NUMBER | Set the default size of the linker's hash tables to a prime number close to number. | help + man |
--help | Print a summary of the command-line options on the standard output and exit. | help + man |
-init SYMBOL | When creating an ELF executable or shared object, call NAME when the executable or shared object is loaded, by setting DT_INIT to the address of the function. | help + man |
-Map FILE/DIR | Write a linker map to FILE or DIR/<outputname>.map | help + man |
--no-define-common | This option inhibits the assignment of addresses to common symbols. | help + man |
--no-demangle | These options control whether to demangle symbol names in error messages and other output. | help + man |
--no-keep-memory | ld normally optimizes for speed over memory usage by caching the symbol tables of input files in memory. | help + man |
--no-undefined | Do not allow unresolved references in object files | help + man |
-w, --no-warnings | Do not display any warning or error messages. | help + man + man |
--allow-shlib-undefined | Allow unresolved references in shared libraries | help + man |
--no-allow-shlib-undefined | Allows or disallows undefined symbols in shared libraries. | help + man |
--error-handling-script SCRIPT | If this option is provided then the linker will invoke scriptname whenever an error is encountered. | help + man |
--undefined-version | Allow undefined version | help |
--no-undefined-version | Normally when a symbol has an undefined version, the linker will ignore it. | help + man |
--default-symver | Create and use a default symbol version (the soname) for unversioned exported symbols. | help + man |
--default-imported-symver | Create and use a default symbol version (the soname) for unversioned imported symbols. | help + man |
--no-warn-mismatch | Normally ld will give an error if you try to link together input files that are mismatched for some reason, perhaps because they have been compiled for different processors or for different… | help + man |
--no-warn-search-mismatch | Normally ld will give a warning if it finds an incompatible library during a library search. | help + man |
--no-whole-archive | Turn off the effect of the --whole-archive option for subsequent archive files. | help + man |
--no-link-mapless | Reject archives that lack an index aka symbol map for all the subsequent archives referred on the command line. | help + man |
--end-lib | Treat files specified as link objects | help |
--noinhibit-exec | Retain the executable output file whenever it is still usable. | help + man |
-nostdlib | Only search library directories explicitly specified on the command line. | help + man |
--oformat TARGET | ld may be configured to support more than one kind of object file. | help + man |
--print-output-format | Print the name of the default output format (perhaps influenced by other command-line options). | help + man |
--print-sysroot | Print current sysroot | help |
-qmagic | This option is ignored for Linux compatibility. | help + man |
--reduce-memory-overheads | This option reduces memory requirements at ld runtime, at the expense of linking speed. | help + man |
--max-cache-size SIZE | ld normally caches the relocation information and symbol tables of input files in memory with the unlimited size. | help + man |
--relax | Reduce code size by using target specific optimizations | help + man |
--no-relax | Do not use relaxation techniques to reduce code size | help + man |
--retain-symbols-file FILE | Retain only the symbols listed in the file filename, discarding all others. | help + man |
-rpath PATH | Add a directory to the runtime library search path. | help + man |
-rpath-link PATH | When using ELF or SunOS, one shared library may require another. | help + man |
-shared, -Bshareable | Create a shared library. | help + man + man |
-pie, --pic-executable | Create a position independent executable. | help + man + man |
-no-pie | Create a position dependent executable (default) | help + man |
--sort-common ascending|descending | Sort common symbols by alignment [in specified order] | help + man |
--sort-section name|alignment | This option will apply "SORT_BY_NAME" to all wildcard section patterns in the linker script. | help + man |
--section-ordering-file FILE | This option is used to augment the current linker script with additional mapping of input sections to output sections. | help + man |
--spare-dynamic-tags COUNT | This option specifies the number of empty slots to leave in the .dynamic section of ELF shared objects. | help + man |
--split-by-file SIZE | Split output sections every SIZE octets | help |
--split-by-reloc COUNT | Split output sections every COUNT relocs | help |
--stats | Print resource usage statistics | help |
--no-stats | Disables the reporting of usage statistics, should it have been enabled via the --stats command line option or the LD_STATS environment variable. | help + man |
--target-help | Print a summary of all target-specific options on the standard output and exit. | help + man |
--task-link SYMBOL | This is used by COFF/PE based targets to create a task-linked object file where all of the global symbols have been converted to statics. | help + man |
--traditional-format | For some targets, the output of ld is different in some ways from the output of some existing linker. | help + man |
--section-start SECTION=ADDRESS | Locate a section in the output file at the absolute address given by org. | help + man |
--image-base ADDRESS | When using ELF, same as -Ttext-segment, with both options effectively setting the base address of the ELF executable. | help + man |
-Tbss ADDRESS | Set address of .bss section | help + man |
-Tdata ADDRESS | Set address of .data section | help + man |
-Ttext ADDRESS | Same as --section-start, with ".bss", ".data" or ".text" as the sectionname. | help + man |
-Ttext-segment ADDRESS | When creating an ELF executable, it will set the address of the first byte of the first segment. | help + man |
-Trodata-segment ADDRESS | When creating an ELF executable or shared object for a target where the read-only data is in its own segment separate from the executable text, it will set the address of the first byte of the… | help + man |
-Tldata-segment ADDRESS | When creating an ELF executable or shared object for x86-64 medium memory model, it will set the address of the first byte of the ldata segment. | help + man |
--unresolved-symbols method | Determine how to handle unresolved symbols. | help + man |
--verbose NUMBER | Output lots of information during link | help |
--version-script FILE | Specify the name of a version script to the linker. | help + man |
--version-exports-section SYMBOL | Take export symbols list from .exports, using SYMBOL as the version. | help |
--dynamic-list-data | Include all global data symbols to the dynamic list. | help + man |
--dynamic-list-cpp-new | Provide the builtin dynamic list for C++ operator new and delete. | help + man |
--dynamic-list FILE | Specify the name of a dynamic list file to the linker. | help + man |
--export-dynamic-symbol SYMBOL | When creating a dynamically linked executable, symbols matching glob will be added to the dynamic symbol table. | help + man |
--export-dynamic-symbol-list FILE | Specify a --export-dynamic-symbol for each pattern in the file. | help + man |
--warn-common | Warn when a common symbol is combined with another common symbol or with a symbol definition. | help + man |
--warn-constructors, --error-execstack, --no-error-execstack, --warn-execstack-objects, --warn-execstack, --no-warn-execstack, --error-rwx-segments, --no-error-rwx-segments, --warn-rwx-segments, --no-warn-rwx-segments | If the linker is going to generate a warning message about an executable, writeable segment, or an executable TLS segment, then the --error-rwx-segments option will turn this warning into an error… | help + man + man + man + man + man + man + man + man + man + man |
--warn-multiple-gp | Warn if multiple global pointer values are required in the output file. | help + man |
--warn-once | Only warn once for each undefined symbol, rather than once per module which refers to it. | help + man |
--warn-section-align | Warn if the address of an output section is changed because of alignment. | help + man |
--warn-textrel | Warn if the linker adds DT_TEXTREL to a position-independent executable or shared object. | help + man |
--warn-alternate-em | Warn if an object has alternate ELF machine code. | help + man |
--warn-unresolved-symbols | If the linker is going to report an unresolved symbol (see the option --unresolved-symbols) it will normally generate an error. | help + man |
--error-unresolved-symbols | This restores the linker's default behaviour of generating errors when it is reporting unresolved symbols. | help + man |
--whole-archive | For each archive mentioned on the command line after the --whole-archive option, include every object file in the archive in the link, rather than searching the archive for the required object files. | help + man |
--link-mapless | Accept archives that lack an index aka symbol map for all the subsequent archives referred on the command line. | help + man |
--start-lib objects | Treat files specified as artificial archive members | help + man |
--wrap SYMBOL | Use a wrapper function for symbol. | help + man |
--ignore-unresolved-symbol SYMBOL | Unresolved SYMBOL will not cause an error or warning | help |
--push-state | The --push-state allows one to preserve the current state of the flags which govern the input file handling so that they can all be restored with one corresponding --pop-state option. | help + man |
--pop-state | Undoes the effect of --push-state, restores the previous values of the flags governing input file handling. | help + man |
--print-memory-usage | Print used size, total size and used size of memory regions created with the MEMORY command. | help + man |
--orphan-handling MODE | Control how orphan sections are handled. | help + man |
--print-map-discarded | Show discarded sections in map file output (default) | help + man |
--no-print-map-discarded | Print (or do not print) the list of discarded and garbage collected sections in the link map. | help + man |
--print-map-locals | Show local symbols in map file output | help + man |
--no-print-map-locals | Do not show local symbols in map file output (default) | help + man |
--ctf-variables | Emit names and types of static variables in CTF | help + man |
--no-ctf-variables | The CTF debuginfo format supports a section which encodes the names and types of variables found in the program which do not appear in any symbol table. | help + man |
--ctf-share-types method | Adjust the method used to share types between translation units in CTF. | help + man |
--build-id STYLE | Generate build ID note Styles: none,md5,sha1,uuid,0xHEX | help + man |
--package-metadata JSON | Request the creation of a ".note.package" ELF note section. | help + man |
--compress-debug-sections none|zlib|zlib-gnu|zlib-gabi|zstd | Compress DWARF debug sections Default: none | help + man |
-z common-page-size=SIZE | Set common page size to SIZE | help + man |
--audit AUDITLIB | Adds AUDITLIB to the "DT_AUDIT" entry of the dynamic section. | help + man |
-Bgroup | Set the "DF_1_GROUP" flag in the "DT_FLAGS_1" entry in the dynamic section. | help + man |
--disable-new-dtags | This linker can create the new dynamic tags in ELF. | help + man |
--enable-new-dtags | Enable new dynamic tags | help + man |
--eh-frame-hdr | Create .eh_frame_hdr section | help + man |
--no-eh-frame-hdr | Request (--eh-frame-hdr) or suppress (--no-eh-frame-hdr) the creation of ".eh_frame_hdr" section and ELF "PT_GNU_EH_FRAME" segment header. | help + man |
--exclude-libs LIBS | Specifies a list of archive libraries from which symbols should not be automatically exported. | help + man |
--hash-style STYLE | Set the type of linker's hash table(s). | help + man |
-P, --depaudit AUDITLIB | Adds AUDITLIB to the "DT_DEPAUDIT" entry of the dynamic section. | help + man + man |
--rosegment | With -z separate-code, create a single read-only segment | help + man |
--no-rosegment | Attempt to ensure that only a single read-only, non-code segment is created. | help + man |
--thumb-entry sym | Set the entry point to be Thumb symbol <sym> | help |
--be8 | Output BE8 format image | help |
--target1-rel | Interpret R_ARM_TARGET1 as R_ARM_REL32 | help |
--target1-abs | Interpret R_ARM_TARGET1 as R_ARM_ABS32 | help |
--target2 type | Specify definition of R_ARM_TARGET2 | help |
--fix-v4bx | Rewrite BX rn as MOV pc, rn for ARMv4 | help |
--fix-v4bx-interworking | Rewrite BX rn branch to ARMv4 interworking veneer | help |
--use-blx | Enable use of BLX instructions | help |
--vfp11-denorm-fix | Specify how to fix VFP11 denorm erratum | help |
--fix-stm32l4xx-629360 | Specify how to fix STM32L4XX 629360 erratum | help |
--no-enum-size-warning | Don't warn about objects with incompatible enum sizes | help |
--no-wchar-size-warning | Don't warn about objects with incompatible wchar_t sizes | help |
--pic-veneer | Always generate PIC interworking veneers | help |
--long-plt | Generate long .plt entries to handle large .plt/.got displacements | help |
--cmse-implib | Make import library to be a secure gateway import library as per ARMv8-M Security Extensions | help |
--in-implib | Import library whose symbols address must remain stable | help |
--stub-group-size N | Maximum size of a group of input sections that can be handled by one stub section. | help + man |
--no-merge-exidx-entries | Disable merging exidx entries | help |
-e entry | (in the manual page but not in --help) | man |
--entry entry | Use entry as the explicit symbol for beginning execution of your program, rather than the default entry point. (in the manual page but not in --help) | man |
--exclude-modules-for-implib module | Specifies a list of object files or archive members, from which symbols should not be automatically exported, but which should be copied wholesale into the import library being generated during the… (in the manual page but not in --help) | man |
-f name | (in the manual page but not in --help) | man |
--auxiliary name | When creating an ELF shared object, set the internal DT_AUXILIARY field to the specified name. (in the manual page but not in --help) | man |
-h name | (in the manual page but not in --help) | man |
-soname name | When creating an ELF shared object, set the internal DT_SONAME field to the specified name. (in the manual page but not in --help) | man |
-l namespec | (in the manual page but not in --help) | man |
--library namespec | Add the archive or object file specified by namespec to the list of files to link. (in the manual page but not in --help) | man |
-L searchdir | (in the manual page but not in --help) | man |
--library-path searchdir | Add path searchdir to the list of paths that ld will search for archive libraries and ld control scripts. (in the manual page but not in --help) | man |
--remap-inputs pattern=filename | (in the manual page but not in --help) | man |
--force-dynamic | Force the output file to have dynamic sections. (in the manual page but not in --help) | man |
-R filename | (in the manual page but not in --help) | man |
--just-symbols filename | Read symbol names and their addresses from filename, but do not relocate it or include it in the output. (in the manual page but not in --help) | man |
-u symbol | (in the manual page but not in --help) | man |
--undefined symbol | Force symbol to be entered in the output file as an undefined symbol. (in the manual page but not in --help) | man |
-y symbol | (in the manual page but not in --help) | man |
--trace-symbol symbol | Print the name of each linked file in which symbol appears. (in the manual page but not in --help) | man |
--gnu-tls-tag | (in the manual page but not in --help) | man |
--no-gnu-tls-tag | Add "GLIBC_ABI_GNU_TLS" version tag dependency in output programs and shared libraries when linking against glibc if input relocatable object files call "___tls_get_addr". (in the manual page but not in --help) | man |
--gnu2-tls-tag | (in the manual page but not in --help) | man |
--no-gnu2-tls-tag | Add "GLIBC_ABI_GNU2_TLS" version tag dependency in output programs and shared libraries when linking against glibc if input relocatable object files have "R_386_TLS_DESC_CALL" or… (in the manual page but not in --help) | man |
--accept-unknown-input-arch | (in the manual page but not in --help) | man |
--add-needed | (in the manual page but not in --help) | man |
--no-add-needed | These two options have been deprecated because of the similarity of their names to the --as-needed and --no-as-needed options. (in the manual page but not in --help) | man |
--dynamic-list-cpp-typeinfo | Provide the builtin dynamic list for C++ runtime type identification. (in the manual page but not in --help) | man |
--no-copy-dt-needed-entries | This option affects the treatment of dynamic libraries referred to by DT_NEEDED tags inside ELF dynamic libraries mentioned on the command line. (in the manual page but not in --help) | man |
-Ifile | (in the manual page but not in --help) | man |
--dynamic-linker file | Set the name of the dynamic linker. (in the manual page but not in --help) | man |
--disable-multiple-abs-defs | Do not allow multiple definitions with symbols included in filename invoked by -R or --just-symbols (in the manual page but not in --help) | man |
--allow-multiple-definition | (in the manual page but not in --help) | man |
--dll-verbose | [--verbose[=NUMBER]](#verbose_=) (in the manual page but not in --help) | man |
--no-ld-generated-unwind-info | Request creation of ".eh_frame" unwind info for linker generated code sections like PLT. (in the manual page but not in --help) | man |
--discard-sframe | Discard ".sframe" stack trace info from the output. (in the manual page but not in --help) | man |
--add-stdcall-alias | If given, symbols with a stdcall suffix (@nn) will be exported as-is and also with the suffix stripped. (in the manual page but not in --help) | man |
--base-file file | Use file as the name of a file in which to save the base addresses of all the relocations needed for generating DLLs with dlltool. (in the manual page but not in --help) | man |
--dll | Create a DLL instead of a regular executable. (in the manual page but not in --help) | man |
--enable-long-section-names | (in the manual page but not in --help) | man |
--disable-long-section-names | The PE variants of the COFF object format add an extension that permits the use of section names longer than eight characters, the normal limit for COFF. (in the manual page but not in --help) | man |
--enable-stdcall-fixup | (in the manual page but not in --help) | man |
--disable-stdcall-fixup | If the link finds a symbol that it cannot resolve, it will attempt to do "fuzzy linking" by looking for another defined symbol that differs only in the format of the symbol name (cdecl vs stdcall)… (in the manual page but not in --help) | man |
--leading-underscore | (in the manual page but not in --help) | man |
--no-leading-underscore | For most targets default symbol-prefix is an underscore and is defined in target's description. (in the manual page but not in --help) | man |
--export-all-symbols | If given, all global symbols in the objects used to build a DLL will be exported by the DLL. (in the manual page but not in --help) | man |
--exclude-symbols symbol | Specifies a list of symbols which should not be automatically exported. (in the manual page but not in --help) | man |
--exclude-all-symbols | Specifies no symbols should be automatically exported. (in the manual page but not in --help) | man |
--file-alignment | Specify the file alignment. (in the manual page but not in --help) | man |
--heap reserve | (in the manual page but not in --help) | man |
--kill-at | If given, the stdcall suffixes (@nn) will be stripped from symbols before they are exported. (in the manual page but not in --help) | man |
--large-address-aware | If given, the appropriate bit in the "Characteristics" field of the COFF header is set to indicate that this executable supports virtual addresses greater than 2 gigabytes. (in the manual page but not in --help) | man |
--disable-large-address-aware | Reverts the effect of a previous --large-address-aware option. (in the manual page but not in --help) | man |
--major-image-version value | Sets the major number of the "image version". (in the manual page but not in --help) | man |
--major-os-version value | Sets the major number of the "os version". (in the manual page but not in --help) | man |
--major-subsystem-version value | Sets the major number of the "subsystem version". (in the manual page but not in --help) | man |
--minor-image-version value | Sets the minor number of the "image version". (in the manual page but not in --help) | man |
--minor-os-version value | Sets the minor number of the "os version". (in the manual page but not in --help) | man |
--minor-subsystem-version value | Sets the minor number of the "subsystem version". (in the manual page but not in --help) | man |
--output-def file | The linker will create the file file which will contain a DEF file corresponding to the DLL the linker is generating. (in the manual page but not in --help) | man |
--enable-auto-image-base | (in the manual page but not in --help) | man |
--disable-auto-image-base | Do not automatically generate a unique image base. (in the manual page but not in --help) | man |
--dll-search-prefix string | When linking dynamically to a dll without an import library, search for "<string><basename>.dll" in preference to "lib<basename>.dll". (in the manual page but not in --help) | man |
--enable-auto-import | Do sophisticated linking of "_symbol" to "__imp__symbol" for DATA imports from DLLs, thus making it possible to bypass the dllimport mechanism on the user side and to reference unmangled symbol names. (in the manual page but not in --help) | man |
--disable-auto-import | Do not attempt to do sophisticated linking of "_symbol" to "__imp__symbol" for DATA imports from DLLs. (in the manual page but not in --help) | man |
--enable-runtime-pseudo-reloc | If your code contains expressions described in --enable-auto-import section, that is, DATA imports from DLL with non-zero offset, this switch will create a vector of 'runtime pseudo relocations'… (in the manual page but not in --help) | man |
--disable-runtime-pseudo-reloc | Do not create pseudo relocations for non-zero offset DATA imports from DLLs. (in the manual page but not in --help) | man |
--enable-extra-pe-debug | Show additional debug info related to auto-import symbol thunking. (in the manual page but not in --help) | man |
--section-alignment | Sets the section alignment. (in the manual page but not in --help) | man |
--stack reserve | (in the manual page but not in --help) | man |
--subsystem which | (in the manual page but not in --help) | man |
--high-entropy-va | (in the manual page but not in --help) | man |
--disable-high-entropy-va | Image is compatible with 64-bit address space layout randomization (ASLR). (in the manual page but not in --help) | man |
--dynamicbase | (in the manual page but not in --help) | man |
--disable-dynamicbase | The image base address may be relocated using address space layout randomization (ASLR). (in the manual page but not in --help) | man |
--forceinteg | (in the manual page but not in --help) | man |
--disable-forceinteg | Code integrity checks are enforced. (in the manual page but not in --help) | man |
--nxcompat | (in the manual page but not in --help) | man |
--disable-nxcompat | The image is compatible with the Data Execution Prevention. (in the manual page but not in --help) | man |
--no-isolation | (in the manual page but not in --help) | man |
--disable-no-isolation | Although the image understands isolation, do not isolate the image. (in the manual page but not in --help) | man |
--no-seh | (in the manual page but not in --help) | man |
--disable-no-seh | The image does not use SEH. (in the manual page but not in --help) | man |
--no-bind | (in the manual page but not in --help) | man |
--disable-no-bind | Do not bind this image. (in the manual page but not in --help) | man |
--wdmdriver | (in the manual page but not in --help) | man |
--disable-wdmdriver | The driver uses the MS Windows Driver Model. (in the manual page but not in --help) | man |
--tsaware | (in the manual page but not in --help) | man |
--disable-tsaware | The image is Terminal Server aware. (in the manual page but not in --help) | man |
--insert-timestamp | (in the manual page but not in --help) | man |
--no-insert-timestamp | Insert a real timestamp into the image. (in the manual page but not in --help) | man |
--enable-reloc-section | (in the manual page but not in --help) | man |
--disable-reloc-section | Create the base relocation table, which is necessary if the image is loaded at a different image base than specified in the PE header. (in the manual page but not in --help) | man |
--dsbt-size size | This option sets the number of entries in the DSBT of the current executable or shared library to size. (in the manual page but not in --help) | man |
--dsbt-index index | This option sets the DSBT index of the current executable or shared library to index. (in the manual page but not in --help) | man |
--branch-stub | This option enables linker branch relaxation by inserting branch stub sections when needed to extend the range of branches. (in the manual page but not in --help) | man |
--no-trampoline | This option disables the generation of trampoline. (in the manual page but not in --help) | man |
--bank-window name | This option indicates to the linker the name of the memory region in the MEMORY specification that describes the memory bank window. (in the manual page but not in --help) | man |
--got type | This option tells the linker which GOT generation scheme to use. (in the manual page but not in --help) | man |
--insn32 | (in the manual page but not in --help) | man |
--no-insn32 | These options control the choice of microMIPS instructions used in code generated by the linker, such as that in the PLT or lazy binding stubs, or in relaxation. (in the manual page but not in --help) | man |
--ignore-branch-isa | (in the manual page but not in --help) | man |
--no-ignore-branch-isa | These options control branch relocation checks for invalid ISA mode transitions. (in the manual page but not in --help) | man |
--compact-branches | (in the manual page but not in --help) | man |
--no-compact-branches | These options control the generation of compact instructions by the linker in the PLT entries for MIPS R6. (in the manual page but not in --help) | man |
--imagic | Mark the output as "IMAGIC" (0411) in the a.out header to indicate that when the output file is executed, the program text and data areas will be loaded into separate address spaces using the split… (in the manual page but not in --help) | man |