summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm
AgeCommit message (Collapse)Author
2007-03-06Add posix_fadvise posix_fadvise64 for arm.Khem Raj
Import INTERNAL_SYSCALL macro for i386 from glibc. Use above macro in posix_fadvise implementation if an arch defines it.
2007-03-01Fix compiler warning about shadowed declaration.Khem Raj
2007-02-10we dont actually need asm/page.hMike Frysinger
2007-01-28Paul Brook writes:Mike Frysinger
The patch below tweaks the ARM nommu startup code so that doubleword stack alignment is preserved. This is required on EABI targets.
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-11-10arm thumb:Eric Andersen
Put the call_via_rx code into each executable - call_via_ip cannot possibly work if called through the PLT! ldso requires this code too as it is not linked with the crt stuff and thumb ldso does make calls via a register. The patch puts the code into crti.S so that it is linked into every normally built application (if thumb or interworking is selected). This is only 30 extra bytes and it works - the previous code did not because nothing both implemented and exported the APIs (they were in libgcc, but not in the version script). crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this is essential for thumb support because the .init and .fini sections must use arm or thumb code to match the compilation of the libraries. Note that code which pushes stuff into .init or .fini must be compiled with or without -mthumb to match the uclibc compilation - and gcc itself (which does do this) must therefore be compiled to match.
2006-10-07Add the mmap.c missed out in the last commit.Khem Raj
2006-10-07Add mmap function needed for ARM EABI and define thumb specific ↵Khem Raj
INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.
2006-08-31Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmpKhem Raj
2006-08-24fix from psm: enable readahead prototypeMike Frysinger
2006-08-24fixups from psm for ASSEMBLER handlingMike Frysinger
2006-08-24fix from psm: just use common resource.hMike Frysinger
2006-08-24s/ifdef ASM/ifndef ASM/ as point out by psmMike Frysinger
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23fix from psm: remove unused defines/includesMike Frysinger
2006-08-23fixes from psm: use __asm__/__volatile__Mike Frysinger
2006-08-23fixes from psm: hide internal brk symbolsMike Frysinger
2006-08-23fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger
2006-08-21bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen
based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
2006-07-06Remove SA_ONSTACK handling for ARM based up on glibc code as submitted by ↵"Steven J. Hill"
Paul Brook <paul@codesourcery.com>.
2006-07-05fixup my copyright notice, trim stale remnants of older notices whichEric Andersen
I had clearly run search/replace on that were cluttering things up.
2006-06-24Update ARM EABI kernel interface due to layout and size of struct stat64."Steven J. Hill"
2006-04-21sync with glibcMike Frysinger
2006-03-29sync with glibcMike Frysinger
2006-03-10Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger
most of global data relocations are back
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-13Weaken all internal vfork versions in asm code, wondering why only some of ↵Peter S. Mazinger
the archs fail
2006-02-11Joseph S. Myers writes:Mike Frysinger
This patch fixes some of the ARM EABI code to be interworking-safe, using bx where appropriate. (This code went in around the same time as the Thumb patches, hence not being fixed by those patches.)
2006-02-02even the hidden version of the weaks in libc (as strong in libpthread) have ↵Peter S. Mazinger
to be weaks
2006-02-01I will risk this one: __curbrkPeter S. Mazinger
2006-01-31s:THUMB_INTERWORK:USE_BX:, thx Khem RajPeter S. Mazinger
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
The patch fixes up the .align directives to '2' (i.e. a multiple of 4) not '4' (a multiple of 16 - apparently an error since it seems to be unnecessary, there is no advantage here in cache line alignment). this is an arm "feature" ... the value given to .align is not in bytes: .align 4 in arm means .align 2 ^ 4
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
This is a work round for a fairly serious GCC compiler bug - when the syscall assembler overwrites r7 (required on thumb) the compiler fails to protect the register when it is using it as a frame pointer.
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
This patch changes all cases where the ARM assembler mov pc,rx instructions are used to ensure that the thumb/arm interwork change of process more works - in essence mov pc,rx needs to become bx rc. The ldr pc or ldm rx, {pc} instructions are not changed - this is fine on ARM >=v5 but will fail to restore thumb mode on ARM v4T, i.e. this code will not provide support for thumb on ARM v4T. One mov pc is left in resolve.S, this is fixed in a different patch - thumb-resolve.patch The changes are protected by __THUMB_INTERWORK__ - the original mov instruction will work on newer architectures and is required on arch v4 (not v4t) and earlier - those which did not support thumb - so this is safe. See gcc lib1asmfuncs for a more exact test.
2006-01-30make it build if WCHAR is disabledPeter S. Mazinger
2006-01-30Using hidden_proto solves this internally, my proposal was wrongPeter S. Mazinger
2006-01-30Use memset instead of bzeroPeter S. Mazinger
2006-01-29Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger
2006-01-29rename _sys_result var to get rid of shadow warningsMike Frysinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-26Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"
2006-01-24fork/vfork weak in libc, strong in libpthreadPeter S. Mazinger
2006-01-23make sigaction/raise/sigwait/siglongjmp/longjmp weak_alias, these are in ↵Peter S. Mazinger
libpthread as well
2006-01-19Change to sane defaultsPeter S. Mazinger
2006-01-19move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger
specific header file to make porting/updates a lot easier
2006-01-19Joseph S. Myers writes:Eric Andersen
libc/sysdeps/linux/arm/ioperm.c on trunk fails to compile for me because of no declaration of ioperm at the point where libc_hidden_proto(ioperm) requires one. Including <sys/io.h> to get the declaration then shows up that various types are inconsistent with that header; this patch fixes things so that file compiles.
2006-01-15make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger
2006-01-14fix broken commentingMike Frysinger