Combine several objfiles, in the specified order, into a single executable object module (a.out by default). ld is the link editor and is often invoked automatically by compiler commands. ld accepts many options, the most common of which are listed here.
If ld is configured to accept more than one kind of object file, this command can be used to specify the input format. format should be a GNU Binary File Descriptor (BFD) as described in the BFD library. Use objdump -i to list available formats.
Link with dynamic libraries.
Force the assignment of space to common symbols.
Create the global symbol with the value expression.
Force demangling of symbol names. Optionally set the demangling style. Turn off demangling with -nodemangle.
Set symbol as the address of the output file’s entry point.
Set the DT_AUXILIARY field of ELF shared object to name.
Set the DT_FINI field of ELF shared object to the address of function name. The default function is _fini.
Set the DT_SONAME field of ELF shared object to name.
Print help message, then exit.
Produce a linkable output file; attempt to set its magic number to OMAGIC.
Set the DT_INIT field of ELF shared object to the address of function name. The default function is _init.
Include the archive file arch in the list of ...