Age | Commit message (Collapse) | Author |
|
so when _FILE_OFFSET_BITS=64 (such that we transparently change 32bit into 64
bit interfaces), we will not lose an unsigned char from d_name which silently
becomes the d_type field instead. oops.
-Erik
|
|
accident', as the function argument is in the same register).
|
|
|
|
|
|
and so it actually works as intended allowing binaries on ARM to be
debugged.
-Erik
|
|
NOTE: on uClinux-2.[45] kernels, brk works but is limited to slack space in
the memory allocated to the process.
|
|
option, to avoid the possibility of adding non PIC code into the shared PIC
uClibc library, thereby making the .text segment unshareable.
|
|
|
|
|
|
|
|
|
|
|
|
pipe.c for mips was broken with freeswan. No error checking.
|
|
licensing to libc/inet/ether_addr.c
|
|
Hello,
When using uClibc to compile the modutils for a MIPS target, the linker
outputs an "undefined symbol: _flush_cache". After some digging, it's
a syscall only available on the MIPS architecture, and the _flush_cache
symbol is in the GNU libc.
Attached patch defines it in uClibc as well. I'm not sure if I made it
the right way, though, but it works for me.
|
|
|
|
-Erik
|
|
and did cause segfaults) by adjusting the working scandir.c to
the the 64 thing. Fix up potential for mismatches between the
libc and kernel dirent structures, which could also cause ugly
problems.
-Erik
|
|
large file support is disabled
|
|
|
|
-Erik
|
|
|
|
|
|
|
|
Well, not inlining saves 300 bytes, so do that instead.
-Erik
|
|
type of 'struct stat' and 'struct stat64' so they use consistant types.
This change is the result of a bug I found while trying to use GNU tar. The
problem was caused by our using kernel types within struct stat and trying to
directly compare these values with standard types. Trying an 'if (a < b)' when
'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results
then when comparing entities of the same type (i.e. time_t values)....
Grumble. Nasty stuff, but I'm glad I got this out of the way now.
As a result of this fix, uClibc 0.9.17 will not be binary compatible with
earlier releases. I have always warned people this can and will happen.
-Erik
|
|
allocating size incorrectly....
-Erik
|
|
generate a crt0 and crt1 file. Most arches still need
to be updated to call __uClibc_start_main() rather than
__uClibc_main().
|
|
|
|
test but this should be correct.
|
|
a bit more nicely, and make _init and _fini be weak
for people with broken compilers
-Erik
|
|
is built without buffer support.
|
|
|
|
|
|
|
|
staticly linked apps it entirely prevents destructors from running
unless atexit is called for some other reason. So if they enabled
ctor/dtor support we need to have a call to the real atexit for
dtors to work properly. If people don't want the extra 4k or so
of junk in their static apps, they should leave ctor/dtor support
disabled.
-Erik
|
|
be weak so people won't need to fix their compilers
|
|
|
|
|
|
|
|
malloc-930716 behavior, i.e. return a NULL.
|
|
seeks to the end of the stream when append mode is set and we are
transitioning to write mode, so that subsequent ftell() return
values are correct.
Also fix _stdio_fopen to support fdopen() with append specified when
the underlying file didn't have O_APPEND set. It now sets the
O_APPEND flag as recommended by SUSv3 and is done by glibc.
|
|
implementation such that gdb can actually debug signal handlers. Gdb behaves
much better now, for example, on multi-threaded apps.
-Erik
|
|
definition and to be consistent with the ABI. Done per conversation
with Ralf (Linux/MIPS) maintainer.
|
|
behavior so it works as expected
|
|
|
|
a common header file and a default implementation.
|
|
a problem noticed by Jeff Mock. Sorry about that.
-Erik
|
|
__decode_dotted() does not count the null terminating byte of
a hostname in the DNS response. This causes lookups to fail
if the DNS response doesn't compress domain names in the
message.
|
|
|