MIPS linker error for C++

mikeci at acm.org mikeci at acm.org
Fri Aug 22 19:08:09 UTC 2003


> This is amost certainly a linker script error.  Contrast your linkcmds
> and bsp_spec with those on the Mongoose BSP- I know C++ & .init/.fini
> works there.
>
> Gregm

Hi!

I tried with Mongoose linkcmds and bsp_specs, but no luck. What I don't
understand is how this _init and _fini symbols are defined. You have
section .init and .fini in crtbegin.o but no symbols _init or _fini. They
must be functions which call constructors or destructors, but they should
be a nop for C. Is this right? I am using bsp_specs and linkcmds from
P4000 BSP. I guess that this linker script file is correct? For now this
linker error is not a problem, since I don't use C++, but I would like to
resolve the problem with _init and _fini.

Regards

Ivica





More information about the users mailing list