• 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
x86-64 asm question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

x86-64 asm question


  • Subject: x86-64 asm question
  • From: Cyrus Harmon <email@hidden>
  • Date: Mon, 4 Sep 2006 15:57:46 -0700

So, using gas I'm trying to port some x86 assembly code that refers to an external symbol:

 .text
 .globl _all_threads
...
...
 mov _all_threads,%rax
...

the error  message I get is:

x86-64-assem.S:133:32-bit absolute addressing is not supported for x86-64

That works on x86 (well, with �x, of course), but I can't seem to figure out how to do this on x86-64, or any relevant docs on Apple's x86-64 assembler.

Any help would be greatly appreciated.

Thanks,

Cyrus

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: x86-64 asm question
      • From: Scott Lamb <email@hidden>
  • Prev by Date: Re: Why do I have a ppc-only libc? (SOLVED)
  • Next by Date: Re: x86-64 asm question
  • Previous by thread: Re: Why do I have a ppc-only libc?
  • Next by thread: Re: x86-64 asm question
  • Index(es):
    • Date
    • Thread