summaryrefslogtreecommitdiff
path: root/package/glibc
diff options
context:
space:
mode:
Diffstat (limited to 'package/glibc')
-rw-r--r--package/glibc/Makefile2
-rw-r--r--package/glibc/files/libc.so.arm5
-rw-r--r--package/glibc/files/libc.so.microblaze5
-rw-r--r--package/glibc/files/libc.so.mips6
-rw-r--r--package/glibc/files/libc.so.mipsel6
-rw-r--r--package/glibc/files/libc.so.ppc5
-rw-r--r--package/glibc/files/libc.so.ppc645
-rw-r--r--package/glibc/files/libc.so.sparc5
8 files changed, 32 insertions, 7 deletions
diff --git a/package/glibc/Makefile b/package/glibc/Makefile
index 850280ab5..17c49f3af 100644
--- a/package/glibc/Makefile
+++ b/package/glibc/Makefile
@@ -50,7 +50,7 @@ glibc-dev-install:
echo $(TARGET_CFLAGS)
${INSTALL_DIR} $(IDIR_GLIBC_DEV)/$(ADK_TARGET_LIBC_PATH) $(IDIR_GLIBC_DEV)/usr/lib
# install linker script
- -cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so
+ cp ./files/libc.so.$(CPU_ARCH) $(IDIR_GLIBC_DEV)/usr/lib/libc.so
ifeq ($(ADK_TARGET_ABI_O32),y)
ifeq ($(ADK_big),y)
$(SED) "s#@@ELFTARGET@@#elf32-tradbigmips#" $(IDIR_GLIBC_DEV)/usr/lib/libc.so
diff --git a/package/glibc/files/libc.so.arm b/package/glibc/files/libc.so.arm
new file mode 100644
index 000000000..a79b29aa3
--- /dev/null
+++ b/package/glibc/files/libc.so.arm
@@ -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-littlearm)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.3 ) )
diff --git a/package/glibc/files/libc.so.microblaze b/package/glibc/files/libc.so.microblaze
new file mode 100644
index 000000000..4642dcbd5
--- /dev/null
+++ b/package/glibc/files/libc.so.microblaze
@@ -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-microblaze)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/glibc/files/libc.so.mips b/package/glibc/files/libc.so.mips
index 9e73ea39c..32a3700e7 100644
--- a/package/glibc/files/libc.so.mips
+++ b/package/glibc/files/libc.so.mips
@@ -1,5 +1,5 @@
/* GNU ld script
Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(@@ELFTARGET@@)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
+ the static library, so try that secondarily. */
+OUTPUT_FORMAT(elf32-tradbigmips)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/glibc/files/libc.so.mipsel b/package/glibc/files/libc.so.mipsel
index 9e73ea39c..6a6ff5582 100644
--- a/package/glibc/files/libc.so.mipsel
+++ b/package/glibc/files/libc.so.mipsel
@@ -1,5 +1,5 @@
/* GNU ld script
Use the shared library, but some functions are only in
- the static library, so try that secondarily. */
- OUTPUT_FORMAT(@@ELFTARGET@@)
- GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
+ the static library, so try that secondarily. */
+OUTPUT_FORMAT(elf32-tradlittlemips)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/glibc/files/libc.so.ppc b/package/glibc/files/libc.so.ppc
new file mode 100644
index 000000000..3d4612706
--- /dev/null
+++ b/package/glibc/files/libc.so.ppc
@@ -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-powerpc)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld.so.1 ) )
diff --git a/package/glibc/files/libc.so.ppc64 b/package/glibc/files/libc.so.ppc64
new file mode 100644
index 000000000..35a1edcc7
--- /dev/null
+++ b/package/glibc/files/libc.so.ppc64
@@ -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(elf64-powerpc)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld64.so.1 ) )
diff --git a/package/glibc/files/libc.so.sparc b/package/glibc/files/libc.so.sparc
new file mode 100644
index 000000000..91fa2c87d
--- /dev/null
+++ b/package/glibc/files/libc.so.sparc
@@ -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-sparc)
+GROUP ( /lib/libc.so.6 /usr/lib/libc_nonshared.a AS_NEEDED ( /lib/ld-linux.so.2 ) )