Re: Yasm Label question
- From: "randyhyde@xxxxxxxxxxxxx" <spamtrap@xxxxxxxxxx>
- Date: 23 Oct 2006 11:29:35 -0700
dave wrote:
I have used yasm to assemble a short AMD64 64-bit source file which I want
to call from a gcc c program. gcc fails during linking because it does not
find the label for the entry point to the assembly code. What is the
trick to getting gcc to recognize yasm labels?
Thanks,
Dave Feustel
I assume you've tried the usual "underscore prefix" trick and that
you're defining your symbols as << extern "C" >> in your GCC program?
Cheers,
Randy Hyde
.
- References:
- Yasm Label question
- From: dave
- Yasm Label question
- Prev by Date: Boot sector problems...
- Next by Date: Re: Yasm Label question
- Previous by thread: Yasm Label question
- Next by thread: Re: Yasm Label question
- Index(es):
Relevant Pages
|