PowerPC assembly jump table
PowerPC assembly jump table
- Subject: PowerPC assembly jump table
- From: Jakub Szefer <email@hidden>
- Date: Mon, 3 Apr 2006 14:34:15 -0500
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden