```{eval-rst}
Compatibility Or Ignored Options
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
.. option:: -EL
Link little endian objects.
.. option:: -Qy
This option is ignored for SVR4 compatibility
.. option:: --Ttext-segment
Specify an address for the .text-segment segment
.. option:: --add-needed
Deprecated
.. option:: --allow-shlib-undefined
Allow undefined symbols from dynamic library when creating executables
.. option:: --copy-dt-needed-entries
Add the dynamic libraries mentioned to DT_NEEDED
.. option:: -g
Enable debug output when building shared libraries or executables
.. option:: --hash-size
Specify a hash size when creating the hash sections for the dynamic loader
.. option:: --ignore-unknown-opts
Disable warnings of unimplemented options
.. option:: --map-section
Specify a input section that maps to a output section
.. option:: --nmagic
Turn off page alignment of sections, and disable linking against shared libraries
.. option:: --no-add-needed
Deprecated
.. option:: --no-allow-shlib-undefined
Do not allow undefined symbols from dynamic library when creating executables
.. option:: --no-copy-dt-needed-entries
Turn off the effect of the --copy-dt-needed-entries
.. option:: --plugin
Specify a plugin file
.. option:: --plugin-opt
Specify plugin options
.. option:: --rpath-link
Specifies the path to search
.. option:: -thin-archive-rule-matching-compatibility, --thin-archive-rule-matching-compatibility
Provides rule-matching compatibility when fat archives are
converted to thin archives
.. option:: --use-shlib-undefines
Resolve undefined symbols from dynamic libraries
DIAGNOSITC OPTIONS
^^^^^^^^^^^^^^^^^^^
.. option:: -W
Print warnings which are OFF by default
* -Wall : print all warnings
* -W[no]linker-script : display warnings detected while parsing linker scripts
* -W[no]attribute-mix : display a warning if object files of RISC-V with different attributes are being linked
* -W[no-]archive-file : display warnings detected while reading archive files
* -W[no-]linker-script-memory : display warnings detected while processing linker script memory command
* -W[no-]bad-dot-assignments : display warnings for bad dot assignments
* -W[no-]error : treat warnings as errors
* -W[no-]whole-archive : display a warning when whole-archive is enabled for any archive file
* -W[no-]osabi : display a warning when linking objects with different values for OS/ABI
* -W[no-]version-script : display warnings detected while processing version scripts
.. option:: --color
Enable color output for diagnostics
.. option:: --cref
Print the references for a symbol or section
.. option:: -t
Print all files processed by the linker
.. option:: --display-hotness
Display hotness information for optimization remarks
.. option:: --emit-timing-stats
Emit time statistics of various linker operations to the specified file
.. option:: --emit-timing-stats-in-output
Insert link-time stats in section .note.qc.timing
.. option:: --error-limit
Maximum number of errors to emit before stopping (0 = no limit)
.. option:: --error-style