From 533d76fbc420a8cdca389dbea0d86eb64e0e8096 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Aug 2003 20:08:30 +0000 Subject: Patch from Paul Mundt adding uClibc sh64 support: Here's a patch that implements the beginnings of a rudimentary sh64 port. So far, this only works static, as I haven't done any of the ldso work yet. I've also not touched the libpthread stuff yet either, so that's also disabled for now. This port was based off of some work that Sean McGoogan at SuperH did for his initial port, but the this patch doesn't carry over too much from there (basically the libc/sysdeps/linux/sh64/Makefile (or rather, parts of it), the setjmp/longjmp stuff (which I had to rewrite portions of it to work with the new toolchains), etc.). However, for static, everything appears to work correcly, at least in a hello world type application. --- libc/sysdeps/linux/common/initfini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/sysdeps/linux/common') diff --git a/libc/sysdeps/linux/common/initfini.c b/libc/sysdeps/linux/common/initfini.c index ba4d68fc9..4941e9ad1 100644 --- a/libc/sysdeps/linux/common/initfini.c +++ b/libc/sysdeps/linux/common/initfini.c @@ -51,7 +51,7 @@ # define HIDDEN(func) #endif -#if defined(__sh__) +#if defined(__sh__) && !defined(__SH5__) /* The macro insert this sh specific stuff: @_SH_GLB_BEGINS bra 1f -- cgit v1.2.3