OSDN Git Service
Denis Vlasenko [Tue, 20 May 2008 20:28:35 +0000 (20:28 -0000)]
Introduce and use small[u]int type. Changes in size:
- 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
Denis Vlasenko [Tue, 20 May 2008 20:14:59 +0000 (20:14 -0000)]
add an URL to relevant gcc bugzilla entry
Denis Vlasenko [Tue, 20 May 2008 19:30:16 +0000 (19:30 -0000)]
suppress "asm declaration ignored due to conflict with previous rename"
warning. It seems to be bogus. Comment contains extended description.
Bernhard Reutner-Fischer [Tue, 20 May 2008 08:49:36 +0000 (08:49 -0000)]
- note that __drand48_iterate should be void
Bernhard Reutner-Fischer [Tue, 20 May 2008 08:47:51 +0000 (08:47 -0000)]
- remove old-style definitions. No object-code changes.
Bernhard Reutner-Fischer [Tue, 20 May 2008 08:46:37 +0000 (08:46 -0000)]
- avoid warning due to undefined preprocessor token
Bernhard Reutner-Fischer [Tue, 20 May 2008 07:56:46 +0000 (07:56 -0000)]
- avoid warning due to undefined preprocessor token
Bernhard Reutner-Fischer [Tue, 20 May 2008 07:56:12 +0000 (07:56 -0000)]
- make it compile with !__UCLIBC_HAS_LOCALE__
Bernhard Reutner-Fischer [Tue, 20 May 2008 07:55:46 +0000 (07:55 -0000)]
- silence warning
Carmelo Amoroso [Tue, 20 May 2008 06:57:20 +0000 (06:57 -0000)]
Synch extern declaration with definition provided in __uClibc_main.c
Carmelo Amoroso [Tue, 20 May 2008 06:56:16 +0000 (06:56 -0000)]
Remove automatically generated header when doing make clean
Denis Vlasenko [Mon, 19 May 2008 22:57:34 +0000 (22:57 -0000)]
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
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.
Carmelo Amoroso [Mon, 19 May 2008 15:24:14 +0000 (15:24 -0000)]
Added a bounch of locale fixes.
* 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>
Carmelo Amoroso [Fri, 16 May 2008 14:48:54 +0000 (14:48 -0000)]
Convert to UNIX format
Mike Frysinger [Thu, 15 May 2008 02:03:13 +0000 (02:03 -0000)]
make sure we store the function pointers to the real push/pop functions 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()
Carmelo Amoroso [Tue, 13 May 2008 14:32:39 +0000 (14:32 -0000)]
Do not check retbuf if realpath returns NULL
Denis Vlasenko [Fri, 9 May 2008 18:15:16 +0000 (18:15 -0000)]
fix "make install_kernel_headers" to not create asm-generic
for 2.4 kernels.
Denis Vlasenko [Thu, 8 May 2008 13:54:50 +0000 (13:54 -0000)]
test-canon: stop checking realpath buffer in case realpath
returns NULL (the buffer contents is undefined);
also check errno more thoroughly (bugs were seen slipping through)
Denis Vlasenko [Thu, 8 May 2008 13:52:22 +0000 (13:52 -0000)]
realpath: do not set bogus errno when readlink fails.
Denis Vlasenko [Wed, 7 May 2008 13:03:32 +0000 (13:03 -0000)]
Split kernel headers installation from "make install_headers".
It is "make install_kernel_headers" now.
Carmelo Amoroso [Wed, 7 May 2008 09:17:42 +0000 (09:17 -0000)]
Add unifdef host tool to clean target
Carmelo Amoroso [Wed, 7 May 2008 06:50:30 +0000 (06:50 -0000)]
Remove gcc warning due to missing prototype for 'testandset'
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Bernhard Reutner-Fischer [Sat, 3 May 2008 15:27:10 +0000 (15:27 -0000)]
- add missing #endif
Bernhard Reutner-Fischer [Sat, 3 May 2008 13:59:11 +0000 (13:59 -0000)]
- cleanup by manually expanding the helpers.
Saves several 100 bytes
Bernhard Reutner-Fischer [Sat, 3 May 2008 12:49:10 +0000 (12:49 -0000)]
- implement splice,vmsplice,tee for all arches
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
Khem Raj [Sat, 3 May 2008 05:44:30 +0000 (05:44 -0000)]
Wire up vmsplice, splice and tee for arm.
Bernhard Reutner-Fischer [Fri, 2 May 2008 20:31:57 +0000 (20:31 -0000)]
- indent
Carmelo Amoroso [Fri, 2 May 2008 13:57:02 +0000 (13:57 -0000)]
Added implementation for 'locale' command.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Bernhard Reutner-Fischer [Fri, 2 May 2008 07:18:29 +0000 (07:18 -0000)]
- add vmsplice, splice, tee (Timo Teräs)
- pull bits/fcntl.h from glibc (Timo Teräs)
Denis Vlasenko [Thu, 1 May 2008 12:14:25 +0000 (12:14 -0000)]
install_headers: do not exit if unifdef "fails", it's ok
Denis Vlasenko [Wed, 30 Apr 2008 04:02:50 +0000 (04:02 -0000)]
install_headers: properly quote things
Denis Vlasenko [Wed, 30 Apr 2008 01:37:04 +0000 (01:37 -0000)]
guard against older ld's not understanding --sort-section alignment
Denis Vlasenko [Wed, 30 Apr 2008 00:59:05 +0000 (00:59 -0000)]
Rules.mak: fix -falign/-malign mixup
Denis Vlasenko [Wed, 30 Apr 2008 00:58:07 +0000 (00:58 -0000)]
install_headers.sh: detect a case when kernel headers are already
installed in target dir, and dont try to copy them again
Denis Vlasenko [Tue, 29 Apr 2008 00:36:57 +0000 (00:36 -0000)]
build system: use a bit more aggressive gcc/ld optimizations,
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
Denis Vlasenko [Mon, 28 Apr 2008 02:08:01 +0000 (02:08 -0000)]
__uc_malloc: remove stray semicolons
Denis Vlasenko [Mon, 28 Apr 2008 01:15:34 +0000 (01:15 -0000)]
Experimentally move libc_hidden_proto(time) to time.h.
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.
Denis Vlasenko [Sun, 27 Apr 2008 23:10:00 +0000 (23:10 -0000)]
build system: improve install_headers.
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.
Carmelo Amoroso [Fri, 25 Apr 2008 16:51:30 +0000 (16:51 -0000)]
Fix rpc test Makefile
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Fri, 25 Apr 2008 16:50:50 +0000 (16:50 -0000)]
Fix some sh4 specific entries
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Denis Vlasenko [Fri, 25 Apr 2008 07:43:18 +0000 (07:43 -0000)]
reinstate external visibility of inet_ntoa_r,
and add it to arpa/inet.h header.
Bernhard Reutner-Fischer [Thu, 24 Apr 2008 09:24:59 +0000 (09:24 -0000)]
- fixup asm. No object-code changes
Hans-Christian Egtvedt [Thu, 24 Apr 2008 07:15:37 +0000 (07:15 -0000)]
Fix indentation of comment in AVR32 memmove assembler optimization file.
Hans-Christian Egtvedt [Thu, 24 Apr 2008 07:11:16 +0000 (07:11 -0000)]
Fix whitespace damage in top level Config.in.
Hans-Christian Egtvedt [Thu, 24 Apr 2008 07:08:48 +0000 (07:08 -0000)]
Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.
Hans-Christian Egtvedt [Thu, 24 Apr 2008 07:08:15 +0000 (07:08 -0000)]
Fix whitespace damage in AVR32 libc sysdeps sys header files.
Hans-Christian Egtvedt [Thu, 24 Apr 2008 07:07:41 +0000 (07:07 -0000)]
Fix whitespace damage in AVR32 libc bits header files.
Khem Raj [Wed, 23 Apr 2008 00:15:51 +0000 (00:15 -0000)]
Cleanup INTERNAL_SYSCALL macros for ARM.
Carmelo Amoroso [Tue, 22 Apr 2008 15:13:57 +0000 (15:13 -0000)]
Added support for error_print_progname as proposed
by Will Newton <will.newton@gmail.com>
Carmelo Amoroso [Tue, 22 Apr 2008 14:10:55 +0000 (14:10 -0000)]
Fix segfault in __pthread_initialize_minimal in linuxthreads
implementation when built without SHARED flag as reported
by Will Newton <will.newton@gmail.com>
Khem Raj [Sun, 20 Apr 2008 08:10:37 +0000 (08:10 -0000)]
Fix mmap64 undefined on arm oabi with pure thumb1 patchset. Thanks Tobias Poschwatta
Hans-Christian Egtvedt [Wed, 16 Apr 2008 14:24:58 +0000 (14:24 -0000)]
Fix whitespace damage in AVR32 pt-machine.h in libpthread, linuxthreads and linuxthreads.old.
Hans-Christian Egtvedt [Wed, 16 Apr 2008 14:14:48 +0000 (14:14 -0000)]
Fix whitespace damage in AVR32 string assembler optimized functions.
Hans-Christian Egtvedt [Wed, 16 Apr 2008 14:13:45 +0000 (14:13 -0000)]
Fix whitespace damage in AVR32 part of ldso.
Hans-Christian Egtvedt [Wed, 16 Apr 2008 14:12:48 +0000 (14:12 -0000)]
Fix whitespace damage in Config.avr32.
Hans-Christian Egtvedt [Wed, 16 Apr 2008 13:24:24 +0000 (13:24 -0000)]
Updated email address for Hans-Christian Egtvedt, AVR32 maintainer.
Denis Vlasenko [Tue, 15 Apr 2008 08:27:24 +0000 (08:27 -0000)]
amd64 string ops: use alignment more carefully, and comment it.
By capping max padding to not be bigger than three next insns,
we avoid having ridiculously big NOPs like this one:
53:66 66 66 66 2e 0f 1f nopw %cs:0x0(%rax,%rax,1)
5a:84 00 00 00 00 00
which was bigger than next three insns combined!
Size changes:
text data bss dec hex filename
102 0 0 102 66 x86_64/memcpy.o
102 0 0 102 66 x86_64.old/memcpy.o
90 0 0 90 5a x86_64/mempcpy.o
102 0 0 102 66 x86_64.old/mempcpy.o
210 0 0 210 d2 x86_64/memset.o
242 0 0 242 f2 x86_64.old/memset.o
213 0 0 213 d5 x86_64/stpcpy.o
220 0 0 220 dc x86_64.old/stpcpy.o
428 0 0 428 1ac x86_64/strcat.o
444 0 0 444 1bc x86_64.old/strcat.o
417 0 0 417 1a1 x86_64/strchr.o
418 0 0 418 1a2 x86_64.old/strchr.o
33 0 0 33 21 x86_64/strcmp.o
33 0 0 33 21 x86_64.old/strcmp.o
213 0 0 213 d5 x86_64/strcpy.o
220 0 0 220 dc x86_64.old/strcpy.o
135 0 0 135 87 x86_64/strcspn.o
151 0 0 151 97 x86_64.old/strcspn.o
225 0 0 225 e1 x86_64/strlen.o
233 0 0 233 e9 x86_64.old/strlen.o
140 0 0 140 8c x86_64/strpbrk.o
156 0 0 156 9c x86_64.old/strpbrk.o
135 0 0 135 87 x86_64/strspn.o
151 0 0 151 97 x86_64.old/strspn.o
Also, a few files got their .text alignment relaxed from 16 to 8 bytes,
which reduces padding at link time.
Denis Vlasenko [Tue, 15 Apr 2008 08:23:19 +0000 (08:23 -0000)]
amd64 string ops: replace some instructions by smaller ones,
e.g. testb $0xff, %cl -> testb %cl, %cl
Denis Vlasenko [Sat, 12 Apr 2008 01:34:04 +0000 (01:34 -0000)]
Functions should be either exported in public .h files
and marked with libc_hidden_proto/def(),
or not be exported in .h files
and be hidden (or even static if possible).
We have five functions which violate this. Fixing:
netdb.h: export ruserpass()
rpc/rpc.h: export xdr_accepted_reply() and xdr_rejected_reply()
make inet_ntoa_r static function (it is not exported in any .h file)
make _time_tzset hidden function (it is not exported in any .h file)
Denis Vlasenko [Thu, 10 Apr 2008 21:15:59 +0000 (21:15 -0000)]
remove "register" from _vf[w]printf_internal declarations too
Denis Vlasenko [Thu, 10 Apr 2008 20:39:07 +0000 (20:39 -0000)]
even more fixes for vda-made breakage in vXXXfprintf
(pointed out by Peter S.Mazinger)
Denis Vlasenko [Wed, 9 Apr 2008 22:22:28 +0000 (22:22 -0000)]
fix breakage in old_vfprintf case
Denis Vlasenko [Wed, 9 Apr 2008 21:51:33 +0000 (21:51 -0000)]
restore erroneously removed hidden_def for vdprintf
Denis Vlasenko [Wed, 9 Apr 2008 19:52:13 +0000 (19:52 -0000)]
Remove vestigial locking init from sprintf routines.
Denis Vlasenko [Wed, 9 Apr 2008 19:51:18 +0000 (19:51 -0000)]
Factor out the core of vprintf() into separate function
vprintf_internal, so that:
* vprintf() does locking and __STDIO_STREAM_TRANS_TO_WRITE thing,
then calls vprintf_internal
* vsnprintf, vdprintf.c, vasprintf.c use
vprintf_internal directly
This makes sprintf faster (since it doesn't do any locking)
and stops it from pulling in fseek in static compile.
Bernhard Reutner-Fischer [Fri, 4 Apr 2008 10:04:41 +0000 (10:04 -0000)]
- use a 16bit value for fnstsw as required by newer binutils.
Carmelo Amoroso [Tue, 1 Apr 2008 16:07:06 +0000 (16:07 -0000)]
Fix remap_file_pages prototype and use mman.h header
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 19:42:15 +0000 (19:42 -0000)]
- trim trailing whitespace. No object-code changes.
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 19:40:39 +0000 (19:40 -0000)]
- fixup stripping of host utils and make host-utils compile with std=gnu99
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 18:49:16 +0000 (18:49 -0000)]
- improve building utils
Either by first compiling objects and linking those or by just passing
the source to create the desired binary (this patchlet does the latter).
Fixes cosmetic glitch by just not building individual .o (in pwd, at least).
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 18:01:54 +0000 (18:01 -0000)]
- fix generation of sysnum.h for parallel builds, second take.
Revert r21503 and redo more cleanly.
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 17:04:09 +0000 (17:04 -0000)]
- fix (parallel) compilation error in ldso.c
We have to generate sysnum.h to satisfy all includes of ldso.c
Bernhard Reutner-Fischer [Wed, 26 Mar 2008 13:40:36 +0000 (13:40 -0000)]
Paul Brook writes:
The attached patch adds support for compiling arm uClibc as pure Thumb code.
This is needed because some recent ARM codes do not implement traditional ARM
mode. Specifically:
* Cortex-M1 - An extremely minimal FPGA based core that only implements
Thumb-1 (aka ARMv6-M).
* Cortex-M3 - A Thumb-2 only ARMv7-M core.
Most of uClibc already builds in Thumb mode, all that is left are a handful of
assembly bits.
Tested on arm-uclinuxeabi.
Carmelo Amoroso [Wed, 26 Mar 2008 11:58:14 +0000 (11:58 -0000)]
Enable remap_file_pages prototype controlled by __USE_GNU define as well as mremap, instead of __USE_MISC according to glibc. Missing prototype was spotted out by Peter Mazinger
Carmelo Amoroso [Tue, 25 Mar 2008 14:40:35 +0000 (14:40 -0000)]
Add missing cast in pointer assignment
Carmelo Amoroso [Fri, 21 Mar 2008 07:18:47 +0000 (07:18 -0000)]
Add rempa_file_pages function by Will Newton <will.newton@imgtec.com>
Mike Frysinger [Fri, 21 Mar 2008 06:58:23 +0000 (06:58 -0000)]
michael_d writes in [#2064]: fix building on linux-2.0 systems
Carmelo Amoroso [Sun, 16 Mar 2008 07:49:24 +0000 (07:49 -0000)]
Add myself as co-maintainer of SH4, specifically for NPTL pthread library and TLS dynamic linker support
Carmelo Amoroso [Sun, 16 Mar 2008 07:35:04 +0000 (07:35 -0000)]
Remove extra file separator
Haavard Skinnemoen [Thu, 13 Mar 2008 20:12:08 +0000 (20:12 -0000)]
avr32: Use HIDDEN_JUMPTARGET() macro in bzero.S
Also, remove the hidden __memset symbol from memset.S
Haavard Skinnemoen [Thu, 13 Mar 2008 19:04:16 +0000 (19:04 -0000)]
From: Geoffrey Wossum <geoffrey@pager.net>
Found a problem with the AVR32 optimized bzero() code. Due to a
missing #include, it actually generated no code.
Haavard Skinnemoen [Thu, 13 Mar 2008 18:41:46 +0000 (18:41 -0000)]
Add myself as co-maintainer for the AVR32 architecture
Carmelo Amoroso [Tue, 11 Mar 2008 10:25:42 +0000 (10:25 -0000)]
Move calculation of rem within if (unlikely statement
Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
SIgned-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Sun, 9 Mar 2008 07:07:20 +0000 (07:07 -0000)]
Khem Raj <kraj@mvista.com> writes:
While compiling trunk on ARM with GCC 4.2 and enabling LDSO_GNU_HASH_SUPPORT I stumbled upon this problem.
GCC made a call to libgcc function __aeabi_uidivmod()->__div0()->__raise() and raise is not yet compiled in at the time of compiling ldso
so I got well known undefined symbol __raise problem
This patch uses the do_rem () macro to do the same operation.
Carmelo Amoroso [Wed, 5 Mar 2008 14:37:55 +0000 (14:37 -0000)]
Call explicitely objclean-y when doing build cleanup.
Remove 'find' command. It makes cleanup faster too.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Carmelo Amoroso [Thu, 28 Feb 2008 10:05:14 +0000 (10:05 -0000)]
Fix file permissions
Carmelo Amoroso [Thu, 28 Feb 2008 10:01:09 +0000 (10:01 -0000)]
Fix file permissions
Carmelo Amoroso [Thu, 28 Feb 2008 09:56:28 +0000 (09:56 -0000)]
Added support for ether_line, ether_ntohost and ether_hostton.
Added related test cases.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Mike Frysinger [Sat, 23 Feb 2008 01:28:28 +0000 (01:28 -0000)]
Ricard Wanderlof writes:
The following definitions in getaddrinfo.c seem redundant as they _are_
defined in the public netdb.h header, contrary to the comment. AI_DEFAULT
is not, however it is not used in the file either so can be safely
removed.
Carmelo Amoroso [Wed, 20 Feb 2008 20:26:42 +0000 (20:26 -0000)]
Fix typos in comment
Carmelo Amoroso [Wed, 20 Feb 2008 20:20:00 +0000 (20:20 -0000)]
Do not call _dl_de ug_state() before recording ld.so. Signed-off-by: Daniel Jacobowit <dan@codesourcery.com>
Chris Zankel [Wed, 20 Feb 2008 17:56:59 +0000 (17:56 -0000)]
xtensa: the size of the elf_gregset_t array is actually 128.
Signed-off-by: Chris Zankel <chris@zankel.net>
Hans-Christian Egtvedt [Wed, 20 Feb 2008 14:27:12 +0000 (14:27 -0000)]
Use HIDDEN_JUMPTARGET define instead of __GI_ directly in AVR32 files
This patch uses the HIDDEN_JUMPTARGET instead of the __GI_ prefix in AVR32
assembler files. This is done to follow the code style in uClibc.
Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
Chris Zankel [Wed, 20 Feb 2008 00:30:54 +0000 (00:30 -0000)]
Xtensa: Provide an architecture specific sigaction and sa_restorer function in libc to avoid having to place executable code on stack.
Signed-off-by: Chris Zankel <chris@zankel.net>
Mike Frysinger [Sat, 16 Feb 2008 08:33:48 +0000 (08:33 -0000)]
posix_fadvise64 on 64bit systems take 5 arguments, not 6, as pointed out by skinkie in #2194
Mike Frysinger [Sat, 16 Feb 2008 08:24:02 +0000 (08:24 -0000)]
fix typo pointed out by skinkie in #2194
Denis Vlasenko [Tue, 12 Feb 2008 20:31:44 +0000 (20:31 -0000)]
add hidden_proto's for __uc_malloc
(patch by Bernd Schmidt <bernds_cb1 at t-online.de>)
Bernd Schmidt [Tue, 12 Feb 2008 13:23:19 +0000 (13:23 -0000)]
Use DL_RELOC_ADDR when dealing with DL_LOADADDR_TYPE types. Fixes gnu-hash
compilation on Blackfin.
Chris Zankel [Mon, 11 Feb 2008 23:16:35 +0000 (23:16 -0000)]
Omit adding 'OUTPUT_FORMAT' to the libc.so linker script if the architecture
didn't provide one (Xtensa, for example, is such an architecture).
Signed-off-by: Chris Zankel <chris@zankel.net>
Bernd Schmidt [Fri, 8 Feb 2008 13:43:39 +0000 (13:43 -0000)]
Fix the recent dladdr changes so that they compile on FD-PIC targets.