Mike Frysinger 222c137f6c update copyright and license, add _BITS_SETJMP_H protection around the file, make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS hace 18 años
..
bits 222c137f6c update copyright and license, add _BITS_SETJMP_H protection around the file, make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS hace 18 años
sys b34e006872 Patch from Martin Proulx <mproulx@okiok.com> to support hace 22 años
AUTHORS b34e006872 Patch from Martin Proulx <mproulx@okiok.com> to support hace 22 años
Makefile 3a7ac9c7a7 Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. hace 18 años
README 2da24876a6 kill mention of the wrapper hace 20 años
clone.S 0287134396 Properly prefix some symbols hace 21 años
crt0.S cd411309b5 __data_start needs to be added to all crt0.S files that don't currently hace 20 años
mmap.S 6334e558ab Split up syscalls.c, since it had grown to be quite large and ugly. hace 20 años
setjmp.S b34e006872 Patch from Martin Proulx <mproulx@okiok.com> to support hace 22 años
specs.uclinux.gcc-2.95.i960-intel-coff b34e006872 Patch from Martin Proulx <mproulx@okiok.com> to support hace 22 años
vfork.S b34e006872 Patch from Martin Proulx <mproulx@okiok.com> to support hace 22 años

README

Overview
---------------------------------------------------------------------------

This is the README file for the i960 support in uClibc.

This has been tested with gcc 2.95.3 and i960-intel-coff target.

There is no support at all to compile with the intel CTOOLS, as this would
have required too many changes to uClibc. So you won't see any support
in the asm files for position independent data or code.

Quirks needed
---------------------------------------------------------------------------

prepended underscore
--------------------

As the i960 compiler prepends an underscore to symbols, it is critical that
the Config file define __C_SYMBOL_PREFIX__ as
__C_SYMBOL_PREFIX__ = _
to make sure that underscores are applied to symbol names when needed.


__va_copy in va-i960.h
----------------------

When compiled with gcc-2.95, the __va_copy macro in va-i960.h seems to be broken
and it has to be modified in order for uClibc to compile correctly.

Change:

#define __va_copy(dest, src) (dest) = (src)

To:

#define __va_copy(dest, src) dest[0] = src[0]; dest[1] = src[1]


gcc integration
---------------------------------------------------------------------------

I've preferred modifying the specs file so that the i960-intel-coff compiler
directly compiles with uClibc.

First, compile and install the standard i960-intel-coff compiler, which is meant
to be used with newlib.

Then, compile uClibc, installing over the newlib include files and libraries.

Update the specs file with the included specs.uclinux.gcc-2.95.i960-intel-coff

This specs file always build relocatable objects, which has the disadvantage
of not letting you know if the link is missing any symbols.

coff2flt
---------------------------------------------------------------------------

In order to run the executables under uClinux, fully relocatable binaries
need to be built using coff2flt.

We have built a working coff2flt that works with the i960 and the current version
of binfmt_flat with uClinux.

Contact Martin Proulx for further informations.





Check:
_mmap.S: besoin???