summaryrefslogtreecommitdiff
path: root/TODO
blob: 8c45627e87021c13de7fc7c1ae18bdb0759a78c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
Any takers?

*) Fix regex so it isn't so stinking big
*) Fix glob so it isn't so stinking big
*) Integrate Jeff Garzik's key-value reading code for pwd/grp, /etc/hosts, etc
*) Finish sparc port
*) Documentation
*) Better configuration system.  Use CML1 + kbuild and use menuconfig
	to select from available features. 
*) run 'nm -D --size-sort -t d libuClibc-0.9.5.so' and work on the biggest things 
	(i.e. stuff at the end of the list) to make them smaller.
*) make inb/outb work (for lilo et all).  This is complete for i386 and arm.  
	lilo and the pcmcia tools compile cleanly now.  Othere arches,
	like powerpc, probably still need fixing.
*) scandir.c doesn't check returns on malloc and realloc.
*) Add in shadow support (include/shadow.h and such)
*) Right now, getopt has different behavior when dynamically vs when
	statically linked, violating the principle of least surprise.
*) libc/inet/resolv.c does not define or use struct _res, and res_init does 
	nothing.  the other res_* functions are not implemented.
*) uClibc timezone support is stubbed out, so date(1) will show '???'
	for the timezone when compiled with uClibc. 


-----------------------------------------------------------------------------
Manuel's unsorted todo:

Move the target-specific sysconf.c generator to extra (as it needs to be
	run on the target) and fix libc/unistd/Makefile.

Add a usage message to the gcc wrapper.

Look at pre-cephes-addition floating point code and possibly rework.
	(primarily nan and infinity handling)

Make scanf and strtod aware of nan and inf.

Add overflow error-checking to fread and fwrite.

Document uClibc-specific extensions I know of or have implemented.
	binary string conversion for printf
	malloc-less stdio
	optional printf unconfigured-for-type error messages

Add binary string conversion to scanf to mirror printf?

Teach scanf about (nil) for %p.

What to do about %m in printf?

Make errno and endptr handling the default in the strto* functions and
	document how to turn those off to save space.

-----------------------------------------------------------------------------
ds's list:

Search for string literals that are not in the .rodata section.  (Varies
by architecture and gcc version.)

man pages for binaries

add basename() and dirname() for gettext

add obstack stuff for gettext (?)

check compiling without FP support -- are FP instructions still generated?
Needs a uClibc_config.h entry dependent on HAS_FLOATING_POINT.

getaddrinfo()

Why does ld.so search /usr/powerpc-uclibc/lib before LD_LIBRARY_PATH?
-----------------------------------------------------------------------------

PORTING
-------

bits/dirent.h currently differs from the glibc version (d_type unsupported)