You copied the Doc URL to your clipboard.

Legacy support for C$$pi_ctorvec instead of .init_array

In RVCT v2.0 and earlier, C$$pi_ctorvec is used instead of .init_array. Objects with C$$pi_ctorvec are still supported. Therefore, if you have legacy objects, your scatter file is expected to contain something similar to:

LOAD_ROM 0x0000000
{
    EXEC_ROM 0x0000000
    {
        your_object.o(+RO)
        * (.init_array)
        * (C$$pi_ctorvec)        ; backwards compatibility
        ...
    }
    RAM 0x0100000
    {
        * (+RW,+ZI)
    }
}
Was this page helpful? Yes No