OSDN Git Service
Eric Andersen [Mon, 22 Dec 2003 10:47:04 +0000 (10:47 -0000)]
In unistd.h, getpgrp() is redirected to __getpgid(), but
we did not have a __getpgid(). Fix that.
Eric Andersen [Mon, 22 Dec 2003 09:17:19 +0000 (09:17 -0000)]
That was awfully stupid.
Eric Andersen [Mon, 22 Dec 2003 08:56:37 +0000 (08:56 -0000)]
Use 'sed -i -e' rather than 'sed -ie' since we don't want
to leave backup files with "e" appended scattered all over
the place.
Eric Andersen [Mon, 22 Dec 2003 08:53:21 +0000 (08:53 -0000)]
Update the config used when building a .deb
Eric Andersen [Fri, 19 Dec 2003 11:45:21 +0000 (11:45 -0000)]
dev systems updated
Eric Andersen [Wed, 17 Dec 2003 18:34:15 +0000 (18:34 -0000)]
Use PAGE_SIZE rather than hard coding 4096
Eric Andersen [Wed, 17 Dec 2003 08:07:14 +0000 (08:07 -0000)]
Patch from Paul Mundt <lethal@linux-sh.org>:
Here's the patch for the ldso bits for sh64. This is still in need of a bunch
of debugging, testing, etc. and is really only being submitted for general
completeness. This assumes that the previous patches I've submitted have
already been applied.
I plan on playing with this and buildroot some more later, as I'd definitely
like to see buildroot images for sh64.
Eric Andersen [Wed, 17 Dec 2003 08:05:44 +0000 (08:05 -0000)]
Patch from Paul Mundt <lethal@linux-sh.org>:
For sh64 we need implicit access to the symtab, primarily to get at the
->st_other value. This presently isn't possible, as PERFORM_BOOTSTRAP_RELOC()
is invoked as such:
PERFORM_BOOTSTRAP_RELOC(rpnt, reloc_addr, symbol_addr, load_addr);
while we can easily get the symtab_index value from rpnt->r_info, this still
doesn't buy us easy access to the actual table. As such, I've modified
PERFORM_BOOTSTRAP_RELOC() to take an additional SYMTAB argument. Most
architectures aren't going to care about this, but unfortunately we don't
have any other options for sh64.
The following patch fixes up the API for what we need for sh64, and updates
the other architectures appropriately.
Eric Andersen [Wed, 17 Dec 2003 07:57:32 +0000 (07:57 -0000)]
Patch from Paul Mundt <lethal@linux-sh.org>:
The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's
glibc tree.
Eric Andersen [Wed, 17 Dec 2003 06:41:20 +0000 (06:41 -0000)]
When I switched from using stack allocated space for printf, I missed a case
where a sizeof(foo) was changed to the sizeof a pointer. This caused
_dl_printf to complain a lot when debug is enabled (which itself revealed a bug
since it should have exited on buffer overflow), and let me to find another
bug, where memory failures would try to recursively call _dl_printf....
What a mess.
Eric Andersen [Wed, 17 Dec 2003 04:23:42 +0000 (04:23 -0000)]
Add in the axis network cameras
Eric Andersen [Tue, 16 Dec 2003 08:00:28 +0000 (08:00 -0000)]
Add LEAF Bering-uClibc
Eric Andersen [Tue, 16 Dec 2003 07:11:11 +0000 (07:11 -0000)]
fix grammer such it is possible to understand what is written...
Eric Andersen [Tue, 16 Dec 2003 06:47:28 +0000 (06:47 -0000)]
Update for release (no really this time ;-)
Eric Andersen [Tue, 16 Dec 2003 06:45:49 +0000 (06:45 -0000)]
Update the website
Manuel Novoa III [Sun, 14 Dec 2003 23:52:57 +0000 (23:52 -0000)]
Link ldconfig with the appropriate libraries.
Manuel Novoa III [Sun, 14 Dec 2003 23:51:30 +0000 (23:51 -0000)]
Fix some dst issues in _time_mktime().
Normalize the tm_isdst value to -1, 0, or 1.
If no dst for this timezone, then reset tm_isdst to 0.
Manuel Novoa III [Sun, 14 Dec 2003 19:10:23 +0000 (19:10 -0000)]
Fix a couple of 'declaration after statement' errors.
Eric Andersen [Thu, 11 Dec 2003 08:18:42 +0000 (08:18 -0000)]
fix a cut-n-paste typo
Eric Andersen [Thu, 11 Dec 2003 07:55:13 +0000 (07:55 -0000)]
add image for validator
Eric Andersen [Thu, 11 Dec 2003 07:54:56 +0000 (07:54 -0000)]
fixup some silly html bugs
Eric Andersen [Thu, 11 Dec 2003 07:42:05 +0000 (07:42 -0000)]
mjn3 found a url for the darwin C lib
Eric Andersen [Thu, 11 Dec 2003 07:41:48 +0000 (07:41 -0000)]
more minor cleanups
Eric Andersen [Thu, 11 Dec 2003 07:16:11 +0000 (07:16 -0000)]
Rework the website
Eric Andersen [Mon, 8 Dec 2003 21:18:40 +0000 (21:18 -0000)]
Prepare for uClibc 0.9.24 release
Eric Andersen [Fri, 5 Dec 2003 20:39:51 +0000 (20:39 -0000)]
Paul Mundt <lethal@linux-sh.org> writes:
This patch adds the libpthread backend bits for sh64. As noted previously,
we can't inline things like the testandset() in pt-machine.h as we need to
use a completely different ISA / CFLAGS in order for this to work.
As a result, this patch is somewhat of a RFC as well to see what people think
of the libpthread/linuxthreads/sysdeps Makefile approach, etc. The approach
I've taken currently has been to provide a sysdeps/Makefile with a note that
TARGET_ARCHs that want build rules can simply add themselves into the list of
matching architectures to add to the subdir rule for. This probably isn't
the cleanest solution, but it's quite transparent and works quite well.
Eric Andersen [Fri, 5 Dec 2003 20:24:26 +0000 (20:24 -0000)]
move _dl_fixup so staticly linked apps using dlopen have a
chance of actually working
Manuel Novoa III [Thu, 4 Dec 2003 22:57:32 +0000 (22:57 -0000)]
Fix infinite loop in putgrent (forgotten increment).
Eric Andersen [Thu, 4 Dec 2003 22:07:51 +0000 (22:07 -0000)]
Fix arm profiling support, which was accidentally removed
Eric Andersen [Thu, 4 Dec 2003 18:25:36 +0000 (18:25 -0000)]
Set the default stdio buffer size to 4096, rather then 256.
256 is fine of course, but many applications use this value
and expect it to be larger.
Manuel Novoa III [Thu, 4 Dec 2003 06:37:34 +0000 (06:37 -0000)]
Don't download the local data if we have it already.
Manuel Novoa III [Thu, 4 Dec 2003 06:36:52 +0000 (06:36 -0000)]
Building of iconv.o was accidently always disabled.
Also, build the iconv app in utils.
Eric Andersen [Wed, 3 Dec 2003 23:38:43 +0000 (23:38 -0000)]
Henrik Grindal Bakken writes:
The patch touches a minor (well, not that minor, but perhaps only
rarely encountered) bug in the powerpc dynamic linker.
The problem is that addi is called in inline assembly, but there is no
restriction on the second argument. In powerpc assembler, if the
second argument to addi is r0, it is taken as the value 0, not the
contents of r0. This happened to me, making the stack pointer 0 on
the invocation on the application.
The patch is against 0.9.22, but there didn't seem to be any changes
to the relevant section in 0.9.23.
Eric Andersen [Wed, 3 Dec 2003 23:28:33 +0000 (23:28 -0000)]
Joakim Tjernlund writes:
This is just a wild guess, but you could try this to see if it fixes
Richards problem:
Eric Andersen [Wed, 3 Dec 2003 23:12:14 +0000 (23:12 -0000)]
Lethal noticed that the generated file gmon-start.S was not
being cleaned up.
Eric Andersen [Wed, 3 Dec 2003 23:07:50 +0000 (23:07 -0000)]
Patch from lethal, adding syscall() to the sh64 port
Eric Andersen [Wed, 3 Dec 2003 23:04:01 +0000 (23:04 -0000)]
Paul Mundt <lethal@linux-sh.org> writes:
Nothing overly interesting here, this renames Hitachi/Mitsubishi to Renesas
for the relevant platforms (in this case, h8, sh, and m32r). The same changes
have already been going on in gcc/binutils/gdb/glibc/etc.
Eric Andersen [Wed, 3 Dec 2003 21:35:01 +0000 (21:35 -0000)]
Eliminate some static buffers based on a patch from Tobias Anderberg
Eric Andersen [Wed, 3 Dec 2003 20:36:49 +0000 (20:36 -0000)]
remove some garbage
Eric Andersen [Wed, 3 Dec 2003 20:12:45 +0000 (20:12 -0000)]
Rob McMullen writes:
There is code in ldconfig that checks to see if a shared library is named
either ``lib*'' or ``ld-*'' before ldconfig -l will work on it. gawk uses this
feature of ldconfig to make /lib/rcscripts/filefuncs.so, so the build fails.
Eric Andersen [Wed, 3 Dec 2003 02:35:36 +0000 (02:35 -0000)]
force enable FORCE_SHAREABLE_TEXT_SEGMENTS for sh4
Eric Andersen [Tue, 2 Dec 2003 23:16:59 +0000 (23:16 -0000)]
Disable pthreads for sh64 for the time being (since it is not
currently supported)
Manuel Novoa III [Tue, 2 Dec 2003 20:37:08 +0000 (20:37 -0000)]
Include Rules.mk for consistency. Trying not to was simply too painful.
Manuel Novoa III [Tue, 2 Dec 2003 19:06:32 +0000 (19:06 -0000)]
Add a syscall() implementation using a hacked version of the syscall6 macro.
Untested, but syscall() is needed by busybox for pivot_root at least.
Eric Andersen [Tue, 2 Dec 2003 17:59:06 +0000 (17:59 -0000)]
Add function versions of ntohl and friends
Eric Andersen [Tue, 2 Dec 2003 17:58:24 +0000 (17:58 -0000)]
Avoid a potentially undefined operation with a veriable++ in a macro
Manuel Novoa III [Tue, 2 Dec 2003 04:58:41 +0000 (04:58 -0000)]
Put in a dummy reference to main so busybox will link.
Manuel Novoa III [Sat, 29 Nov 2003 21:23:42 +0000 (21:23 -0000)]
Minor typo fix.
Manuel Novoa III [Sat, 29 Nov 2003 20:48:18 +0000 (20:48 -0000)]
Minor update... Config no longer used.
Manuel Novoa III [Sat, 29 Nov 2003 02:17:24 +0000 (02:17 -0000)]
Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector.
Manuel Novoa III [Fri, 28 Nov 2003 19:39:51 +0000 (19:39 -0000)]
Another missing mips function, needed by the boehm garbage collector.
Manuel Novoa III [Fri, 28 Nov 2003 18:28:41 +0000 (18:28 -0000)]
Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
Manuel Novoa III [Mon, 24 Nov 2003 04:24:31 +0000 (04:24 -0000)]
Add -msoft-float to CPU_CFLAGS instead of CFLAGS, since ldso and libdl
Makefiles ignore CFLAGS.
Manuel Novoa III [Mon, 24 Nov 2003 04:23:31 +0000 (04:23 -0000)]
Don't bother checking, since we want an error if -msoft-float doesn't work.
Manuel Novoa III [Sun, 23 Nov 2003 20:24:32 +0000 (20:24 -0000)]
Ok.. this fixes the buildroot soft-float arm build.
Also try to make sure the build breaks if we want soft float but
don't know how to request it.
Manuel Novoa III [Sun, 23 Nov 2003 18:47:56 +0000 (18:47 -0000)]
Make sure we use the right CC setting when building utils.
Not doing so was breaking the buildroot softfloat arm build.
Manuel Novoa III [Sun, 23 Nov 2003 18:46:00 +0000 (18:46 -0000)]
Hopefully this is correct for cris.
Manuel Novoa III [Sun, 23 Nov 2003 18:45:12 +0000 (18:45 -0000)]
Protect against quoting changes.
Eric Andersen [Sat, 22 Nov 2003 21:22:28 +0000 (21:22 -0000)]
Remove SAFECFLAGS. It was a workaround for failures in old awk script
used to generate the crti.S and crtn.S files. Since we don't use that
anymore, keeping the workaround makes no sense.
Furthermore, in most cases, SAFECFLAGS was not picking up all the
needed flags, causing crti.o and crtn.o to not be built PIC.
Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes
that as well.
Eric Andersen [Sat, 22 Nov 2003 18:32:59 +0000 (18:32 -0000)]
Only enable debugging when SUPPORT_LD_DEBUG is enabled, not DEBUGGING
Eric Andersen [Sat, 22 Nov 2003 18:11:47 +0000 (18:11 -0000)]
Oops. Only enable debug when debugging...
Manuel Novoa III [Sat, 22 Nov 2003 06:51:17 +0000 (06:51 -0000)]
Fix arm detection for libfloat.
Manuel Novoa III [Sat, 22 Nov 2003 04:42:22 +0000 (04:42 -0000)]
Make sure the utils build gets the setting for CROSS.
Eric Andersen [Fri, 21 Nov 2003 07:47:43 +0000 (07:47 -0000)]
prevent some needless warnings when building w/2.6.x kernel headers
Eric Andersen [Thu, 20 Nov 2003 20:05:53 +0000 (20:05 -0000)]
Add missing weak alias for bcmp
Manuel Novoa III [Thu, 20 Nov 2003 17:13:53 +0000 (17:13 -0000)]
Always include locale.h, which was included by libintl.h only when
optimizing.
Eric Andersen [Thu, 20 Nov 2003 15:28:24 +0000 (15:28 -0000)]
Don't depend on BSD naming
Eric Andersen [Thu, 20 Nov 2003 15:23:03 +0000 (15:23 -0000)]
Add an initial set of arm optimized string functions. These
do seem to make noticable speed improvement...
-Erik
Eric Andersen [Thu, 20 Nov 2003 15:05:27 +0000 (15:05 -0000)]
Lets try that one again...
Eric Andersen [Thu, 20 Nov 2003 14:42:42 +0000 (14:42 -0000)]
Make certain that arch specific stuff is compiled last
Eric Andersen [Thu, 20 Nov 2003 14:40:50 +0000 (14:40 -0000)]
Make certain that the arch specific stuff is always compiled last
Eric Andersen [Thu, 20 Nov 2003 14:35:06 +0000 (14:35 -0000)]
Fixup dependancies to ensure arch specific string functions
will always win
Manuel Novoa III [Wed, 19 Nov 2003 07:21:10 +0000 (07:21 -0000)]
Fix the return value for fputs when passed an empty string.
Indirectly detected by gmp-4.1.2 self-tests and reported by
"Peter S. Mazinger" <ps.m@gmx.net>.
Manuel Novoa III [Tue, 18 Nov 2003 19:57:06 +0000 (19:57 -0000)]
Kill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point ops
are implemented in hardware or via kernel emulation doesn't matter to
the libc code.
Manuel Novoa III [Mon, 17 Nov 2003 01:24:07 +0000 (01:24 -0000)]
If __NR_ftruncate64 isn't defined, do the best we can.
Manuel Novoa III [Sun, 16 Nov 2003 21:10:07 +0000 (21:10 -0000)]
I forgot to update the thread locking in the last dst fix.
Manuel Novoa III [Sun, 16 Nov 2003 16:26:35 +0000 (16:26 -0000)]
Patch from Jeffrey Baitis <baitisj@evolution.com> for mips arch tuning.
Manuel Novoa III [Sun, 16 Nov 2003 15:58:33 +0000 (15:58 -0000)]
Don't install shadow.h if shadow password support is disabled.
Manuel Novoa III [Sun, 16 Nov 2003 04:50:49 +0000 (04:50 -0000)]
Fix a build problem when using 2.2.x kernel headers.
Eric Andersen [Thu, 13 Nov 2003 12:45:53 +0000 (12:45 -0000)]
Prepare for release
Eric Andersen [Thu, 13 Nov 2003 12:30:10 +0000 (12:30 -0000)]
Joakim Tjernlund writes:
I think I messed up a little in my latest patch to Erik. Can you try
this on top of CVS(which I think you have already)
Jocke
And later writes:
Hi Erik
I just saw something that might be a problem.
The "delta" variable is signed and
the "delta" calculations, such as delta = PLT_LONGBRANCH_ENTRY_WORDS*4 - (insn_addr-plt_addr+4),
are supposed to be unsigned.
Jocke
Eric Andersen [Thu, 13 Nov 2003 10:19:01 +0000 (10:19 -0000)]
Update the debian packaging for use in a standalone uClibc
system, rather than being a subordinate lib under a glibc
based system.
-Erik
Eric Andersen [Thu, 13 Nov 2003 09:16:37 +0000 (09:16 -0000)]
Kill off these headers, which are supposed to be part of binutils-dev,
not part of uClibc.
Eric Andersen [Thu, 13 Nov 2003 09:04:21 +0000 (09:04 -0000)]
Teach the install_dev target to behave itself and install
the correct stuff with the correct names, and not install
yet another set of shared libs in the wrong place
-Erik
Eric Andersen [Wed, 12 Nov 2003 20:50:03 +0000 (20:50 -0000)]
Add support for missing ntp_gettime and ntp_adjtime
Eric Andersen [Wed, 12 Nov 2003 10:50:18 +0000 (10:50 -0000)]
Revert the stupid quoting junk I inadvertantly committed
Eric Andersen [Wed, 12 Nov 2003 10:19:32 +0000 (10:19 -0000)]
Bump version number
Eric Andersen [Wed, 12 Nov 2003 08:21:58 +0000 (08:21 -0000)]
Fix a stupid potential segfault
Manuel Novoa III [Tue, 11 Nov 2003 23:44:13 +0000 (23:44 -0000)]
Fix for the last "fix".
Eric Andersen [Tue, 11 Nov 2003 23:40:10 +0000 (23:40 -0000)]
It seems that the powerpc ldso doesn't like -O0
Manuel Novoa III [Tue, 11 Nov 2003 22:54:43 +0000 (22:54 -0000)]
Protect some header inclusions.
Eric Andersen [Tue, 11 Nov 2003 21:50:11 +0000 (21:50 -0000)]
Joakim Tjernlund writes:
Comparing glibc with uClibc makes me think that the delta calculations are
wrong here. Comparing some more I still think there are a
data_words[index] assignments missing. Here is a path that has both the
data_words[index] and the above delta calclations.
This also fixes a terribly obvious bug, also spotted by Joakim, which Erik
introduced when he copied things from the i386 ldso code.
With this patch applied, things now seem to be working perfectly!
Eric Andersen [Tue, 11 Nov 2003 20:52:14 +0000 (20:52 -0000)]
Stefan Allius writes:
Another little patch fix the configuration for the SH3 targets. The SH3 has
no FPU, but our ldso runs fine on a SH3 target. (I think the
ldso should also run on a SH2 target, so you might want to enable the ldso
for SH2 targets too. But I can't test it, since I have no such a system) :
Eric Andersen [Tue, 11 Nov 2003 20:49:46 +0000 (20:49 -0000)]
Stefan Allius writes:
Hello Erik,
to compile the new uClibc release for a SH3 we need some little
modifications:
First I fix the crt[in].S files, so we can use them for big endian and
little endian targets.
Eric Andersen [Tue, 11 Nov 2003 08:59:53 +0000 (08:59 -0000)]
Another cleanup patch from Joakim Tjernlund:
Hi again
Back at work. Here is a patch that fixes the 2 errors I found yesterday.
I have excluded the "data_words[index]" part for now.
Eric Andersen [Mon, 10 Nov 2003 18:42:30 +0000 (18:42 -0000)]
Strip off quotes from TARGET_ARCH
Eric Andersen [Sat, 8 Nov 2003 21:21:44 +0000 (21:21 -0000)]
Darn. Fix compilation for soft-float, which I inadvertantly
broke a couple of days ago. :-(
Eric Andersen [Sat, 8 Nov 2003 20:41:24 +0000 (20:41 -0000)]
Sigh. I can't type this morning.
Eric Andersen [Sat, 8 Nov 2003 20:33:49 +0000 (20:33 -0000)]
Joakim Tjernlund writes:
Oops, found another ppc 8xx bug.
8xx CPUs may need this as well to work:
Eric Andersen [Sat, 8 Nov 2003 08:58:07 +0000 (08:58 -0000)]
hide the wrapper in with the debian stuff