Age | Commit message (Collapse) | Author |
|
This patch will prefix the i and nr_got variable with an underscore to seperate
them from any variables already present in the functions where the macro is
used.
Needed to silence compiler warnings.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Replace __inline__ with __always_inline.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
Closes #3824
|
|
Closes #5254
|
|
in one of recent commits :)
|
|
text data bss dec hex filename
- 1545 2 4 1551 60f libc/inet/dnslookup.o
+ 1528 2 4 1534 5fe libc/inet/dnslookup.o
|
|
do not treat negative response as error
|
|
"gethostbyname() fails if DNS server returns more than 23 addresses"
|
|
No logic changes. Code size is the same too.
|
|
text data bss dec hex filename
- 259 0 0 259 103 libc/inet/herror.o
+ 243 0 0 243 f3 libc/inet/herror.o
- 720 0 0 720 2d0 libc/inet/ns_name.o
+ 710 0 0 710 2c6 libc/inet/ns_name.o
|
|
|
|
Looks a bit like we wouldn't need to calculate the carry flag there?
|
|
This patch synchronizes the AVR32 specific pt-machine.h header file for
linuxthreads and linuxthreads.old implementation.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
This patch replaces inline with __inline__ to be more ANSI compatible.
Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
|
|
|
|
|
|
|
|
dl_cleanup will call do_dlclose with the handle.
Inside of do_dlclose, the handle will ultimately get free'd.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
the code it was never used in any useful way.
|
|
found it, this is Bernhard's patch to fix it. Tested and it Works For Me (tm)).
|
|
/etc/hosts and it has IPv4 address there.
The most common example is "127.0.0.1 localhost".
We don't want "ping localhost" to stall and time out on IPv6
queries to, say, inaccessible DNS server, right?
- 655 0 0 655 28f libc/inet/gethostbyname2_r.o
+ 685 0 0 685 2ad libc/inet/gethostbyname2_r.o
|
|
|
|
|
|
|
|
print that.
If a choice's child has no help, print parents help.
|
|
|
|
avoid using zero-filled constants in bss:
text data bss dec hex filename
3182 24 48 3254 cb6 getaddrinfo_old.o
3280 0 0 3280 cd0 getaddrinfo.o
|
|
Add a new strncmp testcase.
|
|
|
|
ldso and syscalls are __always_inline (the latter would need more cleanup)
|
|
|
|
Closes #5644
|
|
Thanks to Peter S. Mazinger for pointing out this (obvious) error.
The __ASSUME_NETLINK from ricardw's r22531 references a non-existing
variable in certain cases. I don't see how that could possibly work..
|
|
Closes #5544
|
|
In issue #5554 Michael wrote:
The implementation of sigaction on i386 for older kernels makes the system call using an inline asm element with two flaws:
1. The asm is not marked as depending on the kact structure or modifying the koact structure. Thus, GCC is free to assume these structures need not be kept consistent, allowing it to remove all initialization of kact.
2. The asm allows the signal number to be provided as a memory reference. But this allows GCC to provide a stack-relative operand, which will break because the assembler saves %ebx on the stack before using that operand.
1 didn't use to be a problem in practice because GCC 4.2.* didn't seize the optimization opportunity. GCC 4.3.2, however, optimizes out the "kact.sa_flags = act->sa_flags | SA_RESTORER;" line, so that the kernel sees garbage in sa_flags. This can result in the kernel seeing the SA_RESETHAND flag, causing erratic behaviour in signal dependent programs.
2 becomes an issue if "-fomit-frame-pointer" is provided. In uClibc-0.9.29 it isn't, uClibc-0.9.30-rc2 does use the flag by default.
|
|
|
|
Thanks to Peter S. Mazinger for mentioning this.
|
|
Previously the old headers were left in include/ leading to spurious compile failures.
This is ugly as it can get (we resort to sneaking -L in for the moment) but
good enough for now. The worst thing which can happen is that we ln these
headers once per invocation of make, nothing more.
If some installation of make(1) complains about the "-L" then wrap it in
ifneq ($(findstring check-symlink,$(.FEATURES)),)
|
|
|