site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Hi, I am trying to write a jump table in assembly for the PowerPC processor and am running into some problems with defining external symbols. I have something like: .globl function_new .extern function_old function_new: b function_old But GCC does not recognize the '.extern' pseudo-op and gives an error: "Undefined local symbol function_old"? I have gcc version 4.0.0 20041026 (Apple Computer, Inc. build 4061). I'm trying to implement what amounts to function re-naming via the jump table. How can I write the code so it recognizes the function_old as externally defined function? Thanks in advance for any comments you might have. Sincerely, ~ Jakub S. _______________________________________________ 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
participants (1)
-
Jakub Szefer