Yasm Label question
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
.
Relevant Pages
- Re: Building 32-bit apps for x86_64 architecture
... of Fedora Core 6 as a development system but want to build executables that ... I'm using yasm as my assembler and gcc 4.1.2 for my C compiler, ... proper options to gcc and yasm, which I've already determined how to ... (comp.lang.asm.x86) - Linux assembly using C library functions
... I am trying to assemble and link an assembly program which uses C library functions. ... When I assemble and link the program using gas and ld everything goes fine and the program is build properly. ... However when using GCC it wont. ... movl $buffer, %edi ... (comp.unix.programmer) - Re: An Object-Oriented Syntax for x86 Assembly
... >> A Pre-Parser is not a Compilator. ... GCC isn't a compiler, ... > assemble it's output and produce an object file? ... translation work, from one Language to another Language, ... (alt.lang.asm) - [ LD ] Possible bug on LD dynamic linker option
... Trying to assemble and link a very basic X Windows example I'd written (in ... explicitly specify this file to LD: ... I saw a USENET posting that independently was reporting the same ... doesn't get the problem, anyway, whatever GCC is doing;)... ... (alt.lang.asm) - Re: Creating a pure binary image using binutils ?
... I have made a small program in assembly where i use the bios video ... I compiled this program using gcc. ... to non-symbolically assemble 8086 mnemonics, ... or even to disk sectors. ... (comp.arch.embedded) |
|