2 ---------------------------------------------------------------------------
4 This is the README file for the i960 support in uClibc.
6 This has been tested with gcc 2.95.3 and i960-intel-coff target.
8 There is no support at all to compile with the intel CTOOLS, as this would
9 have required too many changes to uClibc. So you won't see any support
10 in the asm files for position independent data or code.
13 ---------------------------------------------------------------------------
18 As the i960 compiler prepends an underscore to symbols, it is critical that
19 bits/uClibc_arch_features.h undefines __UCLIBC_NO_UNDERSCORES__
20 to make sure that underscores are applied to symbol names when needed.
23 __va_copy in va-i960.h
24 ----------------------
26 When compiled with gcc-2.95, the __va_copy macro in va-i960.h seems to be broken
27 and it has to be modified in order for uClibc to compile correctly.
31 #define __va_copy(dest, src) (dest) = (src)
35 #define __va_copy(dest, src) dest[0] = src[0]; dest[1] = src[1]
39 ---------------------------------------------------------------------------
41 I've preferred modifying the specs file so that the i960-intel-coff compiler
42 directly compiles with uClibc.
44 First, compile and install the standard i960-intel-coff compiler, which is meant
45 to be used with newlib.
47 Then, compile uClibc, installing over the newlib include files and libraries.
49 Update the specs file with the included specs.uclinux.gcc-2.95.i960-intel-coff
51 This specs file always build relocatable objects, which has the disadvantage
52 of not letting you know if the link is missing any symbols.
55 ---------------------------------------------------------------------------
57 In order to run the executables under uClinux, fully relocatable binaries
58 need to be built using coff2flt.
60 We have built a working coff2flt that works with the i960 and the current version
61 of binfmt_flat with uClinux.
63 Contact Martin Proulx <mproulx at okiok.com> for further informations.