summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-03-26Paul Brook writes:Bernhard Reutner-Fischer
The attached patch adds support for compiling arm uClibc as pure Thumb code. This is needed because some recent ARM codes do not implement traditional ARM mode. Specifically: * Cortex-M1 - An extremely minimal FPGA based core that only implements Thumb-1 (aka ARMv6-M). * Cortex-M3 - A Thumb-2 only ARMv7-M core. Most of uClibc already builds in Thumb mode, all that is left are a handful of assembly bits. Tested on arm-uclinuxeabi.
2008-03-26Enable remap_file_pages prototype controlled by __USE_GNU define as well as ↵Carmelo Amoroso
mremap, instead of __USE_MISC according to glibc. Missing prototype was spotted out by Peter Mazinger
2008-03-25Add missing cast in pointer assignmentCarmelo Amoroso
2008-03-21Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>Carmelo Amoroso
2008-03-21michael_d writes in [#2064]: fix building on linux-2.0 systemsMike Frysinger
2008-03-16Add myself as co-maintainer of SH4, specifically for NPTL pthread library ↵Carmelo Amoroso
and TLS dynamic linker support
2008-03-16Remove extra file separatorCarmelo Amoroso
2008-03-13avr32: Use HIDDEN_JUMPTARGET() macro in bzero.SHaavard Skinnemoen
Also, remove the hidden __memset symbol from memset.S
2008-03-13From: Geoffrey Wossum <geoffrey@pager.net>Haavard Skinnemoen
Found a problem with the AVR32 optimized bzero() code. Due to a missing #include, it actually generated no code.
2008-03-13Add myself as co-maintainer for the AVR32 architectureHaavard Skinnemoen
2008-03-11Move calculation of rem within if (unlikely statementCarmelo Amoroso
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> SIgned-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-03-09Khem Raj <kraj@mvista.com> writes:Carmelo Amoroso
While compiling trunk on ARM with GCC 4.2 and enabling LDSO_GNU_HASH_SUPPORT I stumbled upon this problem. GCC made a call to libgcc function __aeabi_uidivmod()->__div0()->__raise() and raise is not yet compiled in at the time of compiling ldso so I got well known undefined symbol __raise problem This patch uses the do_rem () macro to do the same operation.
2008-03-05Call explicitely objclean-y when doing build cleanup.Carmelo Amoroso
Remove 'find' command. It makes cleanup faster too. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-02-28Fix file permissionsCarmelo Amoroso
2008-02-28Fix file permissionsCarmelo Amoroso
2008-02-28Added support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso
Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-02-23Ricard Wanderlof writes:Mike Frysinger
The following definitions in getaddrinfo.c seem redundant as they _are_ defined in the public netdb.h header, contrary to the comment. AI_DEFAULT is not, however it is not used in the file either so can be safely removed.
2008-02-20Fix typos in commentCarmelo Amoroso
2008-02-20Do not call _dl_de ug_state() before recording ld.so. Signed-off-by: Daniel ↵Carmelo Amoroso
Jacobowit <dan@codesourcery.com>
2008-02-20xtensa: the size of the elf_gregset_t array is actually 128.Chris Zankel
Signed-off-by: Chris Zankel <chris@zankel.net>
2008-02-20Use HIDDEN_JUMPTARGET define instead of __GI_ directly in AVR32 filesHans-Christian Egtvedt
This patch uses the HIDDEN_JUMPTARGET instead of the __GI_ prefix in AVR32 assembler files. This is done to follow the code style in uClibc. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
2008-02-20Xtensa: Provide an architecture specific sigaction and sa_restorer function ↵Chris Zankel
in libc to avoid having to place executable code on stack. Signed-off-by: Chris Zankel <chris@zankel.net>
2008-02-16posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by ↵Mike Frysinger
skinkie in #2194
2008-02-16fix typo pointed out by skinkie in #2194Mike Frysinger
2008-02-12add hidden_proto's for __uc_mallocDenis Vlasenko
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
2008-02-12Use DL_RELOC_ADDR when dealing with DL_LOADADDR_TYPE types. Fixes gnu-hashBernd Schmidt
compilation on Blackfin.
2008-02-11Omit adding 'OUTPUT_FORMAT' to the libc.so linker script if the architectureChris Zankel
didn't provide one (Xtensa, for example, is such an architecture). Signed-off-by: Chris Zankel <chris@zankel.net>
2008-02-08Fix the recent dladdr changes so that they compile on FD-PIC targets.Bernd Schmidt
2008-02-07Added AI_NUMERICSERV flag and check if the string is not just a numberCarmelo Amoroso
when AI_NUMERICSERV flag set. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-02-07Fix stack overflow in _ppfs_parsespecCarmelo Amoroso
2008-02-05Add myself as the maintainer for the Xtensa architecture.Chris Zankel
Signed-off-by: Chris Zankel <chris@zankel.net>
2008-01-26Filter out '-std=gnu99' when running the assembler. This causes an error "Steven J. Hill"
when building MIPS that looks like this: libc/string/mips/memcpy.S:156:1: pasting "memcpy" and ":" does not give a valid preprocessing token make[1]: *** [libc/string/mips/memcpy.os] Error 1 Even if this does not cause an error on other architectures, this option should not be having an effect on preprocessed assembly code.
2008-01-23give execlp() its own cache on no-mmu to avoid recursive cache fightingMike Frysinger
2008-01-22- fix file permissionsBernhard Reutner-Fischer
2008-01-22Test case to exploit dladdr bugCarmelo Amoroso
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
2008-01-19- forgot to add include/fenv.hBernhard Reutner-Fischer
2008-01-19- wrap superlong linesBernhard Reutner-Fischer
2008-01-19- add C99 floating point environment, rounding and exception handling functionsBernhard Reutner-Fischer
for i386. UCLIBC_HAS_FENV
2008-01-18L1 memory support for the Blackfin. A couple new syscalls to manage L1Bernd Schmidt
allocations, dma_memcpy to move stuff between L1 and main memory, and a new structure to describe the global data in L1 scratchpad memory.
2008-01-18Update dl-inlines.h from Blackfin repository.Bernd Schmidt
2008-01-18This patch solves a problem in dladdr caused by the wrong valueCarmelo Amoroso
of elf_resolve's loadaddr field for the main application. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-01-18A patch from our Blackfin repository, originally from Mike Frysinger.Bernd Schmidt
Add sysdeps/linux/$(TARGET_ARCH) to the list of includes. Needed by some of the Blackfin specific string assembly files.
2008-01-18Another piece needed for FD-PIC. This compiles another startfile, crtreloc.o,Bernd Schmidt
if necessary.
2008-01-17- fix compilation:Bernhard Reutner-Fischer
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
2008-01-17- fix linking.Bernhard Reutner-Fischer
We use the compiler-driver and not ld.
2008-01-17- use libm_DIR and libm_OUTBernhard Reutner-Fischer
2008-01-17- remove unused fileBernhard Reutner-Fischer
2008-01-17bits/sysnum.h needs a cross compiler to be built. Fortunately, thisBernhard Reutner-Fischer
header is not needed to build gcc. Move generation of this header. (Yann E. MORIN)
2008-01-17A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt
a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
2008-01-16- check for -nostdlibBernhard Reutner-Fischer