public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: James Murray <jsm@jsm-net.demon.co.uk>
To: binutils@sourceware.org
Subject: Re: 68hc11/12/s12x/xgate patch
Date: Tue, 13 Mar 2012 20:28:00 -0000	[thread overview]
Message-ID: <1331670472.2407.118.camel@jsm2> (raw)
In-Reply-To: <CABZhLO_=6t=8EV5UcKN5LUqz0ZHBjQOqMZQhzNhx2V+HXEmewQ@mail.gmail.com>

On Mon, 2012-03-12 at 16:26 +0100, Fred Cooke wrote:
> Two things, for now:
> 
> 1) Am I correct in saying that this is still one monolithic patch that
> makes multiple changes to the port?

Yes it is. Go ahead and take a look.

> 2) Am I correct in saying that this is still comprised mostly of a
> two-architectures-in-one-port code change?
> 

Most of the patch is actually testsuite changes, due in part to revised
objdump output but also bringing m68hc11 up to date so that "make check"
works correctly. There are additional testcases for the newly added S12X
and XGATE functions.

Between the lines, it looks like you are referring to your earlier
binutils question "Supporting more than one CPU with the same gas
port." 

There are surely pros and cons to either method.

With the approach I took, only a single toolchain is required and there
is one linker. There are no devices currently that contain XGATE and any
other architecture other than hcs12 in production, nor are there any
currently mooted developments that the public are aware of.  

With the approach that you appear to be advocating, two sets of tools
need to be built and installed. However, the XGATE target (as presented
by Sean) is not self-sufficient and relies on changes to the linker in
the m68hc11 target to support linking symbols within XGATE. Overall that
seems to complicate matters without offering any real advantage.

regards

James Murray

  reply	other threads:[~2012-03-13 20:28 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-27 22:22 James Murray
2011-03-07 16:35 ` James Murray
2011-03-15  8:33   ` Nick Clifton
2011-03-15 15:08     ` James Murray
2011-12-20 22:20       ` James Murray
2011-12-20 22:29         ` Fred Cooke
2011-12-20 23:23           ` James Murray
2011-12-21 22:29             ` Fred Cooke
2011-12-22 16:52               ` Sean Keys
2011-12-22 17:37               ` James Murray
2012-01-05 22:03                 ` James Murray
2012-01-05 23:11                   ` Fred Cooke
2012-01-10 14:42                   ` nick clifton
2012-01-10 15:45                     ` James Murray
2012-01-12 19:39                       ` 68hc11/12/s12x/xgate patch - style question James Murray
2012-01-12 20:14                         ` Fred Cooke
2012-02-26 23:54                     ` 68hc11/12/s12x/xgate patch James Murray
2012-03-12 15:07                       ` James Murray
2012-03-12 15:26                         ` Fred Cooke
2012-03-13 20:28                           ` James Murray [this message]
2012-03-13 20:56                             ` Fred Cooke
2012-04-02 12:37                         ` James Murray
2012-04-23 17:05                           ` James Murray
     [not found]                             ` <1337003987.27195.60.camel@jsm2>
2012-05-15 12:59                               ` nick clifton
2012-05-15 18:38                                 ` Fred Cooke
2012-05-15 20:26                                 ` James Murray

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=1331670472.2407.118.camel@jsm2 \
    --to=jsm@jsm-net.demon.co.uk \
    --cc=binutils@sourceware.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).