This is the mail archive of the gcc-help@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]

using split stacks


Hello,

I'd like to use split stacks for my coroutine implementation.
I found a website from Ian describing how split stack could be implemented in gcc but not how to use it in an application.

I assume I have to apply the command line option -fsplit-stack and gcc must be compiled with --enable-gold (as described in Ians blog).
Are some macros defined I can use in the code in order to detect that split stacks are available?

I assume I've to call a special function similiar to malloc()/calloc() in order to get a new split stack?!

regards,
Oliver
-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de


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