public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Nick Clifton <nickc@redhat.com>
To: Jan Zizka <ziza@klubicko.net>
Cc: binutils@sources.redhat.com
Subject: Re: 16bit adressing architecture
Date: Thu, 17 Jul 2003 15:53:00 -0000	[thread overview]
Message-ID: <m3lluxi2m9.fsf@redhat.com> (raw)
In-Reply-To: <20030716223133.GA7949@velky.homelinux.net> (Jan Zizka's message of "Thu, 17 Jul 2003 01:31:33 +0300")

Hi Jan,

> I'm working on binutils port for Motorola's DSP56800 family, its
> getting pretty mature, but during implementation of a testsuit I
> have found that some general testcases are failing. Simple
> reason is that DSP56800 byte is 16bit wide and I've build evething
> around that assumption. So the object file is correct etc. But
> for example align and struct test fail:

> Now the question is: should I change my port so that gas would think 
> it's 8bit byte addressable, or should the tests be made somewhat more
> general to cover correctly architectures with different byte sizes?

I think that you should fix the tests.  Your gas port is behaving
correctly, it is the tests which are incorrect in their assumption of
the size of a byte.  I would try, if possible, to add alternative
versions of the expected output scripts that match 16bit bytes, and
then have the test driver scripts (*.exp) select the correct expected
output based on the architecture's byte size.

Cheers
        Nick
        

  reply	other threads:[~2003-07-17 15:53 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-16 22:31 Jan Zizka
2003-07-17 15:53 ` Nick Clifton [this message]
2003-07-17 17:22   ` Jan Zizka

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=m3lluxi2m9.fsf@redhat.com \
    --to=nickc@redhat.com \
    --cc=binutils@sources.redhat.com \
    --cc=ziza@klubicko.net \
    /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).