summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
...
* - use c89-style commentsBernhard Reutner-Fischer2008-10-032-2/+2
| | | | Closes issue #5194
* - fix whitespaceBernhard Reutner-Fischer2008-09-301-2/+2
|
* implement getgrouplist()Denis Vlasenko2008-09-271-5/+8
|
* Add globally __stringify macro in libc-symbols.h.Carmelo Amoroso2008-09-251-0/+6
| | | | | | Remove all other duplicated definitions. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer2008-09-181-38/+23
|
* - remove posix_openpt relocationBernhard Reutner-Fischer2008-09-111-0/+1
|
* - remove relocations for clock_getresBernhard Reutner-Fischer2008-09-111-0/+1
|
* Hush compiler for extern inline warnings by using Carmelo Amoroso2008-09-091-2/+2
| | | | | | | __extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* - for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into ↵Bernhard Reutner-Fischer2008-09-061-1/+2
| | | | account
* Move ifaddrs.h from uClibc-internal location libc/inet/ to include/, and makeRicard Wanderlof2008-08-281-0/+74
| | | | | it conditionally included among the installed header files depending on UCLIBC_HAS_AI_ADDRCONFIG.
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-2313-70/+70
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-5/+5
|
* New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMUDenis Vlasenko2008-07-081-1/+1
|
* Removed include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do notRicard Wanderlof2008-06-271-19/+0
| | | | need the file outside of uClibc anyway.
* Added support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to ↵Ricard Wanderlof2008-06-271-0/+19
| | | | getaddrinfo(3).
* In string.h, move libc_hidden_proto next to the corresponding declaration.Bernd Schmidt2008-06-081-116/+48
| | | | | | | Filter them out when installing headers. Tested by building up bfin-*linux toolchains and building our copy of uClinux-dist.
* - UCLIBC_HAS_GETPT pulls in getpt.Bernhard Reutner-Fischer2008-06-071-1/+4
| | | | - ptsname_r depends on UCLIBC_HAS_PTY just like ptsname()
* Heed a warning: "string" was assigned to char*, changing that to const char*Denis Vlasenko2008-06-061-2/+2
|
* - make libcrypt optional. Untested.Bernhard Reutner-Fischer2008-06-053-3/+8
|
* Undefining __UCLIBC_HAS_OBSOLETE_SYSV_SIGNAL__ did not work, since weBernd Schmidt2008-06-041-1/+1
| | | | were still defining signal to sysv_signal.
* This fixes a problem with the move of libc_hidden_proto to string.h.Bernd Schmidt2008-06-042-24/+3
| | | | | | | | | | | | | The obsolete functions bcopy, index, etc. are not supposed to be used within uClibc itself. Hence, there is no libc_hidden_def for them, but the previous patch did not just move libc_hidden_protos, it also added new ones for the legacy functions. As a result, programs which use these functions can no longer link with uClibc. This fixes it by removing the unnecessary libc_hidden_protos. I've also removed all inclusions of <strings.h> from uClibc source files: since we define _GNU_SOURCE, it is sufficient to include <string.h>. We then do not need to duplicate the libc_hidden_proto block in <strings.h>.
* - adds several config-options to allow for turning off certain featuresBernhard Reutner-Fischer2008-06-0311-21/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | like o UCLIBC_HAS_GNU_ERROR o UCLIBC_HAS_BSD_ERR o UCLIBC_HAS_PTY o UCLIBC_HAS_GETPT (1) o UCLIBC_SYSCALL_STUBS o UCLIBC_SYSCALL_STUB_WARNING o UCLIBC_LINUX_SPECIFIC (2) o UCLIBC_BSD_SPECIFIC (3) o UCLIBC_NTP_LEGACY (4) o UCLIBC_SV4_DEPRECATED (5) o UCLIBC_HAVE_REALTIME (6) o UCLIBC_HAVE_ADVANCED_REALTIME (7) o UCLIBC_HAVE_EPOLL (8) o UCLIBC_HAVE_XATTR (9) o UCLIBC_HAVE_PROFILING (10) (1) make non-standard getpt optional and implement standard posix_openpt (2) fstatfs(), inotify_*(), ioperm(), iopl(), madvise(), modify_ldt(), personality() ppoll(), setresuid() (3) mincore(), getdomainname(), setdomainname() (4) ntp_adjtime(), ntp_gettime() aliases (5) ustat() [use statfs(2) in your code instead] (6) All marked as "(REALTIME)" in SUSv3 (7) All marked as "(ADVANCED REALTIME)" in SUSv3 (8) epoll_create(), epoll_ctl(), epoll_wait() (9) all Extended Attributes (10) helpers for gcc's -finstrument-functions - Fixes _dl_exit() - Implements sleep(3) for !UCLIBC_HAVE_REALTIME - Implements usleep(3) for !UCLIBC_HAVE_REALTIME - adds #warning about incorrect posix_fadvise{,64}() - removes unused and unwanted uselib() Net outcome is that an allnoconfig with HAVE_SHARED is now about 88k instead of formerly 130k.
* Remove __PRINTF_INFO_NO_BITFIELD hack, UCLIBC_INTERNAL can be used instead,Denis Vlasenko2008-06-031-80/+65
| | | | | | | | | and it's slightly shorter. Also removes stray macros from public <printf.h> header and uses spaces for comment indentation. No code changes (verified with objdump).
* dlfcn.h exists only if __HAVE_SHARED__ ("we are built with shared lib support"),Denis Vlasenko2008-06-021-1/+1
| | | | | not when !__HAVE_NO_SHARED__ ("arch can theoretically support shred libs")
* Rework smallint machinery so that it will reliably fail to compileDenis Vlasenko2008-06-011-4/+4
| | | | | | even if arch overrides smallint size. Makes it easier to spot bugs on such arches.
* - pull wur settings from upstream. No other changes.Bernhard Reutner-Fischer2008-05-301-44/+48
|
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-201-0/+10
| | | | | | | | | | | | | | - 79 0 28 107 6b libc/inet/rpc/create_xid.o + 76 0 25 101 65 libc/inet/rpc/create_xid.o - 126 0 4 130 82 libc/misc/assert/__assert.o + 123 0 1 124 7c libc/misc/assert/__assert.o - 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o + 645 4 21 670 29e libc/misc/internals/__uClibc_main.o - 230 0 4 234 ea libc/stdlib/abort.o + 216 0 1 217 d9 libc/stdlib/abort.o - 129 0 4 133 85 libc/termios/tcgetsid.o + 126 0 1 127 7f libc/termios/tcgetsid.o
* - make it compile with !__UCLIBC_HAS_LOCALE__Bernhard Reutner-Fischer2008-05-201-1/+1
|
* Synch extern declaration with definition provided in __uClibc_main.cCarmelo Amoroso2008-05-201-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-192-0/+143
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* Added a bounch of locale fixes.Carmelo Amoroso2008-05-191-1/+3
| | | | | | | | | | | | | | | | | * extra/locale/gen_wc8bit.c: use strrchr to parse locale name to handle the case in which it contains a '.' character like ANSI_X3.4-1968 * include/locale.h: use __UCLIBC_HAS_XLOCALE__ to control inclusion of xlocale.h only * libc/misc/ctype/ctype.c: add missing weak_alias for __tolower_l and __toupper_l * libc/misc/locale/locale.c: use strcasecmp (case insensitive) for utf-8 locale name. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added implementation for 'locale' command.Carmelo Amoroso2008-05-021-1/+1
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* Experimentally move libc_hidden_proto(time) to time.h.Denis Vlasenko2008-04-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only code change observed is actually a case where we were not doing that as needed: 00000000 <__GI_tzset>: -53 push %ebx -e8 00 00 00 00 call 6 <__GI_tzset+0x6> -5b pop %ebx -81 c3 03 00 00 00 add $0x3,%ebx - R_386_GOTPC _GLOBAL_OFFSET_TABLE_ 6a 00 push $0x0 -e8 fc ff ff ff call 10 <__GI_tzset+0x10> - R_386_PLT32 time +e8 fc ff ff ff call 3 <__GI_tzset+0x3> + R_386_PC32 __GI_time 3d ff 4e 98 45 cmp $0x45984eff,%eax 0f 9e c0 setle %al 0f b6 c0 movzbl %al,%eax 50 push %eax -e8 fc ff ff ff call 21 <__GI_tzset+0x21> +e8 fc ff ff ff call 14 <__GI_tzset+0x14> R_386_PC32 _time_tzset 58 pop %eax 5a pop %edx -5b pop %ebx c3 ret No mass migration of libc_hidden_proto(foo) planned. Lets wait for potential fallout first.
* reinstate external visibility of inet_ntoa_r,Denis Vlasenko2008-04-251-0/+2
| | | | | and add it to arpa/inet.h header.
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-241-1/+1
|
* Functions should be either exported in public .h filesDenis Vlasenko2008-04-122-0/+8
| | | | | | | | | | | | | and marked with libc_hidden_proto/def(), or not be exported in .h files and be hidden (or even static if possible). We have five functions which violate this. Fixing: netdb.h: export ruserpass() rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply() make inet_ntoa_r static function (it is not exported in any .h file) make _time_tzset hidden function (it is not exported in any .h file)
* Enable remap_file_pages prototype controlled by __USE_GNU define as well as ↵Carmelo Amoroso2008-03-261-11/+10
| | | | mremap, instead of __USE_MISC according to glibc. Missing prototype was spotted out by Peter Mazinger
* Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso2008-02-281-0/+2
| | | | | | | Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - forgot to add include/fenv.hBernhard Reutner-Fischer2008-01-191-0/+136
|
* - fix compilation:Bernhard Reutner-Fischer2008-01-171-2/+0
| | | | | In file included from toolchain_build_i386/gcc-3.4.6/libiberty/hashtab.c:49: build_i386/staging_dir/i386-linux-uclibc/sys-include/malloc.h:193: error: ISO C forbids data definition with no type or storage class
* cull useless headers and import a few updates from glibcMike Frysinger2008-01-116-102/+115
|
* fetch queue.h from latest freebsd cvsMike Frysinger2008-01-091-383/+444
|
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-7/+1
| | | | doing double negatives
* use the __extern_always_inline define from cdefs.h instead of duplicating ↵Mike Frysinger2008-01-061-2/+4
| | | | gcc version checking in every pt-machine.h header ... while __extern_always_inline should work fine, i think what is intended is __extern_inline ... should double check later
* sync with glibc to get the extern inline directiveMike Frysinger2008-01-051-2/+38
|
* Chris Zankel writes:Mike Frysinger2008-01-051-0/+58
| | | | | | | | | | | | | | | | | | The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
* give EM_AVR32 a little commentMike Frysinger2008-01-051-0/+1
|
* implement semtimedop for #927Mike Frysinger2008-01-051-1/+12
|
* Certain configure scripts test for presence of dlfcn.h. Don't install itBernd Schmidt2007-11-221-0/+2
| | | | if !HAVE_SHARED.
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-161-0/+51
| | | | <hcegtvedt@atmel.com>