public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
From: Ian Lance Taylor <ian@airs.com>
To: Florian Michel <florian__michel@web.de>
Cc: gcc-help@gcc.gnu.org
Subject: Re: AMD 64 Problem with assembling
Date: Sun, 10 Jul 2005 16:29:00 -0000	[thread overview]
Message-ID: <m3wtnypqui.fsf@gossamer.airs.com> (raw)
In-Reply-To: <285526835@web.de>

Florian Michel <florian__michel@web.de> 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

      reply	other threads:[~2005-07-10 16:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-09 21:23 Florian Michel
2005-07-10 16:29 ` Ian Lance Taylor [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m3wtnypqui.fsf@gossamer.airs.com \
    --to=ian@airs.com \
    --cc=florian__michel@web.de \
    --cc=gcc-help@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).