From: Emanuele Altieri <ealtieri@hampshire.edu>
To: Mirek Dobsicek <m.dobsicek@sh.cvut.cz>
Cc: linux-assembly@vger.kernel.org
Subject: Re: flat binary
Date: 24 Oct 2003 08:47:32 -0400 [thread overview]
Message-ID: <1066999465.2234.8.camel@italia> (raw)
In-Reply-To: <3F97F5B5.4010108@sh.cvut.cz>
You should use GAS to generate an object file, then LD to generate the
flat binary file:
$ as -o example.o example.s
$ ld -Ttext 0x0 -s --oformat binary -o example.bin example.o
--Emanuele
On Thu, 2003-10-23 at 11:37, Mirek Dobsicek wrote:
> Hi,
>
> I've my asm code in AT&T syntax a want to get flat binary file.
> But gas seems cant produce flat file and nasm dont understand at&t syntax.
>
> Sure I can use some syntax convertor a use nasm, but that's not what I
> want. Is there any suitable tool which understand at&t and produce flat
> binary?
>
>
> Best regards, Elfi
>
> ps: please CC me, I'm not it list
>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-assembly" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
prev parent reply other threads:[~2003-10-24 12:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-23 15:37 flat binary Mirek Dobsicek
2003-10-23 18:05 ` willy meier
2003-10-24 12:47 ` Emanuele Altieri [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=1066999465.2234.8.camel@italia \
--to=ealtieri@hampshire.edu \
--cc=linux-assembly@vger.kernel.org \
--cc=m.dobsicek@sh.cvut.cz \
/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