From a68b6d339b5e0bafd5a730359db1130d0c9dba86 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Wed, 17 Feb 2010 14:55:18 -0800
Subject: Add missing libgcc_s.h header.

* Do not include tls.h in aeabi_read_tp.S. Its not needed.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 ldso/ldso/arm/aeabi_read_tp.S        | 1 -
 libc/sysdeps/linux/common/libgcc_s.h | 2 ++
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 libc/sysdeps/linux/common/libgcc_s.h

diff --git a/ldso/ldso/arm/aeabi_read_tp.S b/ldso/ldso/arm/aeabi_read_tp.S
index e906d07ce..564f59331 100644
--- a/ldso/ldso/arm/aeabi_read_tp.S
+++ b/ldso/ldso/arm/aeabi_read_tp.S
@@ -38,7 +38,6 @@
 #ifdef __UCLIBC_HAS_THREADS_NATIVE__
 
 #include <sysdep.h>
-#include <tls.h>
 
 /* GCC will emit calls to this routine under -mtp=soft.  Linux has an
    equivalent helper function (which clobbers fewer registers than
diff --git a/libc/sysdeps/linux/common/libgcc_s.h b/libc/sysdeps/linux/common/libgcc_s.h
new file mode 100644
index 000000000..e74a1034c
--- /dev/null
+++ b/libc/sysdeps/linux/common/libgcc_s.h
@@ -0,0 +1,2 @@
+/* Name of libgcc_s library provided by gcc.  */
+#define LIBGCC_S_SO "libgcc_s.so.1"
-- 
cgit v1.2.3