[ELF] symbol sets handling [2]

Fabio Alemagna falemagn@studenti.unina.it
Wed Feb 12 16:06:00 GMT 2003


On Wed, 12 Feb 2003, Fabio Alemagna wrote:
> Now, _IF_ the ld script contained this piece
>
>     __start_myset = .;
>     myset :
>     {
>         *(SORT(.ctors.*))
>         *(.dtors)
>     }
>     __stop_myset = .;

Argh... that should have looked like this:

    __start_myset = .;
    myset :
    {
        *(SORT(myset.*))
        *(myset)
    }
    __stop_myset = .;
k
Sorry... I should learn to check my emails BEFORE I sent'em :)

Fabio Alemagna



More information about the Binutils mailing list