summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* mcontext_t shouldn't have a version argument, and fix REG_B0 definition.Bernd Schmidt2007-11-231-2/+1
|
* From Jie Zhang:Bernd Schmidt2007-11-231-3/+4
| | | | __bswap_16 could not assume that it's zero extended when an unsigned short int is loaded into the data register.
* Change test for a define that got renamed a while ago.Bernd Schmidt2007-11-231-1/+1
|
* Disable tst-ftime_l test if Extended Locale SupportCarmelo Amoroso2007-11-231-0/+4
| | | | | | is not enabled, otherwise build will fail Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Ignore entries of "-1" in rofixup; the linker sometimes has no choice but toBernd Schmidt2007-11-221-23/+26
| | | | create these for deleted entries in .eh_frame.
* Add Blackfin specific mmap implementation using sys_mmap2.Bernd Schmidt2007-11-222-1/+25
|
* sys/procfs.h defines a typedef for floating point registers that references anBernd Schmidt2007-11-221-2/+2
| | | | | | | undefined structure. This typedef is used in linuxthreads.old-db, causing a compilation failure. Fixed by defining an empty structure for it - we don't have fp regs anyway.
* Certain configure scripts test for presence of dlfcn.h. Don't install itBernd Schmidt2007-11-222-0/+7
| | | | if !HAVE_SHARED.
* Add hidden symbols for a number of pthread functions, and use them to ensureBernd Schmidt2007-11-226-1/+98
| | | | | that all entries in the __pthread_functions point to functions within libpthread, not identically-named functions in libc.
* Added optimized versions of strcpy() and strncpy() for CRIS/CRISv32.Peter Kjellerstedt2007-11-212-0/+112
|
* ARM SHMLBA = (4 * PAGE_SIZE). Currently in uclibc arm used shm.h fromCarmelo Amoroso2007-11-201-0/+103
| | | | | | | | | common directory where SHMLBA = __getpagesize() This patch fixes the issue. Khem Raj MontaVista Software Inc.
* If uClibc's ld.so encounters text relocations in a shared library - one Carmelo Amoroso2007-11-161-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | containing an object built without -fpic/-fPIC - then: * If __FORCE_SHAREABLE_TEXT_SEGMENTS__, then it gives an error "Can't modify %s's text section. Use GCC option -fPIC for shared objects, please.\n" and exits. * Otherwise, it makes the library's pages writable and relocates it. If it encounters text relocations in a position-independent executable - one containing an object built without -fpie/-fPIE/-fpic/-fPIC - then: * If __FORCE_SHAREABLE_TEXT_SEGMENTS__, it does nothing about making the pages writable, leading to a crash. * Otherwise, the loop to make the pages writable uses the same variable ppnt as used in an outer loop, messing up that outer loop and also causing a crash. This patch fixes both cases, by giving an error if __FORCE_SHAREABLE_TEXT_SEGMENTS__ and saving and restoring ppnt otherwise. Tested in both cases on ARM EABI. Joseph S. Myers joseph@codesourcery.com
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-1657-2/+3010
| | | | <hcegtvedt@atmel.com>
* CRIS/CRISv32 architecture specific memcpy, memmove and memset.Ricard Wanderlof2007-11-124-0/+698
|
* Do not return error when fprintf returns 0 in addmntent().Khem Raj2007-11-101-5/+2
| | | | | fprintf is considered failing if the return is less than 0
* Fix build system to generate locale data instead of using pregenerated onesCarmelo Amoroso2007-11-092-2/+4
|
* Define _dl_assert in libdl only if __DOASSERTS__ is defined. Thanks to Peter ↵Carmelo Amoroso2007-11-091-7/+16
| | | | Mazinger
* - fix whitespaceBernhard Reutner-Fischer2007-11-071-1/+1
|
* Added support for GNU hash style into dynamic linkerCarmelo Amoroso2007-11-078-32/+247
|
* - fix order of link-flagsBernhard Reutner-Fischer2007-10-241-2/+2
| | | | | | | On cygwin one has to pass make menuconfig HOST_LOADLIBES="-lcurses -lintl" otherwise just curses is linked in and some symbols that live in intl are unresolved. Closes #1554 and possibly a couple of other reports.
* Poll with zero timeoutJoakim Tjernlund2007-10-231-0/+4
| | | | | | | | | | Jean-Christian de Rivaz writes: The attached patch solve an issue I faced while using the libdbus-glib waiting for a D-Bus message or the end of a glib timer at the same time. This specific case of use generate a poll call with a zero timeout. On platformes with the glibc a zero timeout poll return immetiately even if there is no file descriptor event. But on platformes with uClibc a zero timeout poll block until a file descriptor event occurs.
* Handle STT_COMMON symbols too. Following binutils releaseJoakim Tjernlund2007-10-211-1/+6
| | | | | | | | | | will set the type of common symbols to STT_COMMON instead of STT_OBJECTS, so the dynamic linker needs to handle this type os symbols too. Same changes have been added to glibc (See: bugzilla #5104). This patch ensures the uclibc will work with later bintuils. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - commentary typo fixBernhard Reutner-Fischer2007-10-201-1/+1
|
* - move UCLIBC_EXTRA_LDFLAGS below pinning LDFLAGSBernhard Reutner-Fischer2007-10-161-4/+4
|
* - use the compiler-driver instead of the linkerBernhard Reutner-Fischer2007-10-1310-47/+49
| | | | | | | | | - adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,")
* - allow for passing in UCLIBC_EXTRA_LDFLAGSBernhard Reutner-Fischer2007-10-131-0/+4
|
* Do string comparisos as late as possible during symbol lookup.Mike Frysinger2007-10-081-2/+2
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer2007-09-301-2/+6
|
* - Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer2007-09-301-4/+7
| | | | This wants a stub_enosys(readahead) line later on, like many, many others need..
* This patch will fix a problem when the same host is defined with both IPv4 andMike Frysinger2007-09-281-2/+8
| | | | | | | | | | | | IPv6 entries in /etc/hosts. Previous only the first of these host would work, as uClibc would read the /etc/hosts file from top to bottom, failing if the first hit did not match the IP type. Now uClibc will continue reading, even if the first correct entry name, but wrong IP type fails. Thus, allowing a second correct entry name with correct IP type will result in a name resolve. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
* do not check the pointer before freeing it since free(NULL) works just fineMike Frysinger2007-09-281-8/+4
|
* cleanup code styleMike Frysinger2007-09-281-323/+301
|
* Make sure that the DSO has an hash table into its elf, otherwise skipMike Frysinger2007-09-281-0/+4
| | | | | | the lookup over next DSO. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Jie Zhang writes:Mike Frysinger2007-09-211-3/+1
| | | | | | GCC 4.3 will put fixed headers in a seperate include-fixed directory. And I don't think that there are people who are still using the 'stupid' GCC which cannot handle -iwithprefix, at least it works with gcc-3.3.x.
* drop LDFLAGS from OUTPUT_FORMAT until LD/LDFLAGS can be fixed in generalMike Frysinger2007-09-212-1/+3
|
* - spelling fixBernhard Reutner-Fischer2007-09-201-2/+2
|
* Fix author name and copyright notice in __uc_malloc.cDenis Vlasenko2007-09-191-6/+4
|
* fix assembler error. libc_hidden_data_def cannot work on COMMONs,Denis Vlasenko2007-09-191-3/+6
| | | | | | | thus need to initialize stuff with 0 to force it into bss. All hell can again break loose if future gcc will be smart enough to ignore it.
* add libc_hidden_xxxx for __uc_mallocDenis Vlasenko2007-09-152-0/+4
|
* from Blue Swirl: fixup sparc a bit moreMike Frysinger2007-09-151-4/+20
|
* pull from Blackfin repo: optimized byteswap funcs!Mike Frysinger2007-09-151-0/+93
|
* pull from Blackfin repo: cleanup string funcsMike Frysinger2007-09-157-194/+241
|
* forgot to add this with previous sparc commit ...Mike Frysinger2007-09-151-0/+30
|
* use gcc input constraints to avoid often duplicated reloads when making syscallsMike Frysinger2007-09-154-96/+52
|
* if __NR__newselect and __NR_select are unavailable, fall back to __NR_pselect6Mike Frysinger2007-09-151-0/+24
|
* also fix bug 1012 by moschny in 64bit version of readdirMike Frysinger2007-09-151-1/+1
|
* bug 1310: drop hidden aliases to data since some arches crap with this due ↵Mike Frysinger2007-09-152-14/+14
| | | | to copy relocs
* not sure how this obvious one liner got lost from glibc, but merge itMike Frysinger2007-09-151-0/+1
|
* add one more testcase from Natanael CopaMike Frysinger2007-09-151-0/+1
|
* switch to a smaller/more robust implementation by Andrey Simonenko and as ↵Mike Frysinger2007-09-151-43/+41
| | | | | | suggested by Natanael Copa harvested from: http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/92880