site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Jun 12, 2006, at 1:32 PM, Ryan Govostes wrote: What are you really trying to do? Note: asm("mr %0, r2\n\t" : "=r" (toc) : : "r2" ); is wrong as you are not clobbering r2 at all. I'm working with the following function, trimmed down to demonstrate my problem PPC Darwin's ABI does not have TOC and R2 is considered volatile through function calls just like r0. -- Pinski _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com