This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [C++] GCC tree linkage types
Gabriel Dos Reis <gdr@integrable-solutions.net> writes:
> Ian Lance Taylor <ian@wasabisystems.com> writes:
>
> [...]
>
> | > > The GNU linker supports more exotic linkage types like `indirect',
> | > > `warning', and `set'. But these are probably not of interest to the
> | > > compiler.
> | >
> | > True. What do these linkage types do? Are they documented somewhere? A
> | > google search didn't turn up anything obvious.
> |
> | I doubt they are documented.
>
> Thanks for the documentation. Is that not formally included in the
> docs because it is intended not to be used by non "wide" public?
No, just because nobody has ever bothered.
Also, set and indirect symbols aren't really used any more, as they
were really only for the a.out format, which is obsolete. Warning
symbols are still meaningful for ELF, although they are implemented
via magic section names.
Ian