bpf-ld.bfd(1) on Linux
The text 954dfbb46560, as Debian 13 (Trixie) shipped it. The page shows this text now.
The GNU linker
Flags it lists
-
-( -
-) -
--accept-unknown-input-arch -
--add-needed -
--add-stdcall-alias -
--allow-multiple-definition -
--allow-shlib-undefined -
--as-needed -
--audit -
--auxiliary -
--bank-window -
--base-file -
--branch-stub -
--build-id -
--check-sections -
--compact-branches -
--compress-debug-sections -
--copy-dt-needed-entries -
--cref -
--ctf-share-types -
--ctf-variables -
--default-imported-symver -
--default-script -
--default-symver -
--defsym -
--demangle -
--depaudit -
--dependency-file -
--disable-auto-image-base -
--disable-auto-import -
--disable-dynamicbase -
--disable-forceinteg -
--disable-high-entropy-va -
--disable-large-address-aware -
--disable-linker-version -
--disable-long-section-names -
--disable-multiple-abs-defs -
--disable-new-dtags -
--disable-no-bind -
--disable-no-isolation -
--disable-no-seh -
--disable-nxcompat -
--disable-reloc-section -
--disable-runtime-pseudo-reloc -
--disable-stdcall-fixup -
--disable-tsaware -
--disable-wdmdriver -
--discard-all -
--discard-locals -
--dll -
--dll-search-prefix -
--dll-verbose -
--dsbt-index -
--dsbt-size -
--dynamic-linker -
--dynamic-list -
--dynamic-list-cpp-new -
--dynamic-list-cpp-typeinfo -
--dynamic-list-data -
--dynamicbase -
--eh-frame-hdr -
--embedded-relocs -
--emit-relocs -
--enable-auto-image-base -
--enable-auto-import -
--enable-extra-pe-debug -
--enable-linker-version -
--enable-long-section-names -
--enable-new-dtags -
--enable-non-contiguous-regions -
--enable-non-contiguous-regions-warnings -
--enable-reloc-section -
--enable-runtime-pseudo-reloc -
--enable-stdcall-fixup -
--end-group -
--entry -
--error-execstack -
--error-handling-script -
--error-rwx-segments -
--error-unresolved-symbols -
--exclude-all-symbols -
--exclude-libs -
--exclude-modules-for-implib -
--exclude-symbols -
--export-all-symbols -
--export-dynamic -
--export-dynamic-symbol -
--export-dynamic-symbol-list -
--fatal-warnings -
--file-alignment -
--filter -
--force-dynamic -
--force-exe-suffix -
--force-group-allocation -
--forceinteg -
--format -
--gc-keep-exported -
--gc-sections -
--got -
--gpsize -
--hash-size -
--hash-style -
--heap -
--help -
--high-entropy-va -
--ignore-branch-isa -
--image-base -
--imagic -
--insert-timestamp -
--insn32 -
--just-symbols -
--kill-at -
--large-address-aware -
--leading-underscore -
--library -
--library-path -
--major-image-version -
--major-os-version -
--major-subsystem-version -
--max-cache-size -
--minor-image-version -
--minor-os-version -
--minor-subsystem-version -
--mri-script -
--nmagic -
--no-accept-unknown-input-arch -
--no-add-needed -
--no-allow-shlib-undefined -
--no-as-needed -
--no-bind -
--no-check-sections -
--no-compact-branches -
--no-copy-dt-needed-entries -
--no-ctf-variables -
--no-define-common -
--no-demangle -
--no-dynamic-linker -
--no-eh-frame-hdr -
--no-error-execstack -
--no-error-rwx-segments -
--no-export-dynamic -
--no-fatal-warnings -
--no-gc-sections -
--no-ignore-branch-isa -
--no-insert-timestamp -
--no-insn32 -
--no-isolation -
--no-keep-memory -
--no-ld-generated-unwind-info -
--no-leading-underscore -
--no-omagic -
--no-print-gc-sections -
--no-print-map-discarded -
--no-print-map-locals -
--no-relax -
--no-rosegment -
--no-seh -
--no-strip-discarded -
--no-trampoline -
--no-undefined -
--no-undefined-version -
--no-warn-execstack -
--no-warn-mismatch -
--no-warn-rwx-segments -
--no-warn-search-mismatch -
--no-warnings -
--no-whole-archive -
--noinhibit-exec -
--nxcompat -
--oformat -
--omagic -
--orphan-handling -
--out-implib -
--output -
--output-def -
--package-metadata -
--pic-executable -
--pop-state -
--print-gc-sections -
--print-map -
--print-map-discarded -
--print-map-locals -
--print-memory-usage -
--print-output-format -
--push-state -
--reduce-memory-overheads -
--relax -
--relocatable -
--remap-inputs -
--remap-inputs-file -
--require-defined -
--retain-symbols-file -
--rosegment -
--script -
--section-alignment -
--section-ordering-file -
--section-start -
--sort-common -
--sort-section -
--spare-dynamic-tags -
--split-by-file -
--split-by-reloc -
--stack -
--start-group -
--stats -
--strip-all -
--strip-debug -
--strip-discarded -
--stub-group-size -
--subsystem -
--sysroot -
--target-help -
--task-link -
--trace -
--trace-symbol -
--traditional-format -
--tsaware -
--undefined -
--unique -
--unresolved-symbols -
--verbose -
--version -
--version-script -
--warn-alternate-em -
--warn-common -
--warn-constructors -
--warn-execstack -
--warn-execstack-objects -
--warn-multiple-gp -
--warn-once -
--warn-rwx-segments -
--warn-section-align -
--warn-textrel -
--warn-unresolved-symbols -
--wdmdriver -
--whole-archive -
--wrap -
-Bdynamic -
-Bgroup -
-Bno-symbolic -
-Bshareable -
-Bstatic -
-Bsymbolic -
-Bsymbolic-functions -
-E -
-EB -
-EL -
-F -
-G -
-I -
-L -
-M -
-Map -
-N -
-O -
-P -
-Qy -
-R -
-S -
-T -
-Tbss -
-Tdata -
-Tldata-segment -
-Trodata-segment -
-Ttext -
-Ttext-segment -
-Ur -
-V -
-X -
-Y -
-a -
-assert -
-b -
-c -
-call_shared -
-d -
-dT -
-dc -
-dn -
-dp -
-dy -
-e -
-f -
-fini -
-g -
-h -
-i -
-init -
-l -
-m -
-n -
-no-pie -
-non_shared -
-nostdlib -
-o -
-pie -
-plugin -
-plugin-save-temps -
-q -
-qmagic -
-r -
-rpath -
-rpath-link -
-s -
-shared -
-soname -
-static -
-t -
-u -
-v -
-w -
-x -
-y -
-z