-X-Date: 30 Oct 2000 15:41:18 -0000 --> Has anyone successfully linked C++ o����60?

This is the mail archive of the >binutils@sources.redhat.com mailing list for the binutils project.


colspan="2"> [Date Index] [Subject Indexa href="authors.html#00307">Author Index] [Thread Index] r>
Index Nav:
Message Nav: [Date Prev] [Dabsp;Next] [Thread Prev] [Thread Next

Has anyouccessfully linked C++ on i960?



I have been trying to track dthis problem for a while
and I can't see any indication on the binutils list that
C++ either works or doesn't for i960-coff.en linking C++ programs on the i960-coff/rtems target, I
always get errors like these.

/tmp/ccwulB0T.o(.data+0x4):ccVd6s3w.ndefined reference to `global
constructors keyed to cdtest(void)'
/tmp/ccwulB0T.o(.data+0x10):ccVd6s3w.c: undefined referenc `global
destructors keyed to cdtest(void)'

The linker script includes the following:

   .text : 
    { 
         CREATE_OT_SYMBOLS
        *(.text) 
         _etext = .;
        
        ___CTOR_LIST__ = .;
        LONG((___CTOR_END__ - ___CTOR_:jĀ:__/ 4 - 2)
   TOR_END__ = .;
        ___DTOR_LIST__ = .;
        LONG((___DTOR__ - ___DTOR_LIST__) / 4 - 2)
        *(.dtors)
        LONG(0)
        ___DTOR_END__ = .;
    }  
    .data SIZEOF(.text) +R(.text):
    { 
        *(.data) 
        CONSTRUCTORS
         _edata = .;
    }  

Has anyone else had success with C++ o60-coff?  Any ideas?

Thanks. 

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel@OARcorp.com             On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
   Support Available         (256) 722-9985

<:jĀ:-Rerences--> <tdig_noindex-->
Index [Date Index] [Subjectp;Index] [Author Index] [Thread Index] d>
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thrnbsp;Next]