• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
PowerPC assembly jump table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: PowerPC assembly jump table
      • From: Jonas Maebe <email@hidden>
  • Prev by Date: Re: launchd i/o redirection
  • Next by Date: Re: PowerPC assembly jump table
  • Previous by thread: Re: launchd i/o redirection
  • Next by thread: Re: PowerPC assembly jump table
  • Index(es):
    • Date
    • Thread