summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* - add missing #endifBernhard Reutner-Fischer2008-05-0324-1/+23
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-0324-158/+806
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* Wire up vmsplice, splice and tee for arm.Khem Raj2008-05-031-11/+14
|
* - add vmsplice, splice, tee (Timo Teräs)Bernhard Reutner-Fischer2008-05-024-10/+106
| | | | - pull bits/fcntl.h from glibc (Timo Teräs)
* Experimentally move libc_hidden_proto(time) to time.h.Denis Vlasenko2008-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-2441-184/+184
|
* Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.Hans-Christian Egtvedt2008-04-2415-252/+252
|
* Fix whitespace damage in AVR32 libc sysdeps sys header files.Hans-Christian Egtvedt2008-04-244-77/+77
|
* Fix whitespace damage in AVR32 libc bits header files.Hans-Christian Egtvedt2008-04-2410-398/+398
|
* Cleanup INTERNAL_SYSCALL macros for ARM.Khem Raj2008-04-231-80/+35
|
* Fix mmap64 undefined on arm oabi with pure thumb1 patchset. Thanks Tobias ↵Khem Raj2008-04-201-0/+1
| | | | Poschwatta
* Fix remap_file_pages prototype and use mman.h headerCarmelo Amoroso2008-04-011-3/+3
|
* Paul Brook writes:Bernhard Reutner-Fischer2008-03-2613-4/+380
| | | | | | | | | | | | | | | 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.
* Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>Carmelo Amoroso2008-03-211-0/+16
|
* michael_d writes in [#2064]: fix building on linux-2.0 systemsMike Frysinger2008-03-214-6/+21
|
* xtensa: the size of the elf_gregset_t array is actually 128.Chris Zankel2008-02-201-1/+1
| | | | Signed-off-by: Chris Zankel <chris@zankel.net>
* Use HIDDEN_JUMPTARGET define instead of __GI_ directly in AVR32 filesHans-Christian Egtvedt2008-02-202-2/+2
| | | | | | | 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>
* Xtensa: Provide an architecture specific sigaction and sa_restorer function ↵Chris Zankel2008-02-203-3/+81
| | | | | | in libc to avoid having to place executable code on stack. Signed-off-by: Chris Zankel <chris@zankel.net>
* posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by ↵Mike Frysinger2008-02-161-1/+1
| | | | skinkie in #2194
* fix typo pointed out by skinkie in #2194Mike Frysinger2008-02-161-1/+1
|
* L1 memory support for the Blackfin. A couple new syscalls to manage L1Bernd Schmidt2008-01-187-13/+69
| | | | | allocations, dma_memcpy to move stuff between L1 and main memory, and a new structure to describe the global data in L1 scratchpad memory.
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-1727-80/+3
| | | | | | | | | | | | | 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.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-0827-27/+27
| | | | doing double negatives
* Switch sh64 to use __uClibc_main and the new register layout.Paul Mundt2008-01-081-28/+25
| | | | | | This was one of the stragglers still bent on __uClibc_start_main utilization, now it's only FR-V.
* Bring sh64 support back from the dead.Paul Mundt2008-01-086-63/+181
|
* this code does not actually rely on INTERNAL_SYSCALLMike Frysinger2008-01-051-3/+1
|
* if an arch does not provide __NR_mmap, fall back to __NR_mmap2 (this just ↵Mike Frysinger2008-01-053-25/+30
| | | | generalizes what Blackfin was already doing)
* Chris Zankel writes:Mike Frysinger2008-01-0542-0/+2991
| | | | | | | | | | | | | | | | | | 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.
* whitespace only: touchups from Hans-Christian EgtvedtMike Frysinger2008-01-052-3/+3
|
* add BOTHER define from termios2Mike Frysinger2008-01-051-0/+1
|
* implement semtimedop for #927Mike Frysinger2008-01-051-17/+0
|
* michael_d writes in #1874: Mike Frysinger2008-01-051-2/+2
| | | | | | | | | On an i386 platform with no rt_sigsuspend syscall (ie: Linux 2.0), compilation will halt on libc/sysdeps/linux/common/sigsuspend.os with a cryptic error message: "Error: non-constant expression in ".if" statement" I've investigated and found that the cause is that a literal '0' is being passed into a block of complex assembler macrology that is only prepared to deal with register names - '%eax', etc. In turn, that seems to be because of a typo in the GCC register constraints. The constraints for 2 and 3-argument syscalls includes a "C" constraint. To gcc, "C" means an SSE floating point constant -- an unlikely element in a syscall. I suspect the author meant to type "S" (%esi).
* michael_d in #1849 writes: The getcwd() implementation in the absence of a ↵Mike Frysinger2008-01-051-1/+1
| | | | getcwd syscall has an off-by-one allocation bug. As a result, sometimes the returned string has garbage at the end.
* I don't remember exactly why we decided to pick the caller's value ofCarmelo Amoroso2007-12-071-1/+1
| | | | | | | | sa_restorer when SA_ONSTACK is set, but it seems to break LTP's sigaltstack testcase. Some users have reported problems with sigaltstack as well; hopefully this will fix it. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Blackfin crt1.S fixes for building with -msep-data.Bernd Schmidt2007-11-231-6/+11
|
* 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.
* 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.
* 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.
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-1632-0/+1684
| | | | <hcegtvedt@atmel.com>
* 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.
* - 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..
* 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-151-0/+20
|
* 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
|