Age | Commit message (Collapse) | Author |
|
were removed in linux-2.6
|
|
This could need a pull from upstream to do away with these __STDC__ conditionals.
|
|
|
|
Explicitely list the directories in which we rm the static(only?) libs.
|
|
|
|
Reorder structure members and change some of them into smallints
to reduce bss and text:
text data bss dec hex filename
- 2403 12 40 2455 997 libc/unistd/getopt.o
+ 2252 12 0 2264 8d8 libc/unistd/getopt.o
|
|
- 79 0 28 107 6b libc/inet/rpc/create_xid.o
+ 76 0 25 101 65 libc/inet/rpc/create_xid.o
- 126 0 4 130 82 libc/misc/assert/__assert.o
+ 123 0 1 124 7c libc/misc/assert/__assert.o
- 648 4 24 676 2a4 libc/misc/internals/__uClibc_main.o
+ 645 4 21 670 29e libc/misc/internals/__uClibc_main.o
- 230 0 4 234 ea libc/stdlib/abort.o
+ 216 0 1 217 d9 libc/stdlib/abort.o
- 129 0 4 133 85 libc/termios/tcgetsid.o
+ 126 0 1 127 7f libc/termios/tcgetsid.o
|
|
|
|
warning. It seems to be bogus. Comment contains extended description.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
in string.h and strings.h. This caught unguarded string ops in
libc/inet/ethers.c __ether_line_w() function.
I will wait for fallout reports for a week or so,
then continue converting more libc_hidden_proto's.
|
|
* extra/locale/gen_wc8bit.c: use strrchr to parse locale
name to handle the case in which it contains a '.' character
like ANSI_X3.4-1968
* include/locale.h: use __UCLIBC_HAS_XLOCALE__ to control
inclusion of xlocale.h only
* libc/misc/ctype/ctype.c: add missing weak_alias for
__tolower_l and __toupper_l
* libc/misc/locale/locale.c: use strcasecmp (case insensitive)
for utf-8 locale name.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
rather than the public weak ones so that the libc->libpthread forwarding code is able to work properly
this should fix the case where libpthread.so is not linked directly, but rather via another library:
app -> links to libfoo.so -> links to libpthread.so
and any function (like readdir_r) that does:
__UCLIBC_MUTEX_LOCK()
__UCLIBC_MUTEX_UNLOCK()
|
|
|
|
for 2.4 kernels.
|
|
returns NULL (the buffer contents is undefined);
also check errno more thoroughly (bugs were seen slipping through)
|
|
|
|
It is "make install_kernel_headers" now.
|
|
|
|
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
Saves several 100 bytes
|
|
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
|
|
|
|
|
|
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
|
|
- pull bits/fcntl.h from glibc (Timo Teräs)
|
|
|
|
|
|
|
|
|
|
installed in target dir, and dont try to copy them again
|
|
mostly related to ELF section ans padding, not code gen.
Resulting reductions in size (only biggest ones are shown)
uClibc.t4 - new, uClibc.t3 - old:
15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc-0.9.29.so
15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so
15673 244 92 16009 3e89 uClibc.t4-stdcfg_so/lib/ld-uClibc.so.0
15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc-0.9.29.so
15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so
15678 244 92 16014 3e8e uClibc.t3-stdcfg_so/lib/ld-uClibc.so.0
39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm-0.9.29.so
39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so
39910 200 4 40114 9cb2 uClibc.t4-stdcfg_so/lib/libm.so.0
40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm-0.9.29.so
40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so
40179 200 4 40383 9dbf uClibc.t3-stdcfg_so/lib/libm.so.0
234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libc.so.0
234104 1472 5980 241556 3af94 uClibc.t4-stdcfg_so/lib/libuClibc-0.9.29.so
235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libc.so.0
235319 1472 5992 242783 3b45f uClibc.t3-stdcfg_so/lib/libuClibc-0.9.29.so
|
|
|
|
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.
|
|
Now it uses dedicated script instead of inline makefile commands,
which helps readability.
It also installs asm[-generic] and linux subdirs from kernel headers
(previously it had to be done separately).
Lastly, it passes each uclibc header thru unifdef, which strips
#ifdef UCLIBC_INTERNAL conditional from headers.
Currently it's a no-op (no such #ifders in tree).
The plan is to have libc_hidden_proto(foo) migrated to headers
and guard them by these #ifdefs.
|
|
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
and add it to arpa/inet.h header.
|
|
|
|
|
|
|