From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Smart To: "'binutils@sourceware.cygnus.com'" , "'binutils-cvs@sourceware.cygnus.com'" Cc: Greg Smart Subject: adding c4x port to binutils distribution Date: Thu, 01 Jul 1999 00:00:00 -0000 Message-id: X-SW-Source: 1999-q2/msg00333.html hi all, I've been updating a port of binutils for the TI c3x/c4x series of DSP's. The port was originally written by Michael Hayes to patch against binutils-2.7, and I have updated it to patch against the cvs tree. The c4x port will ultimately replace the tic30 port by Steve Haworth. A brief summary of why we should do this is: 1. The c4x port supports both c3x and c4x processors, the tic30 port only supports the c3x. 2. The c4x port fully supports ti-coff format, and ti tools can recognise output files generated by c4x-ld. tic30 uses a default format. 3. There is a c4x port of egcs which will be included in the next release, and c4x-binutils is required to build it. 4. A c4x port of gdb exists, and could be introduced into the main distribution after c4x-binutils has stabilised in the main tree. The main issue with introducing this port is the size of a unit in a c3x/c4x is 32 bits. In other words, chars,shorts and ints are all 32 bits, and all instructions are 32 bits. The problem is that the address change from one 32 bit insn to the next is 1 unit (not 4), and binutils doesn't like this very much. Michael has some workarounds for this problem, but some of these workarounds need to be updated before they will be accepted. I am about to send Ian Taylor a patch with all the new files to be added, and I will see how I go before I submit further patches. If you have any questions/comments/abuse or whatever then feel free to send them to: gsmart@tennyson.com.au If you're interested in the gnu c4x stuff then have a look at Michael Hayes' page at http://www.elec.canterbury.ac.nz/c4x cheers Greg Smart