Browse Source

rename superh port to "sh" for consistency

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.
Rich Felker 11 years ago
parent
commit
aacd348637

+ 0 - 0
arch/superh/atomic.h → arch/sh/atomic.h


+ 0 - 0
arch/superh/bits/alltypes.h.in → arch/sh/bits/alltypes.h.in


+ 0 - 0
arch/superh/bits/endian.h → arch/sh/bits/endian.h


+ 0 - 0
arch/superh/bits/errno.h → arch/sh/bits/errno.h


+ 0 - 0
arch/superh/bits/fcntl.h → arch/sh/bits/fcntl.h


+ 0 - 0
arch/superh/bits/fenv.h → arch/sh/bits/fenv.h


+ 0 - 0
arch/superh/bits/float.h → arch/sh/bits/float.h


+ 0 - 0
arch/superh/bits/io.h → arch/sh/bits/io.h


+ 0 - 0
arch/superh/bits/ioctl.h → arch/sh/bits/ioctl.h


+ 0 - 0
arch/superh/bits/ipc.h → arch/sh/bits/ipc.h


+ 0 - 0
arch/superh/bits/limits.h → arch/sh/bits/limits.h


+ 0 - 0
arch/superh/bits/mman.h → arch/sh/bits/mman.h


+ 0 - 0
arch/superh/bits/msg.h → arch/sh/bits/msg.h


+ 0 - 0
arch/superh/bits/posix.h → arch/sh/bits/posix.h


+ 0 - 0
arch/superh/bits/setjmp.h → arch/sh/bits/setjmp.h


+ 0 - 0
arch/superh/bits/shm.h → arch/sh/bits/shm.h


+ 0 - 0
arch/superh/bits/signal.h → arch/sh/bits/signal.h


+ 0 - 0
arch/superh/bits/socket.h → arch/sh/bits/socket.h


+ 0 - 0
arch/superh/bits/stat.h → arch/sh/bits/stat.h


+ 0 - 0
arch/superh/bits/statfs.h → arch/sh/bits/statfs.h


+ 0 - 0
arch/superh/bits/stdarg.h → arch/sh/bits/stdarg.h


+ 0 - 0
arch/superh/bits/stdint.h → arch/sh/bits/stdint.h


+ 0 - 0
arch/superh/bits/syscall.h → arch/sh/bits/syscall.h


+ 0 - 0
arch/superh/bits/termios.h → arch/sh/bits/termios.h


+ 0 - 0
arch/superh/crt_arch.h → arch/sh/crt_arch.h


+ 0 - 0
arch/superh/pthread_arch.h → arch/sh/pthread_arch.h


+ 0 - 0
arch/superh/reloc.h → arch/sh/reloc.h


+ 0 - 0
arch/superh/src/__fpsrc_values.c → arch/sh/src/__fpsrc_values.c


+ 0 - 0
arch/superh/src/atomic.c → arch/sh/src/atomic.c


+ 0 - 0
arch/superh/syscall_arch.h → arch/sh/syscall_arch.h


+ 2 - 2
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" \

+ 0 - 0
src/fenv/superh/fenv.s → src/fenv/sh/fenv.s


+ 0 - 0
src/internal/superh/syscall.s → src/internal/sh/syscall.s


+ 0 - 0
src/ldso/superh/dlsym.s → src/ldso/sh/dlsym.s


+ 0 - 0
src/ldso/superh/start.s → src/ldso/sh/start.s


+ 0 - 0
src/setjmp/superh/longjmp.s → src/setjmp/sh/longjmp.s


+ 0 - 0
src/setjmp/superh/setjmp.s → src/setjmp/sh/setjmp.s


+ 0 - 0
src/signal/superh/restore.s → src/signal/sh/restore.s


+ 0 - 0
src/signal/superh/sigsetjmp.s → src/signal/sh/sigsetjmp.s


+ 0 - 0
src/thread/superh/__set_thread_area.s → src/thread/sh/__set_thread_area.s


+ 0 - 0
src/thread/superh/__unmapself.s → src/thread/sh/__unmapself.s


+ 0 - 0
src/thread/superh/clone.s → src/thread/sh/clone.s


+ 0 - 0
src/thread/superh/syscall_cp.s → src/thread/sh/syscall_cp.s


+ 0 - 0
src/unistd/superh/pipe.s → src/unistd/sh/pipe.s