• 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
Re: PowerPC assembly jump table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PowerPC assembly jump table


  • Subject: Re: PowerPC assembly jump table
  • From: Jonas Maebe <email@hidden>
  • Date: Mon, 3 Apr 2006 21:39:20 +0200


On 3 apr 2006, at 21:34, Jakub Szefer wrote:

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

Have a look at the output of "gcc -S" when calling an external function in a C program. You have to create a stub like that as well (and the linker will remove it if it's not necessary). Additionally, all global symbols in Mac OS X automatically get an underscore prepended to them by GCC.



Jonas _______________________________________________ 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
References: 
 >PowerPC assembly jump table (From: Jakub Szefer <email@hidden>)

  • Prev by Date: PowerPC assembly jump table
  • Next by Date: writev fails on tun
  • Previous by thread: PowerPC assembly jump table
  • Next by thread: writev fails on tun
  • Index(es):
    • Date
    • Thread