public inbox for
 help / color / mirror / Atom feed
From: Aymeric Vincent <>
Subject: adding a new target (m68k-gnu)
Date: Tue, 27 Oct 1998 04:07:00 -0000	[thread overview]
Message-ID: <> (raw)


Could you please add a new m68k-gnu target to the binutils? It's
basically an elf target, like i386-gnu (without mach3 stuff) or

I give you a very small README I wrote to explain the changes that
have to be done, but there is (at least) *one* thing which is wrong
with it:

I would like to have REGISTER_PREFIX_OPTIONAL set for this target, but
didn't figure out where it had to be put... I just put it in tc-m68k.h
(as described below), but it's of course a stupid solution, which did
the trick for what I had to do...

Thanks a lot, let me know if you need any more information,

--- snip ---

 You have to change the following files in order to support the m68k-gnu

 - binutils-2.8.1/bfd/config.bfd

Add the following lines to the big case statement:

#    targ_selvecs=m68kmach3_vec

 - binutils-2.8.1/gas/config/tc-m68k.h

Add this line at the beginning of the file (that's really ugly)


(you can preferably pass a flag to make if you want
.. or use an option of gas everytime you use it...)

 - binutils-2.8.1/gas/

Add this line to the huge case statement

      m68k-*-gnu*)          fmt=elf ;;

 - binutils-2.8.1/ld/configure.tgt

Add this line to the case statement

m68*-*-gnu*)            targ_emul=m68kelf ;;

--- snip ---

I am a poet:

             reply	other threads:[~1998-10-27  4:07 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-10-27  4:07 Aymeric Vincent [this message]
1998-12-06 13:53 ` Ian Lance Taylor
1998-12-07  3:23   ` Aymeric Vincent

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:

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

  git send-email \ \ \ \

* 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).