summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2006-02-08Bernhard Fischer says: get rid of local ret variableMike Frysinger
2006-02-08janlana writes in Bug 700: use standard uint* types rather than u_intMike Frysinger
2006-02-08sync with glibcMike Frysinger
2006-02-07include stdint.h and check __intptr_t_defined to see if we need to setup ↵Mike Frysinger
uintptr_t
2006-02-07remove outdated fileMike Frysinger
2006-02-07grab syscall() from glibcMike Frysinger
2006-02-06kill _dummy symbolMike Frysinger
2006-02-04rfelker reports in Bug 683 that we leak file descriptors if the fcntl() ↵Mike Frysinger
fails ... so fix that. add back in fstat() ofter we open() the directory as we need the blocksize further down in the code. unify the memory error handling to shrink the code there a little.
2006-02-04fix buildingMike Frysinger
2006-02-04add note about raceconditionMike Frysinger
2006-02-04use O_DIRECTORY when possible, saves us from having to use stat() thus ↵Mike Frysinger
cutting codesize/race condition
2006-02-04add some copyright/license infoMike Frysinger
2006-02-04use just __getdents64 rather than either __getdents and __getdents64 when ↵Mike Frysinger
possible (saves space and gives us access to d_type most of the time)
2006-02-04we get d_type from the kernel so use itMike Frysinger
2006-02-04import files from glibc for an ia64/static portMike Frysinger
2006-02-04Dont link and remove link.hPeter S. Mazinger
2006-02-04integrate frv link.hMike Frysinger
2006-02-03unify duplicated code cause i get tired of updating this stuffMike Frysinger
2006-02-03Weaken libc's hidden fork versions, ltp test failedPeter S. Mazinger
2006-02-03attribute_hidden is enough in the prototype, sync getopt-susv3 w/ gnuPeter S. Mazinger
2006-02-03disable hidden_proto/def for __BCC__ generallyPeter S. Mazinger
2006-02-03err() is not used internallyPeter S. Mazinger
2006-02-03getopt_long[_only] visible only if GNU getopt usedPeter S. Mazinger
2006-02-03Use internal versions of strchr and stderr for non-BCCPeter S. Mazinger
2006-02-02even the hidden version of the weaks in libc (as strong in libpthread) have ↵Peter S. Mazinger
to be weaks
2006-02-02fix typo s/__initbrk/__init_brk/Peter S. Mazinger
2006-02-01missed another global data markingPeter S. Mazinger
2006-02-01Make it build w/ HAVE_SHARED disabled and SSP enabledPeter S. Mazinger
2006-02-01missed two __curbrkPeter S. Mazinger
2006-02-01I will risk this one: __curbrkPeter S. Mazinger
2006-02-01Go __malloc_lock, go ...Peter S. Mazinger
2006-02-01weaks for __pthread_internal_tsd* are added if not built w/ -DSHARED, header ↵Peter S. Mazinger
issue
2006-02-01gcc41 does not like this at allPeter S. Mazinger
2006-02-01global data uses libc_hidden_data_def, convert all -I hope- and add some newPeter S. Mazinger
2006-02-01remove hidden versions of bzero, unused in libc.soPeter S. Mazinger
2006-02-01add syscall6Mike Frysinger
2006-02-01add prototype to get rid of warningMike Frysinger
2006-02-01cast buf to get rid of warningMike Frysinger
2006-01-31s:THUMB_INTERWORK:USE_BX:, thx Khem RajPeter S. Mazinger
2006-01-31add comment to know why it's weakPeter S. Mazinger
2006-01-31change strong to weak_alias, arm fails, 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-31don't include wchar.h if WCHAR is disabledPeter S. Mazinger
2006-01-31Khem Raj says:Mike Frysinger
add support for using BX instruction for THUMB aware architectures
2006-01-31rename local var brk to _brkMike Frysinger
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-30strlen is -cheaper- then strnlenPeter S. Mazinger
2006-01-30Assebler sources ment to be preprocessed shouldn't contain assembler"Jan-Benedict Glaw"
comments, but C comments instead...
2006-01-30some more prototypesPeter S. Mazinger