public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* adding c4x port to binutils distribution
@ 1999-07-01  0:00 Greg Smart
  1999-07-01  0:00 ` DWARF info on i386-ELF Linux -- need pointers Ben Combee
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Smart @ 1999-07-01  0:00 UTC (permalink / raw)
  To: 'binutils@sourceware.cygnus.com',
	'binutils-cvs@sourceware.cygnus.com'
  Cc: Greg Smart

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





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-07-01  0:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1999-07-01  0:00 adding c4x port to binutils distribution Greg Smart
1999-07-01  0:00 ` DWARF info on i386-ELF Linux -- need pointers Ben Combee
1999-07-01  0:00   ` Ian Lance Taylor
1999-07-01  0:00   ` Jeffrey A Law

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).