Re: AMD 64 Problem with assembling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Florian Michel <florian__michel@xxxxxx> writes:

> I have a question concerning successfully assembling and linking the
> following assembly program on a linux AMD 64 machine:

The gcc-help mailing list is for questions about using gcc.  It is not
for general questions about how to write correct programs, or correct
assembly code.  Thanks.

That said, the easiest way to write correct assembly code is to copy
at gcc output, as generated by -S or --save-temps.

And the bug here is in this line:

> .section .datatext

You want something like:

.section .datatext,"a"

Ian

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux