summaryrefslogtreecommitdiff
path: root/extra
AgeCommit message (Collapse)Author
2015-02-16ARC: Conditionalise certain relocations as provided by TLS tools onlyVineet Gupta
uClibc mainline supports NPTL which in turns depends on TLS support in the tools (gcc/binutils), which is yet to be merged in dev branches. However there is some non NPTL code in uClibc, added as part of NPTL effort, which relies on certain relocations only provided by NPTL binutils. As a result building the current upstream even for LT.old breaks. So conditionalize that code on tools, bu tin lack of specific versions, we use NPTL enabling as a sign the tools are equipped to handle those relos. Signed-off-by: Vineet Gupta <vgupta@synopsys.com>
2015-02-14Revert "resolve merge"Waldemar Brodkorb
This reverts commit 6b6ede3d15f04fe825cfa9f697507457e3640344.
2015-02-14resolve mergeWaldemar Brodkorb
2015-02-13uncomment nios2Waldemar Brodkorb
2015-02-12unbreak support for ARM no MMU caseWaldemar Brodkorb
As suggested on the uCLibc mailing list: http://lists.uclibc.org/pipermail/uclibc/2014-November/048702.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048703.html http://lists.uclibc.org/pipermail/uclibc/2014-November/048704.html
2015-02-08Use executables RPATH/RUNPATH when searching for libraries.Waldemar Brodkorb
Patch by Steve Ellcey <sellcey@imgtec.com> on uClibc mailinglist.
2015-01-09enable microblaze. at least toolchain creation is working without NPTLWaldemar Brodkorb
2014-12-30Merge branch 'master' of git+ssh://openadk.org/git/uclibc-ngWaldemar Brodkorb
2014-12-30reenable c6x for toolchain testing without NPTLWaldemar Brodkorb
2014-12-28remove hidden warning option, not useful for others.Waldemar Brodkorb
2014-12-25merge upstream changesWaldemar Brodkorb
2014-12-12unistd: allow to turn off getopt_longBernhard Reutner-Fischer
The GNU variant of getopt() previously had no way to turn off getopt_long() support.
2014-12-12config: move STDIO_FUTEXES up a bitBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-11-11Merge remote-tracking branch 'origin/upstream'Waldemar Brodkorb
2014-11-10Config.in.arch: enable long double math for xtensaMax Filippov
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-11-10statfs: fix compile error when UCLIBC_LINUX_SPECIFIC is not setAnthony G. Basile
statfs() is a Linux-specific function. When building without UCLIBC_LINUX_SPECIFIC set, libc_hidden_proto(statfs) in include/sys/statfs.h is unmatched with libc_hidden_def(statfs) in libc/sysdeps/linux/common/statfs.c, leading to a compile error. This patch fixes this, as well as adds statfs() to the list of Linux-specific functions in extra/Configs/Config.in. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-10-14reduce the list of supported architecturesWaldemar Brodkorb
As most of these architectures either does not compile or embedded hardware is difficult to get, I disable them for now. I do not remove the existing code and hope to enable many of them in the future, but not for 1.0.
2014-10-10c6x: disable it at the momentWaldemar Brodkorb
There is a NPTL port of uCLibc for c6x, but it doesn't work with uClibc master. May be someone with real hardware could sync it. Unfortunately I got no respone from Aurelien and no response on the mailing list.
2014-09-26libpthread: disable unimplemented configurationsWaldemar Brodkorb
When NPTL is available for an architecture just allow the use of it. If NPTL is not available for an architecture, allow to choose between LT and LT.old. This minimizes misconfiguration of threading library.
2014-09-26enable this symbol by defaultWaldemar Brodkorb
disabling this results in non-working toolchain building, so better do not allow anyone to disable it.
2014-09-17disable broken architecturesWaldemar Brodkorb
2014-09-09libc: add fallocate() and fallocate64()Anthony G. Basile
We add the Linux-specific function fallocate() which allows the user to directly manipulate allocate space for a file. fallocate() can operate in different modes, but the default mode is equivalent to posix_fallocate() which is specified in POSIX.1. Recent releases of e2fsprogs 1.42.11 and above expect fallocate64() to be available. Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-09-04sparc: remove sparc64/sparcv9 codeWaldemar Brodkorb
The sparc64/sparcv9 code is incomplete. Furthermore there is no real embedded hardware for sparc64 available, so better remove it until someone comes up with a complete port. Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-09-04buildsys: tweak check_ld flag probingBernhard Reutner-Fischer
ld was (erroneously) complaining that it failed to merge private bfd data. Silence this mismatch as seen on m68k with obfd binary. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-08-18ARC: Enable OBSTACK in defconfig for ARCAnton Kolesov
OBSTACK is required for native builds of binutils and GDB. Signed-off-by: Anton Kolesov <Anton.Kolesov@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-08-18NPTL: ARC supportVineet Gupta
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-02-15buildsys: Add MIPS64R2 supportSteve Ellcey
There is support for mips64(r1) already in uclibc, this change adds mips64r2 by adding the MIPS64R2 config variable and checking it in Rules.mak. Signed-off-by: Steve Ellcey <sellcey@mips.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-01-08buildsys: update unifdefBernhard Reutner-Fischer
sync up to 1542ea42da59018860a987f34f065cd120982e8c (2.10 + cleaner exit status handling) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-01-07buildsys: fixup unifdef state in skiphash, linenumBernhard Reutner-Fischer
amend to fixup line-numbering in the unifdefile Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2014-01-07buildsys: fixup unifdef state in skiphashBernhard Reutner-Fischer
attempt to fix unifdef swallowing -f defundefile lines Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-12-20ARC defconfigsVineet Gupta
Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-12-20ARC port to uClibcVineet Gupta
For this port, I would like to give due credit to: - Folks from Codito technologies (Sameer, Amit, Kanika, Ramana,...) who did the very first port - ARC UK from 2007-2009 (Joern, Irfan, Khurram, Phil... - Late Brendan Kehoe (may he RIP) Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-11-19buildsys: update unifdefBernhard Reutner-Fischer
sync up to 55501a61dd257e941d53f175350ee52fc6ff2866 (2.9 + refactor keyword and symbol matching) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-11-06pull kconfig from linux-3.11Bernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-08-02malloc: enable assert() when malloc debuggingBaruch Siach
UCLIBC_MALLOC_DEBUGGING is useless without assert(). Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-06-14config: UCLIBC_HAS_OBSTACK to optionally enable obstack supportAnthony G. Basile
Signed-off-by: Anthony G. Basile <blueness@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-05-19i386: punt all config options that just control -marchMike Frysinger
You can set these yourself in your CFLAGS, and our list is incomplete and pointless (we agreed some time ago to stop doing this). We keep around CONFIG_[3456]86 because it is used to select between different optimized subdirs of handcoded assembly. Also take this opportunity to up the default to i686. If you're using an older cpu, then you can handle changing this yourself. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-04-04add UCLIBC_SUSV2_LEGACY to hide vallocBernhard Reutner-Fischer
valloc was marked as LEGACY in SUSv2, removed from SUSv3 and later. TODO: Remove this (point people to memalign and it's successors?). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-04-04relinfo.pl: use correct interpreterBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-04-04relinfo.pl: silence warningBernhard Reutner-Fischer
$* is no longer supported at extra/scripts/relinfo.pl line 2. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14buildsys: remove calls to mktempBernhard Reutner-Fischer
Nowadays we should not be racy in this area anymore, so simplify generating temporary build-files. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14buildsys: tweak KCONFIG_CONFIG exportBernhard Reutner-Fischer
0c3eb2da578bc7ba2e74d240e3249dce62ec725e moved KCONFIG_CONFIG around and that broke propagation of config-settings to the testsuite. Fix that. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14extra/locale: Mark __codeset_8_bit_t as packed for MetaMarkos Chandras
gen_ldc writes offsets into the __locale_mmap_t structure. This relies on the host system having the same struct offsets as the target. On Meta, the structs are always aligned to a multiple of 4 bytes, and for these targets it is required for the struct to be packed so that it is more likely to match the host system (typically x86 which does not align structs). Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14Add support for the Meta architectureMarkos Chandras
Meta cores are 32-bit, hardware multithreaded, general purpose, embedded processors which also feature a DSP instruction set, and can be found in many digital radios. They are capable of running different operating systems on different hardware threads, for example a digital radio might run RTOSes for DAB decoding and audio decoding on 3 hardware threads, and run Linux on the 4th hardware thread to manage the user interface, networking etc. HTPs are also capable of running SMP Linux on multiple hardware threads. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-03-14libpthread: linuxthreads.old: Allow building for no-legacy-syscalls ABIVineet Gupta
Since NPTL port to an ARCH can be non-trivial, we must allow the legacy pthread lib to be built for the common-generic syscall ABI Note that only linuxthreads.old is allowed, since "newer" linuxthreads relies on sysctl which the ABI no longer provides. Signed-off-by: Vineet Gupta <vgupta@synopsys.com> Cc: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-02-20scripts: remove CVS header from getentBernhard Reutner-Fischer
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-02-20Config.in: Introduce symbol for arches with deprecated syscallsMarkos Chandras
Linuxthreads(old and new) need deprecated syscalls to build. Existing architectures support these system calls but new architectures don't. This symbol has no functional change apart from hidding the Linuxthreads symbols from arches that don't support them. Signed-off-by: Markos Chandras <markos.chandras@imgtec.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2013-01-26buildsys: gen_bits_syscall_h: do not leave undefined SYS_xxx aroundMike Frysinger
If we end up doing '#undef __NR_xxx', we don't want to leave the corresponding SYS_xxx symbol defined. So undef it too. For example, with the ARM EABI layer, we have a bunch of legacy syscalls that we define early on and then later undefine (such as __NR_utime). But we left SYS_utime defined so code that tests for that define before using it would be broken (since it'd be defined to a non-existent symbol). URL: https://bugs.gentoo.org/425006 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-26buildsys: gen_bits_syscall_h: clean up scriptMike Frysinger
Just style changes here to make it more readable. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-26buildsys: gen_bits_syscall_h: remove top_builddir referencesMike Frysinger
This script hasn't used this var in a while (it writes to stdout), so drop all mention/usage of it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>