This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Committed] Fix C++ deconstructors for spu-elf


The problem here is that now __cxa_atexit is enabled for newlib targets, 
__dso_handle has to be define
and SPU uses a special crt0.c. 

This patch defines crt0.c and we get better results in the C++ testsuite 
now.
Committed after a build and test for spu-elf on a Cell Linux box.

Thanks,
Andrew Pinski

        * config/spu/crt0.c (__dso_handle): Define.


Attachment: fixcxx.diff.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]