This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Targetting S12Z


On Mon, Jan 08, 2018 at 09:14:57AM +0000, Nick Clifton wrote:
     
     > 1.  Find out the likelihood of such a patch being accepted into binutils. 
     

Hi Nick,


     We are open to supporting new (or even old) architectures, but there are a few
     caveats:
     
       * You would need to have an FSF Copyright Assignment for the Binutils
         in place before we could accept your contribution.  (I can provide
         you with the necessary application form if you wish).

That is already in place.
     
       * The code you submit should follow the GNU Coding Standards.

ok. (I notice much of the existing code doesn't)
     
       * Ideally the port should include both the assembler *and* the linker.
         Being able to assemble object files but not link them is frustrating
         for users.

Yes.
     
       * The port should include some new tests in the assembler testsuite, to
         make sure that assembling and disassembling is working correctly.  If
         you are including a port of the linker as well, then some new linker
         tests would also be appropriate.

Indeed.   Perhaps someone could give me some hints about how tests are run in 
binutils.  When I type "make check" I just get a warning that "runtest" cannot
be found.  I don't know where to get "runtest" or how to install it.
     
       * You should consider whether you are willing to become a maintainer for
         the port.  A port without a maintainer is likely to bit-rot away over
         time, whereas a port with an active maintainer will continue to grow
         and blossom.  (OK, maybe I got a little bit too prosaic there, but I
         hope that you take my meaning).

ok.  Obviously I cannot commit indefinitely to supporting it.  But at least in the
short term I will do so (but first I need to get it working!)

     
     PS.  Are details of the S12Z architecture, especially the ISA and ABI, available
       publicly ?  If so, please could you point me at them ?

The document I am following is at 
  https://cache.freescale.com/files/microcontrollers/doc/ref_manual/S12ZCPU_RM_V1.pdf

So far as I'm aware the ABI and ISA is identical to that of the s12x and the HC12S

Regards,

John
     




-- 
Avoid eavesdropping.  Send strong encrypted email.
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]