OSDN Git Service
Mike Frysinger [Tue, 18 Jan 2005 23:14:41 +0000 (23:14 -0000)]
rework the dependencies so libpthread_db.a is only rebuilt when the object files get updated
Mike Frysinger [Tue, 18 Jan 2005 23:01:13 +0000 (23:01 -0000)]
white space clean up
Mike Frysinger [Tue, 18 Jan 2005 23:00:02 +0000 (23:00 -0000)]
tweak target dependencies to support parallel builds
Mike Frysinger [Tue, 18 Jan 2005 22:55:44 +0000 (22:55 -0000)]
- define RANLIB since a subdir or two uses it
- add support for DESTDIR to work the same as PREFIX
Mike Frysinger [Tue, 18 Jan 2005 04:26:49 +0000 (04:26 -0000)]
make sure we include pthread.h to define pthread_attr_t
Mike Frysinger [Tue, 18 Jan 2005 02:30:03 +0000 (02:30 -0000)]
whitespace touchups
Mike Frysinger [Mon, 17 Jan 2005 23:18:56 +0000 (23:18 -0000)]
add posix_fadvise / posix_fadvise64 support
Eric Andersen [Mon, 17 Jan 2005 21:08:09 +0000 (21:08 -0000)]
Mention uclibc.org as the defalt download site
Peter Kjellerstedt [Sun, 16 Jan 2005 09:49:14 +0000 (09:49 -0000)]
Made it possible to make utils when $(CROSS) or $(CC) contain spaces.
Peter Kjellerstedt [Sun, 16 Jan 2005 09:46:57 +0000 (09:46 -0000)]
Corrected a typo.
Eric Andersen [Sun, 16 Jan 2005 05:38:32 +0000 (05:38 -0000)]
Per bugs.uclibc.org/view.php?id=15, patch from kergoth:
Sometimes it is desirable to build ldconfig non-static.
Eric Andersen [Sun, 16 Jan 2005 05:20:10 +0000 (05:20 -0000)]
whitespace cleanup
Eric Andersen [Sun, 16 Jan 2005 05:19:55 +0000 (05:19 -0000)]
Per http://bugs.uclibc.org/view.php?id=12:
Some newer archs only have umount2
Ned Ludd [Sun, 16 Jan 2005 05:08:10 +0000 (05:08 -0000)]
- ifdef bdflush update from bug #
0000011
Ned Ludd [Sun, 16 Jan 2005 05:05:33 +0000 (05:05 -0000)]
- ifdef uselib update from bug #
0000013
Eric Andersen [Sun, 16 Jan 2005 04:39:24 +0000 (04:39 -0000)]
prevent people asking what a loose-meat sandwich is (its another
name for a sloppy-joe' in case anyone was wondering)
Eric Andersen [Fri, 14 Jan 2005 17:07:51 +0000 (17:07 -0000)]
Fix spelling
Eric Andersen [Thu, 13 Jan 2005 17:22:46 +0000 (17:22 -0000)]
fix grammar
Eric Andersen [Thu, 13 Jan 2005 17:20:59 +0000 (17:20 -0000)]
Mention the new bug tracking system
Ned Ludd [Wed, 12 Jan 2005 15:11:24 +0000 (15:11 -0000)]
- add patch from Peter S. Mazinger to allow selecting the fast access canary for propolice/ssp
Peter Kjellerstedt [Wed, 12 Jan 2005 13:26:18 +0000 (13:26 -0000)]
Use the inlined __dl_parse_dynamic_info() in DL_BOOT() for CRIS too.
Eric Andersen [Wed, 12 Jan 2005 07:52:50 +0000 (07:52 -0000)]
Update docs for release
Eric Andersen [Wed, 12 Jan 2005 01:22:59 +0000 (01:22 -0000)]
cleanup, and prevent failures due to including architecture specific
header files into ldconfig when building for the host.
Mike Frysinger [Tue, 11 Jan 2005 17:02:22 +0000 (17:02 -0000)]
newer linux headers define __cast__ in compiler.h so lets fake it too
Mike Frysinger [Tue, 11 Jan 2005 17:01:53 +0000 (17:01 -0000)]
dont bother including sysctl.h unless we need it
Eric Andersen [Tue, 11 Jan 2005 11:31:55 +0000 (11:31 -0000)]
Jean writes:
Hello,
under some circumstances the following small example prints lots of
garbage onto the console and into the syslog:
#include <syslog.h>
int main ()
{
openlog("foo", LOG_CONS|LOG_NDELAY|LOG_PID|LOG_PERROR, LOG_DAEMON);
syslog (LOG_WARNING, "mlock: %m");
return 1;
}
The reason is, that sprintf returns with -1 and vsyslog dumps the
complete buffer onto stderr and the syslogd socket. The following
patch would fix the problem:
Eric Andersen [Tue, 11 Jan 2005 11:25:32 +0000 (11:25 -0000)]
Patch from Bernardo Innocenti:
Remove use of cast-as-l-value extension, removed in GCC 3.5.
Eric Andersen [Tue, 11 Jan 2005 11:08:30 +0000 (11:08 -0000)]
Jan Lana writes:
uClibc resolver doesn't lookup all search domains.
For example, if you have computer 'jenda.prague.my.cz' and resolv.conf:
search my.cz
nameserver xx.xx.xx.xx
try this:
ping jenda.prague.my.cz #works
ping jenda.prague #unknown host
libc/inet/resolv.c doesn't want to try search domains if the domain name
contains '.'. I don't find any reason for the behaviour in literature
and it is inconsistent with the glibc.
Patch is attached.
regards,
- jenda
Eric Andersen [Tue, 11 Jan 2005 10:58:19 +0000 (10:58 -0000)]
Do not use portable (POSIX) 'cp -PRf' but instead use 'cp -dRf' since
busybox does not yet support 'cp -P'
Eric Andersen [Tue, 11 Jan 2005 10:15:06 +0000 (10:15 -0000)]
Why is this here?
Eric Andersen [Tue, 11 Jan 2005 09:58:05 +0000 (09:58 -0000)]
update prior to release
Eric Andersen [Tue, 11 Jan 2005 09:55:02 +0000 (09:55 -0000)]
minor doc update
Eric Andersen [Tue, 11 Jan 2005 09:41:40 +0000 (09:41 -0000)]
Patch from Paul Mundt (lethal) adding an initial librt implementation.
I then reworked the syscall handling and made minor cleanups. With luck
I've not completely broken his patch...
Eric Andersen [Tue, 11 Jan 2005 06:39:19 +0000 (06:39 -0000)]
Remove the no-longer-needed #include <sys/user.h>
Eric Andersen [Mon, 10 Jan 2005 20:46:43 +0000 (20:46 -0000)]
Fixup function prototypes to match definitions in include/dlfcn.h
Eric Andersen [Sun, 9 Jan 2005 08:19:19 +0000 (08:19 -0000)]
Bump version number
Mike Frysinger [Thu, 6 Jan 2005 04:02:00 +0000 (04:02 -0000)]
Document more things inet_aton() 'should' support but actually doesn't.
Most of the time, no one ever notices, so there's not point eh ? Also
standardize tab usage.
Mike Frysinger [Thu, 6 Jan 2005 03:06:49 +0000 (03:06 -0000)]
Justin Cormack <justin@street-vision.com> writes:
Here is a small patch to add epoll support to uclibc.
The only thing I am not sure about is what needs to be done (if anything)
to make it work on 2.4/2.2 kernels (are the syscall numbers defined but
give errors when called or not?).
Tested on 2.6, though some other issues prevent more extensive testing at
the minute.
Mike Frysinger:
cleaned up patch and added checks to make sure that the syscall actually
exists, returning ENOSYS in cases where it doesn't.
Mike Frysinger [Wed, 5 Jan 2005 23:11:28 +0000 (23:11 -0000)]
fix eriks e-mail address
Mike Frysinger [Sat, 1 Jan 2005 20:28:21 +0000 (20:28 -0000)]
Amir Shalem writes:
here are few patches for better compatability in ./Makefile:
cp.diff - use portable (POSIX) way to specfic --no-dereference (-d)
Mike Frysinger [Sat, 1 Jan 2005 20:25:05 +0000 (20:25 -0000)]
Amir Shalem writes:
here are few patches for better compatability in ./Makefile:
make.diff - make should never called directly, change it to $(MAKE)
Eric Andersen [Mon, 27 Dec 2004 19:43:31 +0000 (19:43 -0000)]
clarify
Eric Andersen [Mon, 27 Dec 2004 19:40:58 +0000 (19:40 -0000)]
fix typo
Eric Andersen [Mon, 27 Dec 2004 19:28:55 +0000 (19:28 -0000)]
Update FAQ, remove references to 'toolchain' and instead emphasize
'buildroot', which can do everything 'toolchain' could do and then
some. And is actively maintained.
-Erik
Mike Frysinger [Sun, 26 Dec 2004 09:00:59 +0000 (09:00 -0000)]
Peter S. Mazinger: make sure the ld RELRO and NOW options are independent options
Mike Frysinger [Sun, 26 Dec 2004 08:57:06 +0000 (08:57 -0000)]
Peter S. Mazinger: use ASFLAGS when compiling asm files
Eric Andersen [Thu, 23 Dec 2004 01:29:45 +0000 (01:29 -0000)]
Fix thinko
Eric Andersen [Wed, 22 Dec 2004 23:03:42 +0000 (23:03 -0000)]
Remove the obsolete XATTR option
Eric Andersen [Wed, 22 Dec 2004 22:35:31 +0000 (22:35 -0000)]
Fix typo
Eric Andersen [Wed, 22 Dec 2004 21:57:24 +0000 (21:57 -0000)]
Make certain that the prototype for fgets_unlocked is defined
Eric Andersen [Wed, 22 Dec 2004 21:55:56 +0000 (21:55 -0000)]
Cleanup for when LDSO_CACHE_SUPPORT is disabled
Eric Andersen [Wed, 22 Dec 2004 21:40:45 +0000 (21:40 -0000)]
Patch from Peter S. Mazinger:
Add pie support for mips
Eric Andersen [Wed, 22 Dec 2004 21:34:27 +0000 (21:34 -0000)]
Patch from Peter S. Mazinger:
Add UCLIBC_BUILD_NOEXECSTACK support.
Eric Andersen [Wed, 22 Dec 2004 21:24:32 +0000 (21:24 -0000)]
Patch from Peter S. Mazinger:
Seperate out security features into a separate menu
Eric Andersen [Wed, 22 Dec 2004 21:14:23 +0000 (21:14 -0000)]
Patch from Peter S. Mazinger:
rename UCLIBC_PROPOLICE to UCLIBC_HAS_SSP
Eric Andersen [Wed, 22 Dec 2004 21:04:52 +0000 (21:04 -0000)]
Cleaned up patch from Peter S. Mazinger adding support for
-fstack-protector and -fno-stack-protector-all security
options
Eric Andersen [Wed, 22 Dec 2004 19:53:11 +0000 (19:53 -0000)]
Patch from psm, vapier, and solar, adding xattr syscalls
Eric Andersen [Wed, 22 Dec 2004 19:11:07 +0000 (19:11 -0000)]
Patch from Peter S. Mazinger:
rename UCLIBC_PIE_SUPPORT to UCLIBC_BUILD_PIE
Eric Andersen [Wed, 22 Dec 2004 18:58:12 +0000 (18:58 -0000)]
Patch from Peter S. Mazinger to simplify PIE handling
Eric Andersen [Wed, 22 Dec 2004 18:52:12 +0000 (18:52 -0000)]
Patch from Peter S. Mazinger to consistantly use "ASFLAGS"
as the flags for all calls to 'as'
Eric Andersen [Tue, 21 Dec 2004 08:35:58 +0000 (08:35 -0000)]
Add support for the Analog Devices Blackfin mmuless processor
Ned Ludd [Mon, 20 Dec 2004 18:23:24 +0000 (18:23 -0000)]
- added LD_TRACE_LOADED_OBJECTS to be stripped from the env on suid exec
Ned Ludd [Mon, 20 Dec 2004 18:16:49 +0000 (18:16 -0000)]
- dont use dos format
Ned Ludd [Mon, 20 Dec 2004 00:10:51 +0000 (00:10 -0000)]
- Added support for 13 new syscalls to allow more things to compile when using uClibc. mincore() and the ones for Extended Attributes setxattr(), lsetxattr(), fsetxattr(), getxattr(), lgetxattr(), fgetxattr(), listxattr(), llistxattr(), flistxattr(), removexattr(), lremovexattr(), fremovexattr() which are optional.
Eric Andersen [Thu, 16 Dec 2004 16:28:34 +0000 (16:28 -0000)]
On Thu Dec 16, 2004 at 03:49:31PM +0100, Johan Adolfsson wrote:
> What's the correct way of calling llseek/_llseek?
> The manpage I have indicates _llseek and thats what the version of
> util-linux
> I tried use as well so compiling for uClibc fails.
> Would the following patch fix it or is it the apps that needs fixing?
Eric Andersen [Mon, 13 Dec 2004 20:33:27 +0000 (20:33 -0000)]
Remove whitespace
Eric Andersen [Sun, 12 Dec 2004 05:02:43 +0000 (05:02 -0000)]
Patch from Paul Brook:
The Arm crt0.S contains non-PIC code for locating _init and _fini sections.
This caused problems on my uclinux system when static constructors were
enabled.
The attached patch implements a PIC version of this code.
Paul
Eric Andersen [Sat, 11 Dec 2004 13:23:14 +0000 (13:23 -0000)]
We can't strip libpthread or libthread_db can't help gdb debug ptheads
Eric Andersen [Sat, 11 Dec 2004 12:28:51 +0000 (12:28 -0000)]
That last patch had some garbage in it... PIC != PIE
Eric Andersen [Sat, 11 Dec 2004 12:23:37 +0000 (12:23 -0000)]
Partial commit of a patch from Alexandre Oliva:
Here's an updated version of the patch I posted about a month ago. It
leaves -nostdinc alone, and uses -print-file-name=include instead of
-print-search-dirs to figure out where GCC's internal headers are.
Please let me know whether there are any portions of this patch you'd
like me to break into smaller pieces, to rework, or to give up trying
to get into uClibc :-) Thanks,
Eric Andersen [Sat, 11 Dec 2004 12:05:31 +0000 (12:05 -0000)]
Remove some accumulated ugly junk
Eric Andersen [Thu, 9 Dec 2004 23:18:02 +0000 (23:18 -0000)]
Don't use PAGE_SIZE, instead just a local BUFFER_SIZE define
Eric Andersen [Wed, 8 Dec 2004 22:31:50 +0000 (22:31 -0000)]
libpthread can use the normal LDFLAGS (including -s to strip it), but
libthreaddb must not be stripped or gdb can't use it.
Eric Andersen [Wed, 8 Dec 2004 21:18:53 +0000 (21:18 -0000)]
Kill off ancient unused cruft
Eric Andersen [Wed, 8 Dec 2004 08:24:17 +0000 (08:24 -0000)]
Use PAGE_SIZE, not 4096
Eric Andersen [Mon, 6 Dec 2004 23:24:21 +0000 (23:24 -0000)]
Add missing definition for O_DIRECT
Ned Ludd [Thu, 25 Nov 2004 19:10:39 +0000 (19:10 -0000)]
update : $
Joakim Tjernlund [Wed, 17 Nov 2004 12:29:10 +0000 (12:29 -0000)]
Make __builtin_return_address() return NULL at top of
stack frame. This will make backtracing possible.
Joakim Tjernlund [Wed, 17 Nov 2004 09:36:40 +0000 (09:36 -0000)]
Add BIND NOW support to MIPS.
Mips did not honour the LD_BIND_NOW env. variable or the DT_BIND_NOW flag
in the dynamic section.
Eric Andersen [Thu, 11 Nov 2004 18:55:51 +0000 (18:55 -0000)]
Fix grammar
Mike Frysinger [Thu, 11 Nov 2004 14:50:52 +0000 (14:50 -0000)]
move getent to extra/scripts/ out of docs/
Mike Frysinger [Thu, 11 Nov 2004 14:48:24 +0000 (14:48 -0000)]
misc touchups
Mike Frysinger [Thu, 11 Nov 2004 14:44:17 +0000 (14:44 -0000)]
fix a few typos and clean up the spacing (no tabs)
Ned Ludd [Thu, 11 Nov 2004 03:13:36 +0000 (03:13 -0000)]
misc cleanups of __stack_smash_handler() function when ssp support is enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
Ned Ludd [Thu, 11 Nov 2004 03:12:37 +0000 (03:12 -0000)]
misc cleanups of __stack_smash_handler() function when ssp support is enabled. syslog() support should now work both inside and outside of chroots. erandom code left in but remains #ifdef out by default. May remove erandom completely in the future for uClibc unless the LFS guys and gals want to keep it.
Joakim Tjernlund [Wed, 10 Nov 2004 15:27:26 +0000 (15:27 -0000)]
Add RTLD_LOCAL support for dlopened libs. Reported by
Andrew de Quincey, who has been most helpful getting this sorted
out, thanks. Thanks also to Peter Mazinger who did alot of testing.
Removed all traces of dl_parse_copy_information() since it is no longer used.
Ned Ludd [Wed, 10 Nov 2004 08:07:40 +0000 (08:07 -0000)]
initial commit of uclibc equiv of glibc getent
Eric Andersen [Mon, 8 Nov 2004 03:34:44 +0000 (03:34 -0000)]
Some requested additional malloc entry points
Eric Andersen [Mon, 8 Nov 2004 03:31:41 +0000 (03:31 -0000)]
A patch included in glibc 2.3.2's libthread_db that helps remote
debugging not become confused,
Eric Andersen [Tue, 2 Nov 2004 15:15:10 +0000 (15:15 -0000)]
struct ipc_perm, as used by shmctl() when soing shared memory stuff,
was incorrect in uClibc, and was 2 bytes too short. This caused uClibc
shared memory stuff to not behave correctly since struct ipc_perm was
included as the first member of, i.e. struct msqid_ds, so the content
of that struct were all shifted by two bytes. ugh. Apparently, few
people have used shared memory, msgctl(), etc with uClibc thus far,
-Erik
Joakim Tjernlund [Tue, 2 Nov 2004 08:14:49 +0000 (08:14 -0000)]
- Remove dynamic_size from struct elf_resolve.
- Replace all open coded dynamic handling with a function. Reduces size.
- Fold special MIPS dynamic code into the dynamic_info item.
- Add RELRO support.
- Support linking with "-z now".
- prepare for DT_RELACOUNT/DT_RELCOUNT optimization.
- Add -z now to ld.so linking, this is what ld.so does anyway so
let the linker know that.
Manuel Novoa III [Sun, 31 Oct 2004 20:23:09 +0000 (20:23 -0000)]
Revert Peter's __lib_gettimeofday patch. There's the minor issue of
adding cruft to include/sys/time.h. But also, there's no sense in
making changes like this until we decide how we're going to approach
the hidden symbol transition.
Peter Kjellerstedt [Sat, 30 Oct 2004 17:56:00 +0000 (17:56 -0000)]
Synchronized with glibc (2.3.2).
Peter Kjellerstedt [Sat, 30 Oct 2004 17:32:52 +0000 (17:32 -0000)]
Do not assume a fifth argument is used with syscall(). Allocate stack
for saving SRP separately.
Eric Andersen [Sat, 30 Oct 2004 01:07:48 +0000 (01:07 -0000)]
Revise TODO list for the upcoming release
Manuel Novoa III [Wed, 27 Oct 2004 22:07:52 +0000 (22:07 -0000)]
Jocke's patch was almost right. Just needed move the DT_MIPS_RLD_MAP test
up a bit. Native and remote debugging of shared libs and threaded apps now
works on mips.
Eric Andersen [Wed, 27 Oct 2004 09:44:00 +0000 (09:44 -0000)]
Fix up __uClibc_init() for so that we prevent starting SUID
binaries where the standard file descriptors are not opened.
-Erik
Eric Andersen [Wed, 27 Oct 2004 07:26:21 +0000 (07:26 -0000)]
Arrange to hide uClibc internals
Eric Andersen [Tue, 26 Oct 2004 20:48:39 +0000 (20:48 -0000)]
Update TODO list
Eric Andersen [Tue, 26 Oct 2004 20:48:18 +0000 (20:48 -0000)]
Atsushi Nemoto writes:
>>>>> On Tue, 19 Oct 2004 13:28:34 -0600, Erik Andersen <andersen@codepoet.org> said:
>> BTW, top of uClibc TODO list is "Fix syscall() on mips". What is a
>> problem?
andersen> It appears that uClibc's syscall() for mips works ok for
andersen> syscalls with a few arguments. But as I recall, it does not
andersen> work properly with _syscall5, _syscall6, _syscall7, etc.
andersen> Perhaps there is some mistake in its assumptions about the
andersen> mips/linux ABI regarding which syscall arguments are passed
andersen> via register vs which syscall arguments are passed on the
andersen> stack.
Hmm... I found a old fix in uClibc ML archive.
http://www.uclibc.org/lists/uclibc/2002-September/004459.html
But it seems somewhat broken. How about this fix instead? I tested
mmap with syscall() in mips. mips64 is not tested.