summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2014-02-27 22:03:25 -0500
committerRich Felker <dalias@aerifal.cx>2014-02-27 22:03:25 -0500
commitaacd348637e38795dd7ae3c7c8c908d8c0cd24fd (patch)
tree3055797eea08dafe99dcdbd1e7efabd44bcb723b /configure
parentb9f7f2e8762922a1a24d41358164ebe9ae437e31 (diff)
downloadmusl-aacd348637e38795dd7ae3c7c8c908d8c0cd24fd.tar.gz
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index c622366a..38b36d82 100755
--- 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" \