[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. d55e4152afd3093002f296c86161ac31cebc9a0f

wbx wbx at helium.waldemar-brodkorb.de
Wed Apr 15 19:38:08 CEST 2015


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  d55e4152afd3093002f296c86161ac31cebc9a0f (commit)
       via  96481766141f0fa5bd79e8e155da8e8569eea450 (commit)
      from  b10092278c5c6f14bebb3cf277de4d41c4148062 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit d55e4152afd3093002f296c86161ac31cebc9a0f
Author: Waldemar Brodkorb <wbx at openadk.org>
Date:   Wed Apr 15 12:47:57 2015 -0500

    fix static linking of pthread apps
    
    When compiling python you get duplicate symbol problem.
    Seen in the autobuilders of buildroot project.

commit 96481766141f0fa5bd79e8e155da8e8569eea450
Author: Waldemar Brodkorb <wbx at openadk.org>
Date:   Thu Feb 26 20:46:11 2015 +0100

    use weak to fix f.e. cdrkit static compile. fixes #3

-----------------------------------------------------------------------

Summary of changes:
 libc/sysdeps/linux/common/setregid.c  |    2 +-
 libc/sysdeps/linux/common/setresgid.c |    4 ++--
 libc/sysdeps/linux/common/setresuid.c |    4 ++--
 libc/sysdeps/linux/common/setreuid.c  |    2 +-
 4 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/libc/sysdeps/linux/common/setregid.c b/libc/sysdeps/linux/common/setregid.c
index 15d590a..aaa7293 100644
--- a/libc/sysdeps/linux/common/setregid.c
+++ b/libc/sysdeps/linux/common/setregid.c
@@ -37,4 +37,4 @@ int setregid(gid_t rgid, gid_t egid)
 }
 #endif
 
-libc_hidden_def(setregid)
+libc_hidden_weak(setregid)
diff --git a/libc/sysdeps/linux/common/setresgid.c b/libc/sysdeps/linux/common/setresgid.c
index 95decc2..b6d1647 100644
--- a/libc/sysdeps/linux/common/setresgid.c
+++ b/libc/sysdeps/linux/common/setresgid.c
@@ -16,7 +16,7 @@
 # define __NR_setresgid __NR_setresgid32
 
 _syscall3(int, setresgid, gid_t, rgid, gid_t, egid, gid_t, sgid)
-libc_hidden_def(setresgid)
+libc_hidden_weak(setresgid)
 
 #elif defined(__NR_setresgid)
 
@@ -34,7 +34,7 @@ int setresgid(gid_t rgid, gid_t egid, gid_t sgid)
 	}
 	return (__syscall_setresgid(rgid, egid, sgid));
 }
-libc_hidden_def(setresgid)
+libc_hidden_weak(setresgid)
 
 #endif
 
diff --git a/libc/sysdeps/linux/common/setresuid.c b/libc/sysdeps/linux/common/setresuid.c
index 022ccfe..a2a2183 100644
--- a/libc/sysdeps/linux/common/setresuid.c
+++ b/libc/sysdeps/linux/common/setresuid.c
@@ -16,7 +16,7 @@
 # define __NR_setresuid __NR_setresuid32
 
 _syscall3(int, setresuid, uid_t, ruid, uid_t, euid, uid_t, suid)
-libc_hidden_def(setresuid)
+libc_hidden_weak(setresuid)
 
 #elif defined(__NR_setresuid)
 
@@ -34,7 +34,7 @@ int setresuid(uid_t ruid, uid_t euid, uid_t suid)
 	}
 	return (__syscall_setresuid(ruid, euid, suid));
 }
-libc_hidden_def(setresuid)
+libc_hidden_weak(setresuid)
 
 #endif
 
diff --git a/libc/sysdeps/linux/common/setreuid.c b/libc/sysdeps/linux/common/setreuid.c
index a9eea6d..583a987 100644
--- a/libc/sysdeps/linux/common/setreuid.c
+++ b/libc/sysdeps/linux/common/setreuid.c
@@ -37,4 +37,4 @@ int setreuid(uid_t ruid, uid_t euid)
 }
 #endif
 
-libc_hidden_def(setreuid)
+libc_hidden_weak(setreuid)


hooks/post-receive
-- 
uClibc-ng - small C library for embedded systems


More information about the devel mailing list