Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

-shared and -nostdlib
as for g++.
-z combreloc
Makes sure that all relocation table entries go into a single contiguous sub-region of the shared object, even if by mischance they end up in more than one output section. This option also causes the linker to sort the entries so that those reference the same symbol occur together. This allows the dynamic linker to use a one-entry symbol lookup cache.
-T scriptname
Use the custom linker script.
-Map filename
to make a link map.
-soname modulename.major.minor.branch
to set the soname field to the module's name with version numbers and development branch appended.
*-o modulename.major.minor.branch.so *
Module filename.
-fhash-style=sysv
to suppress generation of a GNU-style hash table.

...