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