summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* - do not delete the libs i keep for size-comparisonBernhard Reutner-Fischer2008-05-211-2/+4
| | | | Explicitely list the directories in which we rm the static(only?) libs.
* replace "if (p) free(p)" by just "free(p)" - free(NULL) is safe.Denis Vlasenko2008-05-2012-63/+31
|
* getopt: do not needlessly use static structure.Denis Vlasenko2008-05-202-20/+18
| | | | | | | | | 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
* Introduce and use small[u]int type. Changes in size:Denis Vlasenko2008-05-2017-19/+36
| | | | | | | | | | | | | | - 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
* add an URL to relevant gcc bugzilla entryDenis Vlasenko2008-05-201-2/+3
|
* suppress "asm declaration ignored due to conflict with previous rename"Denis Vlasenko2008-05-201-0/+20
| | | | | warning. It seems to be bogus. Comment contains extended description.
* - note that __drand48_iterate should be voidBernhard Reutner-Fischer2008-05-202-0/+4
|
* - remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer2008-05-2030-132/+41
|
* - avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer2008-05-201-1/+1
|
* - avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer2008-05-201-18/+2
|
* - make it compile with !__UCLIBC_HAS_LOCALE__Bernhard Reutner-Fischer2008-05-201-1/+1
|
* - silence warningBernhard Reutner-Fischer2008-05-201-1/+1
|
* Synch extern declaration with definition provided in __uClibc_main.cCarmelo Amoroso2008-05-201-1/+1
|
* Remove automatically generated header when doing make cleanCarmelo Amoroso2008-05-201-1/+1
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-19220-433/+578
| | | | | | | | | 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.
* Added a bounch of locale fixes.Carmelo Amoroso2008-05-194-3/+7
| | | | | | | | | | | | | | | | | * 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>
* Convert to UNIX formatCarmelo Amoroso2008-05-161-25/+25
|
* make sure we store the function pointers to the real push/pop functions ↵Mike Frysinger2008-05-151-2/+2
| | | | | | | | | | | 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()
* Do not check retbuf if realpath returns NULLCarmelo Amoroso2008-05-131-2/+1
|
* fix "make install_kernel_headers" to not create asm-genericDenis Vlasenko2008-05-091-7/+11
| | | | | for 2.4 kernels.
* test-canon: stop checking realpath buffer in case realpathDenis Vlasenko2008-05-081-17/+15
| | | | | | returns NULL (the buffer contents is undefined); also check errno more thoroughly (bugs were seen slipping through)
* realpath: do not set bogus errno when readlink fails.Denis Vlasenko2008-05-081-22/+26
|
* Split kernel headers installation from "make install_headers".Denis Vlasenko2008-05-073-39/+75
| | | | | It is "make install_kernel_headers" now.
* Add unifdef host tool to clean targetCarmelo Amoroso2008-05-071-0/+1
|
* Remove gcc warning due to missing prototype for 'testandset'Carmelo Amoroso2008-05-072-0/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - add missing #endifBernhard Reutner-Fischer2008-05-0324-1/+23
|
* - cleanup by manually expanding the helpers.Bernhard Reutner-Fischer2008-05-031-13/+14
| | | | Saves several 100 bytes
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-0324-158/+806
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* Wire up vmsplice, splice and tee for arm.Khem Raj2008-05-031-11/+14
|
* - indentBernhard Reutner-Fischer2008-05-021-181/+177
|
* Added implementation for 'locale' command.Carmelo Amoroso2008-05-024-3/+834
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* - add vmsplice, splice, tee (Timo Teräs)Bernhard Reutner-Fischer2008-05-024-10/+106
| | | | - pull bits/fcntl.h from glibc (Timo Teräs)
* install_headers: do not exit if unifdef "fails", it's okDenis Vlasenko2008-05-011-1/+4
|
* install_headers: properly quote thingsDenis Vlasenko2008-04-301-3/+4
|
* guard against older ld's not understanding --sort-section alignmentDenis Vlasenko2008-04-301-1/+6
|
* Rules.mak: fix -falign/-malign mixupDenis Vlasenko2008-04-301-6/+6
|
* install_headers.sh: detect a case when kernel headers are alreadyDenis Vlasenko2008-04-301-20/+26
| | | | | installed in target dir, and dont try to copy them again
* build system: use a bit more aggressive gcc/ld optimizations,Denis Vlasenko2008-04-291-4/+50
| | | | | | | | | | | | | | | | | | | | | | | | 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
* __uc_malloc: remove stray semicolonsDenis Vlasenko2008-04-281-3/+3
|
* Experimentally move libc_hidden_proto(time) to time.h.Denis Vlasenko2008-04-285-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* build system: improve install_headers.Denis Vlasenko2008-04-273-9/+1097
| | | | | | | | | | | | | 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.
* Fix rpc test MakefileCarmelo Amoroso2008-04-251-0/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix some sh4 specific entriesCarmelo Amoroso2008-04-252-0/+6
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* reinstate external visibility of inet_ntoa_r,Denis Vlasenko2008-04-252-1/+5
| | | | | and add it to arpa/inet.h header.
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-2472-275/+275
|
* Fix indentation of comment in AVR32 memmove assembler optimization file.Hans-Christian Egtvedt2008-04-241-1/+1
|
* Fix whitespace damage in top level Config.in.Hans-Christian Egtvedt2008-04-241-14/+14
|
* Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.Hans-Christian Egtvedt2008-04-2415-252/+252
|
* Fix whitespace damage in AVR32 libc sysdeps sys header files.Hans-Christian Egtvedt2008-04-244-77/+77
|
* Fix whitespace damage in AVR32 libc bits header files.Hans-Christian Egtvedt2008-04-2410-398/+398
|