Should hope so. MacOS X uses PowerOpen ABI which is based on AIX, so it also has toc in r2. Linux is SVR4, where r2 is just "reserved for system", but I'm pretty sure GCC will use it for toc anyway. It would be a pain in the a$$ for a compiler to generate code without a toc.
/ Marcus Comstedt (ACROSS) (Hail Ilpalazzo!)
Previous text:
2002-09-23 11:32: Subject: catch { catch { break foo; }; };
Hmm... That implementation uses the toc. Does that work on MacOS X and Linux?
/ Henrik Grubbström (Lysator)