Adding SH support to glibc-2.1.3
NIIBE Yutaka
gniibe@chroot.org
Thu May 25 16:59:00 GMT 2000
Ulrich Drepper wrote:
> Changing the patches for 2.2 is definitely required.
OK, will do.
BTW, I have a question about multilib. There's two processor type,
SH-3 and SH-4. SH-4 has FPU and larger cache. All the (user space)
code compiled for SH-3 works on SH-4. Besides, both processor
support both endianess. In GCC, they are supported by multilib.
In GCC, target sh-unknown-linux-gnu builds, say:
libgcc.a ----- SH-3 little endian
m4/libgcc.a ----- SH-4 little endian
mb/libgcc.a ----- SH-3 big endian
mb/m4/libgcc.a ----- SH-4 big endian
(actually, sh-unknown-linux-gnu are not yet supported in GCC, we'll
send patches)
Should we support things like this for GNU C Library? Currently, I do
configure for each target (sh3-unknown-linux-gnu,
sh4-unknown-linux-gnu with different compiler switch (-mb for
bigendian)), on installation. It would be better it built all of them
with target sh-unknown-linux-gnu...
Please let me know your opinion.
--
More information about the Libc-hacker
mailing list