]> granicus.if.org Git - musl/commitdiff
rename superh port to "sh" for consistency
authorRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 03:03:25 +0000 (22:03 -0500)
committerRich Felker <dalias@aerifal.cx>
Fri, 28 Feb 2014 03:03:25 +0000 (22:03 -0500)
linux, gcc, etc. all use "sh" as the name for the superh arch. there
was already some inconsistency internally in musl: the dynamic linker
was searching for "ld-musl-sh.path" as its path file despite its own
name being "ld-musl-superh.so.1". there was some sentiment in both
directions as to how to resolve the inconsistency, but overall "sh"
was favored.

44 files changed:
arch/sh/atomic.h [moved from arch/superh/atomic.h with 100% similarity]
arch/sh/bits/alltypes.h.in [moved from arch/superh/bits/alltypes.h.in with 100% similarity]
arch/sh/bits/endian.h [moved from arch/superh/bits/endian.h with 100% similarity]
arch/sh/bits/errno.h [moved from arch/superh/bits/errno.h with 100% similarity]
arch/sh/bits/fcntl.h [moved from arch/superh/bits/fcntl.h with 100% similarity]
arch/sh/bits/fenv.h [moved from arch/superh/bits/fenv.h with 100% similarity]
arch/sh/bits/float.h [moved from arch/superh/bits/float.h with 100% similarity]
arch/sh/bits/io.h [moved from arch/superh/bits/io.h with 100% similarity]
arch/sh/bits/ioctl.h [moved from arch/superh/bits/ioctl.h with 100% similarity]
arch/sh/bits/ipc.h [moved from arch/superh/bits/ipc.h with 100% similarity]
arch/sh/bits/limits.h [moved from arch/superh/bits/limits.h with 100% similarity]
arch/sh/bits/mman.h [moved from arch/superh/bits/mman.h with 100% similarity]
arch/sh/bits/msg.h [moved from arch/superh/bits/msg.h with 100% similarity]
arch/sh/bits/posix.h [moved from arch/superh/bits/posix.h with 100% similarity]
arch/sh/bits/setjmp.h [moved from arch/superh/bits/setjmp.h with 100% similarity]
arch/sh/bits/shm.h [moved from arch/superh/bits/shm.h with 100% similarity]
arch/sh/bits/signal.h [moved from arch/superh/bits/signal.h with 100% similarity]
arch/sh/bits/socket.h [moved from arch/superh/bits/socket.h with 100% similarity]
arch/sh/bits/stat.h [moved from arch/superh/bits/stat.h with 100% similarity]
arch/sh/bits/statfs.h [moved from arch/superh/bits/statfs.h with 100% similarity]
arch/sh/bits/stdarg.h [moved from arch/superh/bits/stdarg.h with 100% similarity]
arch/sh/bits/stdint.h [moved from arch/superh/bits/stdint.h with 100% similarity]
arch/sh/bits/syscall.h [moved from arch/superh/bits/syscall.h with 100% similarity]
arch/sh/bits/termios.h [moved from arch/superh/bits/termios.h with 100% similarity]
arch/sh/crt_arch.h [moved from arch/superh/crt_arch.h with 100% similarity]
arch/sh/pthread_arch.h [moved from arch/superh/pthread_arch.h with 100% similarity]
arch/sh/reloc.h [moved from arch/superh/reloc.h with 100% similarity]
arch/sh/src/__fpsrc_values.c [moved from arch/superh/src/__fpsrc_values.c with 100% similarity]
arch/sh/src/atomic.c [moved from arch/superh/src/atomic.c with 100% similarity]
arch/sh/syscall_arch.h [moved from arch/superh/syscall_arch.h with 100% similarity]
configure
src/fenv/sh/fenv.s [moved from src/fenv/superh/fenv.s with 100% similarity]
src/internal/sh/syscall.s [moved from src/internal/superh/syscall.s with 100% similarity]
src/ldso/sh/dlsym.s [moved from src/ldso/superh/dlsym.s with 100% similarity]
src/ldso/sh/start.s [moved from src/ldso/superh/start.s with 100% similarity]
src/setjmp/sh/longjmp.s [moved from src/setjmp/superh/longjmp.s with 100% similarity]
src/setjmp/sh/setjmp.s [moved from src/setjmp/superh/setjmp.s with 100% similarity]
src/signal/sh/restore.s [moved from src/signal/superh/restore.s with 100% similarity]
src/signal/sh/sigsetjmp.s [moved from src/signal/superh/sigsetjmp.s with 100% similarity]
src/thread/sh/__set_thread_area.s [moved from src/thread/superh/__set_thread_area.s with 100% similarity]
src/thread/sh/__unmapself.s [moved from src/thread/superh/__unmapself.s with 100% similarity]
src/thread/sh/clone.s [moved from src/thread/superh/clone.s with 100% similarity]
src/thread/sh/syscall_cp.s [moved from src/thread/superh/syscall_cp.s with 100% similarity]
src/unistd/sh/pipe.s [moved from src/unistd/superh/pipe.s with 100% similarity]

similarity index 100%
rename from arch/superh/atomic.h
rename to arch/sh/atomic.h
similarity index 100%
rename from arch/superh/bits/fenv.h
rename to arch/sh/bits/fenv.h
similarity index 100%
rename from arch/superh/bits/io.h
rename to arch/sh/bits/io.h
similarity index 100%
rename from arch/superh/bits/ipc.h
rename to arch/sh/bits/ipc.h
similarity index 100%
rename from arch/superh/bits/mman.h
rename to arch/sh/bits/mman.h
similarity index 100%
rename from arch/superh/bits/msg.h
rename to arch/sh/bits/msg.h
similarity index 100%
rename from arch/superh/bits/shm.h
rename to arch/sh/bits/shm.h
similarity index 100%
rename from arch/superh/bits/stat.h
rename to arch/sh/bits/stat.h
similarity index 100%
rename from arch/superh/crt_arch.h
rename to arch/sh/crt_arch.h
similarity index 100%
rename from arch/superh/reloc.h
rename to arch/sh/reloc.h
index c622366af798a64d90015027935579716559a1ed..38b36d8266ad2e3e17bf21d29819c4a1bc15702d 100755 (executable)
--- a/configure
+++ b/configure
@@ -229,7 +229,7 @@ x86_64*) ARCH=x86_64 ;;
 mips-*|mipsel-*) ARCH=mips ;;
 microblaze-*) ARCH=microblaze ;;
 powerpc-*) ARCH=powerpc ;;
-sh-*) ARCH=superh ;;
+sh-*) ARCH=sh ;;
 unknown) fail "$0: unable to detect target arch; try $0 --target=..." ;;
 *) fail "$0: unknown or unsupported target \"$target\"" ;;
 esac
@@ -421,7 +421,7 @@ fi
 test "$ARCH" = "microblaze" && trycppif __MICROBLAZEEL__ "$t" \
 && SUBARCH=${SUBARCH}el
 
-test "$ARCH" = "superh" && trycppif __LITTLE_ENDIAN__ "$t" \
+test "$ARCH" = "sh" && trycppif __LITTLE_ENDIAN__ "$t" \
 && SUBARCH=${SUBARCH}el
 
 test "$SUBARCH" \
similarity index 100%
rename from src/fenv/superh/fenv.s
rename to src/fenv/sh/fenv.s
similarity index 100%
rename from src/ldso/superh/dlsym.s
rename to src/ldso/sh/dlsym.s
similarity index 100%
rename from src/ldso/superh/start.s
rename to src/ldso/sh/start.s