summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* wchar: fix inverted parameters in error messageAndré Goddard Rosa2009-10-121-1/+1
| | | | | | | | | | | The error message should output "fromcode -> tocode" rather than "tocode -> fromcode". Seems to be a typo due to the order of the func called: iconv_t iconv_open(const char *tocode, const char *fromcode); Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc.so: include all output formats in linker scriptSteve Bennett2009-10-121-2/+2
| | | | | | | | | | | Rather than ripping out the default output format from the linker, include the big/little endian alternatives for the people who link with bi-endian toolchains. URL: http://lists.uclibc.org/pipermail/uclibc/2009-June/042595.html Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* include errno.h unconditionallyBernhard Reutner-Fischer2009-10-121-4/+3
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add stub for shm_open() and shm_unlinkBernhard Reutner-Fischer2009-10-121-0/+98
| | | | | | Untested and needs testsuite exercise added Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Blackfin: make sure all relocs are uppercaseMike Frysinger2009-10-124-33/+33
| | | | | | | This is to match changes in the toolchain. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* pull waitid from masterBernhard Reutner-Fischer2009-10-121-5/+16
| | | | | | | | | | | | waitid: linux ABI takes 5 args, not 4 The POSIX waitid() takes 4 args, but the Linux one takes 5 args, so make sure we stuff the 5th arg with a NULL. Otherwise garbage gets randomly passed up and considering this is a pointer, that's baaaad. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add working pipe implementation for sparcAustin Foxley2009-10-123-3/+69
| | | | | | | Also get rid of warning in sparc sigaction Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix compilation of linuxthreads for sparc64Austin Foxley2009-10-122-3/+0
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add a sigaction implementation for sparcAustin Foxley2009-10-122-1/+95
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add position independent code for crt1.S. This will generate a Scrt1.o that ↵Carmelo Amoroso2009-10-121-0/+45
| | | | | | | | is linked to executabled when compiled as PIE code (position independent executable) without requiring relocation in .text section (not allowed on uclibc/sh4). Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sh: Fix FPU config optionPeter Griffin2009-10-121-1/+1
| | | | | | | Change to UCLIBC_HAS_FPU because UCLIBC_HAS_FLOATS can be used with UCLIBC_HAS_SOFT_FLOAT option. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* patch from Joseph S. Meyersaustinf2009-10-121-3/+3
| | | | | | | | | | | | | | | | | | This patch merges 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #2841] * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result to promote to 'int' when uint_least8_t and uint_least16_t promote to 'int'. from glibc to fix a bug in uClibc's stdint.h (GCC's testsuite will now detect this problem, along with various others some systems have in their stdint.h headers.) Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Reinstate {drm,mtd,rdma,sound,video} directory installtion pending some ↵Denis Vlasenko2009-10-121-11/+11
| | | | | | explanation from gurus. Expanded comment explaining _why_ we try to install these exact directories. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* install_kernel_headers: comment out copying of extra directories, this seem ↵Denis Vlasenko2009-10-121-9/+11
| | | | | | to be not needed Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* make sure to block all signals when calling daemon() to prevent delivery ↵Mike Frysinger2009-10-121-1/+13
| | | | | | while the parent is sharing the stack Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* for sparc v8 MAGIC1 was defined incorrectlyaustinf2009-10-121-1/+1
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldsoaustinf2009-10-121-1/+1
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - fix typoBernhard Reutner-Fischer2009-10-121-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Fix the ifdef logic broken by last commit for !defined (__mcoldfire__)Khem Raj2009-10-121-3/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* The attached patches fixes the problems found bringing up uclibc on coldfire ↵Khem Raj2009-10-124-10/+31
| | | | | | | | | | | | | | M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* implement daemon() using clone() on no-mmu systems as suggested by Jamie LokierMike Frysinger2009-10-123-17/+26
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The ↵Rob Landley2009-10-121-1/+2
| | | | | | new guard symbol is "__SPARC_POSIX_TYPES_H". Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - Add strtouq alias (to strtoul) for 64bitBernhard Reutner-Fischer2009-10-122-1/+6
| | | | | | | | | | The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix compilation of linuxthreads for sparc add myself to MAINTAINERS for sparcaustinf2009-10-126-17/+18
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Added string.h header for strerr prototype.Carmelo Amoroso2009-10-121-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Mike Frysinger2009-10-121-1/+1
| | | | | | memory protection Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* import user.h from the kernel as it is no longer exported by the kernelMike Frysinger2009-10-121-0/+57
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* default linux-2.4 module support to off for Blackfin targetsMike Frysinger2009-10-121-2/+3
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* force DOPIC for FDPIC ELF targetsMike Frysinger2009-10-121-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add GNU extension for select timeouts where the sub-second field is actually ↵Mike Frysinger2009-10-121-1/+20
| | | | | | longer than one second Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Denis Vlasenko2009-10-122-0/+208
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* linuxthreads fixes from Will Newton (will.newton AT gmail.com): * share Sys ↵Denis Vlasenko2009-10-127-29/+46
| | | | | | V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Make long double support available for sh too.Carmelo Amoroso2009-10-121-1/+1
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add EPOLLRDHUP constantDenis Vlasenko2009-10-121-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Use gcc built-in defines for detecting SH cores instead of uclibc config ↵Carmelo Amoroso2009-10-126-7/+7
| | | | | | | | | | | | | | option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - fix fallout from r24140 and r24160 for !CTYPE_TABLESBernhard Reutner-Fischer2009-10-121-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add comment why do we need _ISbit() macroDenis Vlasenko2009-10-121-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* include more info in error messages so we have a better idea where things ↵Mike Frysinger2009-10-121-3/+3
| | | | | | are failing Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* do not rely on features.h so that elf.h can be used on non-elf systems ↵Mike Frysinger2009-10-121-4/+7
| | | | | | (Darwin, Windows, etc...) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* allow people to run the hostutils targets without having a .config fileMike Frysinger2009-10-121-4/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Remove check for the relocation type check in the resolver, from all archs.Carmelo Amoroso2009-10-1213-91/+0
| | | | | Signed-off-by: Jiri Olsa <olsajiri@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - make sure __user is defined when including kernel's sigcontext.hBernhard Reutner-Fischer2009-10-121-0/+3
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libm_sh: fix libm build for shCarmelo Amoroso2009-10-121-3/+0
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Get rid of the following annoying warnings on ppc: warning: nested extern ↵Denis Vlasenko2009-10-121-17/+18
| | | | | | declaration of '__illegally_sized_syscall_argN' From Stefan Assmann (sassmann AT suse.de) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - remove leftover from r13277Bernhard Reutner-Fischer2009-10-121-1/+0
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - fix for !GETOPT_LONGBernhard Reutner-Fischer2009-10-122-12/+36
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - non-pic support for MIPS (Catherine Moore, clm at codesourcery com)Bernhard Reutner-Fischer2009-10-125-6/+167
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Bernhard Reutner-Fischer2009-10-121-81/+110
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - emulate unavailable syscall getpgrp on e.g. ia64 (Stefan Assmann)Bernhard Reutner-Fischer2009-10-121-1/+13
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - install utils into the proper directoriesBernhard Reutner-Fischer2009-10-121-5/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>