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 db36600c2956f7b7ea6905f09fc581108c2e3eac (commit) via 0839d5e8bf55b21518f96772b89201da96ebef8c (commit) via 9d429ee21c755316bf01e589c1106cc64bb0f3b4 (commit) via 96d2cac46e30a2c05e863f569f7710baed66b703 (commit) via fb1752b60469d959e1a469ba1ca85b754514d6e2 (commit) via a016a554e2bd5fe7ef71da2dc8c5d6698e0c49c6 (commit) via 1103aefd8fb3c61df870a6970e74ff5020e85562 (commit) via 2e2954c602c7ca97c73131b918c1383fc4923413 (commit) via d5eaaa724eabb4af4563cb9d77da711626d438ad (commit) via 01881503631a691c0701434cfe6d70fd8e258534 (commit) from 4131f1dae51993d4f3dbde91305cddc898094519 (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 db36600c2956f7b7ea6905f09fc581108c2e3eac Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 20:47:28 2015 +0000
maybe fix an "noreturn function does return" warning
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 0839d5e8bf55b21518f96772b89201da96ebef8c Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 20:43:00 2015 +0000
shut up GCC, part 2
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 9d429ee21c755316bf01e589c1106cc64bb0f3b4 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:44:26 2015 +0000
fix cast warning
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 96d2cac46e30a2c05e863f569f7710baed66b703 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:35:06 2015 +0000
shut up GCC
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit fb1752b60469d959e1a469ba1ca85b754514d6e2 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:34:08 2015 +0000
I think this is what you mean
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit a016a554e2bd5fe7ef71da2dc8c5d6698e0c49c6 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:25:16 2015 +0000
silence GCC
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 1103aefd8fb3c61df870a6970e74ff5020e85562 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:13:18 2015 +0000
remove apparently unused code, this time for real
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 2e2954c602c7ca97c73131b918c1383fc4923413 Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:09:51 2015 +0000
explicitly cast (even though this casting is not very nice)
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit d5eaaa724eabb4af4563cb9d77da711626d438ad Author: Thorsten Glaser tg@mirbsd.org Date: Thu Jan 1 19:08:07 2015 +0000
make __dl_start, whose address is taken, into a real object type
Signed-off-by: Thorsten Glaser tg@mirbsd.org
commit 01881503631a691c0701434cfe6d70fd8e258534 Author: Waldemar Brodkorb wbx@openadk.org Date: Thu Jan 1 13:34:18 2015 -0600
remove unused Linux 2.0 compat code, otherwise c6x without NPTL is broken
-----------------------------------------------------------------------
Summary of changes: ldso/ldso/arm/dl-sysdep.h | 2 +- ldso/ldso/arm/elfinterp.c | 4 ++-- ldso/ldso/avr32/dl-sysdep.h | 3 ++- libc/inet/ntop.c | 2 +- libc/misc/regex/regex_internal.c | 7 ------- libc/stdio/_scanf.c | 7 +++---- libc/stdlib/system.c | 4 ---- libpthread/nptl/allocatestack.c | 2 +- libpthread/nptl/forward.c | 1 + 9 files changed, 11 insertions(+), 21 deletions(-)
diff --git a/ldso/ldso/arm/dl-sysdep.h b/ldso/ldso/arm/dl-sysdep.h index 94dc1d7..dc89710 100644 --- a/ldso/ldso/arm/dl-sysdep.h +++ b/ldso/ldso/arm/dl-sysdep.h @@ -105,7 +105,7 @@ elf_machine_dynamic (void) return dynamic; }
-extern void __dl_start __asm__ ("_dl_start"); +extern char __dl_start[] __asm__("_dl_start");
/* Return the run-time load address of the shared object. */ static __always_inline Elf32_Addr __attribute__ ((unused)) diff --git a/ldso/ldso/arm/elfinterp.c b/ldso/ldso/arm/elfinterp.c index c2f52b8..2043263 100644 --- a/ldso/ldso/arm/elfinterp.c +++ b/ldso/ldso/arm/elfinterp.c @@ -69,7 +69,7 @@ unsigned long _dl_linux_resolver(struct elf_resolve *tpnt, int reloc_entry) got_addr = (char **) instr_addr;
/* Get the address of the GOT entry */ - new_addr = _dl_find_hash(symname, &_dl_loaded_modules->symbol_scope, + new_addr = (unsigned long)_dl_find_hash(symname, &_dl_loaded_modules->symbol_scope, tpnt, ELF_RTYPE_CLASS_PLT, NULL); if (unlikely(!new_addr)) { _dl_dprintf(2, "%s: can't resolve symbol '%s'\n", @@ -203,7 +203,7 @@ _dl_do_reloc (struct elf_resolve *tpnt,struct r_scope_elem *scope, symname = strtab + symtab[symtab_index].st_name;
if (symtab_index) { - symbol_addr = _dl_find_hash(symname, scope, tpnt, + symbol_addr = (unsigned long)_dl_find_hash(symname, scope, tpnt, elf_machine_type_class(reloc_type), &sym_ref);
/* diff --git a/ldso/ldso/avr32/dl-sysdep.h b/ldso/ldso/avr32/dl-sysdep.h index 515d829..a422127 100644 --- a/ldso/ldso/avr32/dl-sysdep.h +++ b/ldso/ldso/avr32/dl-sysdep.h @@ -63,11 +63,12 @@ elf_machine_dynamic (void) return *got; }
+extern char __dl_start[] __asm__("_dl_start"); + /* Return the run-time load address of the shared object. */ static __always_inline Elf32_Addr elf_machine_load_address (void) { - extern void __dl_start __asm__("_dl_start"); Elf32_Addr got_addr = (Elf32_Addr) &__dl_start; Elf32_Addr pcrel_addr;
diff --git a/libc/inet/ntop.c b/libc/inet/ntop.c index 0181a41..30dde6f 100644 --- a/libc/inet/ntop.c +++ b/libc/inet/ntop.c @@ -105,7 +105,7 @@ inet_ntop6(const u_char *src, char *dst, size_t size) * to use pointer overlays. All the world's not a VAX. */ char tmp[sizeof ("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; - struct { int base, len; } best, cur; + struct { int base, len; } best = { 0, 0 }, cur = { 0, 0 }; u_int words[8]; int i;
diff --git a/libc/misc/regex/regex_internal.c b/libc/misc/regex/regex_internal.c index f9412d6..c74c6a0 100644 --- a/libc/misc/regex/regex_internal.c +++ b/libc/misc/regex/regex_internal.c @@ -650,15 +650,8 @@ re_string_reconstruct (re_string_t *pstr, int idx, int eflags) mbstate_t cur_state; wchar_t wc2; int mlen = raw + pstr->len - p; - unsigned char buf[6]; size_t mbclen;
- if (BE (pstr->trans != NULL, 0)) - { - int i = mlen < 6 ? mlen : 6; - while (--i >= 0) - buf[i] = pstr->trans[p[i]]; - } /* XXX Don't use mbrtowc, we know which conversion to use (UTF-8 -> UCS4). */ memset (&cur_state, 0, sizeof (cur_state)); diff --git a/libc/stdio/_scanf.c b/libc/stdio/_scanf.c index 6ecb3cb..d48fd12 100644 --- a/libc/stdio/_scanf.c +++ b/libc/stdio/_scanf.c @@ -553,9 +553,8 @@ enum { /**********************************************************************/
#ifdef L_vfwscanf -/* FIXME: "warning: the right operand of ">" changes sign when promoted" */ -#if WINT_MIN > EOF -#error Unfortunately, we currently need wint_t to be able to store EOF. Sorry. +#if WINT_MIN > WEOF +#error Unfortunately, we currently need wint_t to be able to store WEOF. Sorry. #endif #define W_EOF WEOF #define Wint wint_t @@ -1144,7 +1143,7 @@ int VFSCANF (FILE *__restrict fp, const Wchar *__restrict format, va_list arg) unsigned char buf[MAX_DIGITS+2]; #ifdef L_vfscanf unsigned char scanset[UCHAR_MAX + 1]; - unsigned char invert; /* Careful! Meaning changes. */ + unsigned char invert = 0; /* Careful! Meaning changes. */ #endif /* L_vfscanf */ unsigned char fail; unsigned char zero_conversions = 1; diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c index 7f81f94..8a6734d 100644 --- a/libc/stdlib/system.c +++ b/libc/stdlib/system.c @@ -20,11 +20,7 @@
extern __typeof(system) __libc_system; #if !defined __UCLIBC_HAS_THREADS_NATIVE__ -/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */ #include <sys/syscall.h> -#ifndef __NR_vfork -# define vfork fork -#endif
int __libc_system(const char *command) { diff --git a/libpthread/nptl/allocatestack.c b/libpthread/nptl/allocatestack.c index 3f0586d..118820a 100644 --- a/libpthread/nptl/allocatestack.c +++ b/libpthread/nptl/allocatestack.c @@ -786,7 +786,7 @@ __reclaim_stacks (void) if (in_flight_stack != 0) { bool add_p = in_flight_stack & 1; - list_t *elem = (list_t *) (in_flight_stack & ~UINTMAX_C (1)); + list_t *elem = (list_t *)(uintptr_t)(in_flight_stack & ~UINTMAX_C (1));
if (add_p) { diff --git a/libpthread/nptl/forward.c b/libpthread/nptl/forward.c index 8129080..a5c97ba 100644 --- a/libpthread/nptl/forward.c +++ b/libpthread/nptl/forward.c @@ -160,5 +160,6 @@ FORWARD2(__pthread_unwind, /* We cannot call abort() here. */ INTERNAL_SYSCALL_DECL (err); INTERNAL_SYSCALL (kill, err, 1, SIGKILL); + __builtin_unreachable(); }) #undef return
hooks/post-receive