[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

i960 C++ link question

The i960-rtems configuration has been producing this link error for cdtest
for a while now.  This is with egcs 1.1.2 and binutils 2.9.1.  Does anyone
have an idea what is causing this and how to fix it?  

--pipe -B/usr1/rtems/build/build-i960-rtems/./cvme961/lib/ -specs
bsp_specs -qrtems  -mca    -I -g -Wall -ansi -fasm  -O4 -mleaf-procedures
-o o-cvme961/cdtest.exe  o-cvme961/init.o o-cvme961/main.o
/tmp/ccIt963A.o(.data+0x4):ccI3lNCS.c: undefined reference to `global
constructors keyed to cdtest(void)'
/tmp/ccIt963A.o(.data+0x10):ccI3lNCS.c: undefined reference to `global
destructors keyed to cdtest(void)'

The linker script does include the ctors section.  

This is with the coff configuration but i960-elf is not in public releases
yet so can't be switched to.

Suggestions?  Ignoring it is a valid one. :)