10 Commits

Author SHA1 Message Date
Eric Andersen
a4541d42ff The variable used to store pagesize is not the same as the
_dl_pagesize variable in ldso, so avoid aliasing.
 -Erik
2004-08-16 19:21:45 +00:00
Eric Andersen
64c5a652fb Fixup PAGE_SIZE problems
-Erik
2004-08-13 23:39:45 +00:00
Eric Andersen
7b79cc9ecf _SC_PAGESIZE is standard. Some ancient legacy unix variants used _SC_PAGE_SIZE
instead, but we are not such a system and should not propagate such things.
2004-07-15 08:22:48 +00:00
Eric Andersen
338237994a s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g 2004-01-16 13:43:30 +00:00
Manuel Novoa III
1217289737 Add a new *scanf implementation, includeing the *wscanf functions.
Should be standards compliant and with several optional features,
  including support for hexadecimal float notation, locale awareness,
  glibc-like locale-specific digit grouping with the `'' flag, and
  positional arg support.  I tested it pretty well (finding several
  bugs in glibc's scanf in the process), but it is brand new so be
  aware.

The *wprintf functions now support floating point output.  Also, a
  couple of bugs were squashed.  Finally, %a/%A conversions are
  now implemented.

Implement the glibc xlocale interface for thread-specific locale
  support.  Also add the various *_l(args, locale_t loc_arg) funcs.

  NOTE!!!  setlocale() is NOT threadsafe!  NOTE!!!

The strto{floating point} conversion functions are now locale aware.
  The also now support hexadecimal floating point notation.

Add the wcsto{floating point} conversion functions.

Fix a bug in mktime() related to dst.  Note that unlike glibc's mktime,
  uClibc's version always normalizes the struct tm before attempting
  to determine the correct dst setting if tm_isdst == -1 on entry.

Add a stub version of the libintl functions.  (untested)

Fixed a known memory leak in setlocale() related to the collation data.

Add lots of new config options (which Erik agreed to sort out :-),
  including finally exposing some of the stripped down stdio configs.
  Be careful with those though, as they haven't been tested in a
  long time.


(temporary) GOTCHAs...

The ctype functions are currently incorrect for 8-bit locales.  They
  will be fixed shortly.

The ctype functions are now table-based, resulting in larger staticly
  linked binaries.  I'll be adding an option to use the old approach
  in the stub locale configuration.
2003-08-01 20:08:59 +00:00
Eric Andersen
082d1540d3 Set the default thread stack size to 16k for mmu-less systems.
-Erik
2003-06-12 21:44:56 +00:00
Eric Andersen
5cbc6a7ae1 Use a funky version in a probably vein attempt at preventing gdb
from dlopen()'ing glibc's libthread_db library...
2003-03-01 09:04:55 +00:00
Eric Andersen
187dd78d7b Major update for pthreads, based in large part on improvements
from glibc 2.3.  This should make threads much more efficient.
 -Erik
2003-02-27 18:13:05 +00:00
Eric Andersen
3358b761b1 Based on work by Stefan Allius, arrange for early initialization of
pthread stuff.  Also, don't bother building libthread_db unless we
are debugging.
 -Erik
2002-08-19 10:05:03 +00:00
Eric Andersen
e356ea321c Merge in the pthread library. This is the linuxthreads library taken from
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen
(me).  Stefan has hacked things up such that linuxthreads runs on MMU-less
systems (tested only on arm-nommu).  Erik cleaned things up and made it work
properly as a shared library.
 -Erik
2002-02-20 09:18:50 +00:00