New target porting time estimates?

Ian Lance Taylor ian@wasabisystems.com
Tue Nov 18 04:13:00 GMT 2003


Richard Tierney <mfoc73@dsl.pipex.com> writes:

> I'm working through Richard Kenner's docs, and I've had a first look
> at the porting guide (there's nothing similar for binutils, though),
> and I still don't know enough to start. It also seems to me that just
> finding good documentation on RTL may be harder than rewriting it from
> scratch. Does anyone have any RTL doc pointers?

Well, RTL is documented here:
    http://gcc.gnu.org/onlinedocs/gccint/RTL.html#RTL
For many examples, look at the .md file for a processor with which you
are familiar.

If you don't know LISP, take a few hours to read a LISP primer (use
Google).  It will help with RTL syntax, which is pretty simple.

Other than that, the key to RTL is to understand that some patterns
are used to generate RTL, namely the ones with names mentioned here:
    http://gcc.gnu.org/onlinedocs/gccint/Standard-Names.html#Standard%20Names
RTL patterns without names, or with different names, are used to
translate RTL into assembly language.

There are minimal binutils docs in bfd/doc/bfdint.texi and
gas/doc/internals.texinfo.

Good luck.

Ian



More information about the Binutils mailing list