avr-ld(1) on Linux
The text 34e97900a9ed, as Debian 3.1 (Sarge) shipped it.
Using LD, the GNU linker
Flags it lists
-
-( -
-) -
--accept-unknown-input-arch -
--add-stdcall-alias -
--allow-multiple-definition -
--allow-shlib-undefined -
--architecture -
--as-needed -
--auxiliary -
--base-file -
--check-sections -
--cref -
--defsym -
--demangle -
--disable-auto-image-base -
--disable-auto-import -
--disable-new-dtags -
--disable-runtime-pseudo-reloc -
--disable-stdcall-fixup -
--discard-all -
--discard-locals -
--dll -
--dll-search-prefix -
--dll-verbose -
--dynamic-linker -
--embedded-relocs -
--emit-relocs -
--enable-auto-image-base -
--enable-auto-import -
--enable-extra-pe-debug -
--enable-new-dtags -
--enable-runtime-pseudo-reloc -
--enable-stdcall-fixup -
--end-group -
--entry -
--error-unresolved-symbols -
--exclude-libs -
--exclude-symbols -
--export-all-symbols -
--export-dynamic -
--fatal-warnings -
--file-alignment -
--filter -
--force-exe-suffix -
--format -
--gc-sections -
--gpsize -
--heap -
--help -
--image-base -
--just-symbols -
--kill-at -
--library -
--library-path -
--major-image-version -
--major-os-version -
--major-subsystem-version -
--minor-image-version -
--minor-os-version -
--minor-subsystem-version -
--mri-script -
--nmagic -
--no-accept-unknown-input-arch -
--no-allow-shlib-undefined -
--no-as-needed -
--no-check-sections -
--no-define-common -
--no-demangle -
--no-gc-sections -
--no-keep-memory -
--no-omagic -
--no-undefined -
--no-undefined-version -
--no-warn-mismatch -
--no-whole-archive -
--noinhibit-exec -
--oformat -
--omagic -
--out-implib -
--output -
--output-def -
--pic-executable -
--print-map -
--relax -
--relocatable -
--retain-symbols-file -
--script -
--section-alignment -
--section-start -
--sort-common -
--split-by-file -
--split-by-reloc -
--stack -
--start-group -
--stats -
--strip-all -
--strip-debug -
--subsystem -
--target-help -
--trace -
--trace-symbol -
--traditional-format -
--undefined -
--unique -
--unresolved-symbols -
--verbose -
--version -
--version-script -
--warn-common -
--warn-constructors -
--warn-multiple-gp -
--warn-once -
--warn-section-align -
--warn-unresolved-symbols -
--whole-archive -
--wrap -
-A -
-Bdynamic -
-Bgroup -
-Bshareable -
-Bstatic -
-Bsymbolic -
-E -
-EB -
-EL -
-F -
-G -
-L -
-M -
-Map -
-N -
-O -
-Qy -
-R -
-S -
-T -
-Tbss -
-Tdata -
-Ttext -
-Ur -
-V -
-X -
-Y -
-a -
-assert -
-b -
-c -
-call_shared -
-d -
-dc -
-dn -
-dp -
-dy -
-e -
-f -
-fini -
-g -
-h -
-i -
-init -
-l -
-m -
-n -
-non_shared -
-nostdlib -
-o -
-pie -
-q -
-qmagic -
-r -
-rpath -
-rpath-link -
-s -
-shared -
-soname -
-static -
-t -
-u -
-v -
-x -
-y -
-z