16bit adressing architecture
Nick Clifton
nickc@redhat.com
Thu Jul 17 15:53:00 GMT 2003
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
More information about the Binutils
mailing list