PATCH: support for NEC SX architecture

Jaka Močnik jaka@xlab.si
Thu May 7 15:44:00 GMT 2009


hi, Nick (& other folks)!

attached you will find a (long ago promised) set of patches against
current binutils CVS head that implement support for the NEC SX series
of vector CPUs.

one patch per binutils subproject. note, however, that they really do
make sense only as a whole.

the patch provides support for two new targets:
- sx?-nec-superux*: for Super-UX OS on NEC SX, and
- sx?-nec-linux*: for Kitten light-weight kernel on NEC SX.

both targets are COFF targets, and the latter currently only differs in
the linker scripts.

while most certainly there are still some bugs hidden, the port is fully
functional and used in our GCC ( http://code.google.com/p/sx-gcc/ ) and
Kitten ( https://software.sandia.gov/trac/kitten ) porting efforts. as
it can build a functioning OS kernel, I suppose it's good enough to be
included in the binutils mainline. ;)

the port does, however, touch parts of the target-independent COFF code,
as SX COFF format is a bit peculiar. the most invasive of these changes
implements support for variable (that is: per-target variable) sized
symbol name filed in symbol entries.

changelogs for each subproject are attached in a separate file.

generated files are not included in the patch. after patching, running
autoreconf is required in bfd/, opcodes/, gas/ and ld/ dirs; also, one
should do a "make headers" in bfd/.

patched binutils show no regressions (when compared to an unpatched CVS
HEAD); I have regression tested the following configurations (on an ia32
host):
--enable-target=all --enable-64bit-bfd
--target=i386-coff
--target=i686-pc-linux-gnu
--target=alpha-linuxecoff
--target=i586-pc-msdosdjgpp
--target=x86_64-pc-mingw32
--target=arm-vxworks
--target=i686-pc-cygwin
--target=z8k-coff

looking forward to your comments. thanks & best regards,
  jaKa

-- 
email: jaka@xlab.si
w3:    http://www.gmajna.net/svojat/jaka/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20090507-sx-binutils-diff.tar.gz
Type: application/x-compressed-tar
Size: 85615 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090507/2f615f95/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ChangeLog
Type: text/x-changelog
Size: 3548 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20090507/2f615f95/attachment-0001.bin>


More information about the Binutils mailing list