summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-04-05 06:12:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2014-04-05 06:12:02 +0200
commitd258cbfeb32764ce2ff0d2cad71265fb0424904a (patch)
treec58cf04c46a3b366183acc7ca37f088d56c2cf6a
parent76563c556bd14319938eae3f9ee376b5c50c21cd (diff)
add linker script for sh
-rw-r--r--package/glibc/files/libc.so.sh45
1 files changed, 5 insertions, 0 deletions
diff --git a/package/glibc/files/libc.so.sh4 b/package/glibc/files/libc.so.sh4
new file mode 100644
index 000000000..eae5be42d
--- /dev/null
+++ b/package/glibc/files/libc.so.sh4
@@ -0,0 +1,5 @@
+/* GNU ld script
+ Use the shared library, but some functions are only in
+ the static library, so try that secondarily. */
+OUTPUT_FORMAT(elf32-sh-linux)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )