OSDN Git Service

uclinux-h8/uclibc-ng.git
20 years agoFix a long-standing bug with pthreads. A couple of linuxthreads files
Manuel Novoa III [Sat, 27 Dec 2003 23:30:50 +0000 (23:30 -0000)]
Fix a long-standing bug with pthreads.  A couple of linuxthreads files
were including libc-lock.h which had a bunch of weak pragmas.  Also,
uClibc supplied a number of no-op weak thread functions even though
many weren't needed.  This combined result was that sometimes the
functional versions of thread functions in pthread would not override
the weaks in libc.

While fixing this, I also prepended double-underscore to all necessary
weak thread funcs in uClibc, and removed all unused weaks.

I did a test build, but haven't tested this since these changes are
a backport from my working tree.  I did test the changes there and
no longer need to explicitly add -lpthread in the perl build for
perl to pass its thread self tests.

20 years agooops
Eric Andersen [Mon, 22 Dec 2003 11:22:59 +0000 (11:22 -0000)]
oops

20 years agoimplement the worthless cuserid() function we claim to support.
Eric Andersen [Mon, 22 Dec 2003 11:19:49 +0000 (11:19 -0000)]
implement the worthless cuserid() function we claim to support.
This isn't in SuSv3, but is expected by at least some apps such
as emacs...

20 years agoIn unistd.h, getpgrp() is redirected to __getpgid(), but
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.

20 years agoThat was awfully stupid.
Eric Andersen [Mon, 22 Dec 2003 09:17:19 +0000 (09:17 -0000)]
That was awfully stupid.

20 years agoUse 'sed -i -e' rather than 'sed -ie' since we don't want
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.

20 years agoUpdate the config used when building a .deb
Eric Andersen [Mon, 22 Dec 2003 08:53:21 +0000 (08:53 -0000)]
Update the config used when building a .deb

20 years agodev systems updated
Eric Andersen [Fri, 19 Dec 2003 11:45:21 +0000 (11:45 -0000)]
dev systems updated

20 years agoUse PAGE_SIZE rather than hard coding 4096
Eric Andersen [Wed, 17 Dec 2003 18:34:15 +0000 (18:34 -0000)]
Use PAGE_SIZE rather than hard coding 4096

20 years agoPatch from Paul Mundt <lethal@linux-sh.org>:
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.

20 years agoPatch from Paul Mundt <lethal@linux-sh.org>:
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.

20 years agoPatch from Paul Mundt <lethal@linux-sh.org>:
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.

20 years agoWhen I switched from using stack allocated space for printf, I missed a case
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.

20 years agoAdd in the axis network cameras
Eric Andersen [Wed, 17 Dec 2003 04:23:42 +0000 (04:23 -0000)]
Add in the axis network cameras

20 years agoAdd LEAF Bering-uClibc
Eric Andersen [Tue, 16 Dec 2003 08:00:28 +0000 (08:00 -0000)]
Add LEAF Bering-uClibc

20 years agofix grammer such it is possible to understand what is written...
Eric Andersen [Tue, 16 Dec 2003 07:11:11 +0000 (07:11 -0000)]
fix grammer such it is possible to understand what is written...

20 years agoUpdate for release (no really this time ;-)
Eric Andersen [Tue, 16 Dec 2003 06:47:28 +0000 (06:47 -0000)]
Update for release (no really this time ;-)

20 years agoUpdate the website
Eric Andersen [Tue, 16 Dec 2003 06:45:49 +0000 (06:45 -0000)]
Update the website

20 years agoLink ldconfig with the appropriate libraries.
Manuel Novoa III [Sun, 14 Dec 2003 23:52:57 +0000 (23:52 -0000)]
Link ldconfig with the appropriate libraries.

20 years agoFix some dst issues in _time_mktime().
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.

20 years agoFix a couple of 'declaration after statement' errors.
Manuel Novoa III [Sun, 14 Dec 2003 19:10:23 +0000 (19:10 -0000)]
Fix a couple of 'declaration after statement' errors.

20 years agofix a cut-n-paste typo
Eric Andersen [Thu, 11 Dec 2003 08:18:42 +0000 (08:18 -0000)]
fix a cut-n-paste typo

20 years agoadd image for validator
Eric Andersen [Thu, 11 Dec 2003 07:55:13 +0000 (07:55 -0000)]
add image for validator

20 years agofixup some silly html bugs
Eric Andersen [Thu, 11 Dec 2003 07:54:56 +0000 (07:54 -0000)]
fixup some silly html bugs

20 years agomjn3 found a url for the darwin C lib
Eric Andersen [Thu, 11 Dec 2003 07:42:05 +0000 (07:42 -0000)]
mjn3 found a url for the darwin C lib

20 years agomore minor cleanups
Eric Andersen [Thu, 11 Dec 2003 07:41:48 +0000 (07:41 -0000)]
more minor cleanups

20 years agoRework the website
Eric Andersen [Thu, 11 Dec 2003 07:16:11 +0000 (07:16 -0000)]
Rework the website

20 years agoPrepare for uClibc 0.9.24 release
Eric Andersen [Mon, 8 Dec 2003 21:18:40 +0000 (21:18 -0000)]
Prepare for uClibc 0.9.24 release

20 years agoPaul Mundt <lethal@linux-sh.org> writes:
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.

20 years agomove _dl_fixup so staticly linked apps using dlopen have a
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

20 years agoFix infinite loop in putgrent (forgotten increment).
Manuel Novoa III [Thu, 4 Dec 2003 22:57:32 +0000 (22:57 -0000)]
Fix infinite loop in putgrent (forgotten increment).

20 years agoFix arm profiling support, which was accidentally removed
Eric Andersen [Thu, 4 Dec 2003 22:07:51 +0000 (22:07 -0000)]
Fix arm profiling support, which was accidentally removed

20 years agoSet the default stdio buffer size to 4096, rather then 256.
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.

20 years agoDon't download the local data if we have it already.
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.

20 years agoBuilding of iconv.o was accidently always disabled.
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.

20 years agoHenrik Grindal Bakken writes:
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.

20 years agoJoakim Tjernlund writes:
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:

20 years agoLethal noticed that the generated file gmon-start.S was not
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.

20 years agoPatch from lethal, adding syscall() to the sh64 port
Eric Andersen [Wed, 3 Dec 2003 23:07:50 +0000 (23:07 -0000)]
Patch from lethal, adding syscall() to the sh64 port

20 years agoPaul Mundt <lethal@linux-sh.org> writes:
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.

20 years agoEliminate some static buffers based on a patch from Tobias Anderberg
Eric Andersen [Wed, 3 Dec 2003 21:35:01 +0000 (21:35 -0000)]
Eliminate some static buffers based on a patch from Tobias Anderberg

20 years agoremove some garbage
Eric Andersen [Wed, 3 Dec 2003 20:36:49 +0000 (20:36 -0000)]
remove some garbage

20 years agoRob McMullen writes:
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.

20 years agoforce enable FORCE_SHAREABLE_TEXT_SEGMENTS for sh4
Eric Andersen [Wed, 3 Dec 2003 02:35:36 +0000 (02:35 -0000)]
force enable FORCE_SHAREABLE_TEXT_SEGMENTS for sh4

20 years agoDisable pthreads for sh64 for the time being (since it is not
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)

20 years agoInclude Rules.mk for consistency. Trying not to was simply too painful.
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.

20 years agoAdd a syscall() implementation using a hacked version of the syscall6 macro.
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.

20 years agoAdd function versions of ntohl and friends
Eric Andersen [Tue, 2 Dec 2003 17:59:06 +0000 (17:59 -0000)]
Add function versions of ntohl and friends

20 years agoAvoid a potentially undefined operation with a veriable++ in a macro
Eric Andersen [Tue, 2 Dec 2003 17:58:24 +0000 (17:58 -0000)]
Avoid a potentially undefined operation with a veriable++ in a macro

20 years agoPut in a dummy reference to main so busybox will link.
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.

20 years agoMinor typo fix.
Manuel Novoa III [Sat, 29 Nov 2003 21:23:42 +0000 (21:23 -0000)]
Minor typo fix.

20 years agoMinor update... Config no longer used.
Manuel Novoa III [Sat, 29 Nov 2003 20:48:18 +0000 (20:48 -0000)]
Minor update... Config no longer used.

20 years agoPatch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector.
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.

20 years agoAnother missing mips function, needed by the 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.

20 years agoAdd sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.
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>.

20 years agoAdd -msoft-float to CPU_CFLAGS instead of CFLAGS, since ldso and libdl
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.

20 years agoDon't bother checking, since we want an error if -msoft-float doesn't work.
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.

20 years agoOk.. this fixes the buildroot soft-float arm build.
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.

20 years agoMake sure we use the right CC setting when building utils.
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.

20 years agoHopefully this is correct for cris.
Manuel Novoa III [Sun, 23 Nov 2003 18:46:00 +0000 (18:46 -0000)]
Hopefully this is correct for cris.

20 years agoProtect against quoting changes.
Manuel Novoa III [Sun, 23 Nov 2003 18:45:12 +0000 (18:45 -0000)]
Protect against quoting changes.

20 years agoRemove SAFECFLAGS. It was a workaround for failures in old awk script
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.

20 years agoOnly enable debugging when SUPPORT_LD_DEBUG is enabled, not DEBUGGING
Eric Andersen [Sat, 22 Nov 2003 18:32:59 +0000 (18:32 -0000)]
Only enable debugging when SUPPORT_LD_DEBUG is enabled, not DEBUGGING

20 years agoOops. Only enable debug when debugging...
Eric Andersen [Sat, 22 Nov 2003 18:11:47 +0000 (18:11 -0000)]
Oops.  Only enable debug when debugging...

20 years agoFix arm detection for libfloat.
Manuel Novoa III [Sat, 22 Nov 2003 06:51:17 +0000 (06:51 -0000)]
Fix arm detection for libfloat.

20 years agoMake sure the utils build gets the setting for CROSS.
Manuel Novoa III [Sat, 22 Nov 2003 04:42:22 +0000 (04:42 -0000)]
Make sure the utils build gets the setting for CROSS.

20 years agoprevent some needless warnings when building w/2.6.x kernel headers
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

20 years agoAdd missing weak alias for bcmp
Eric Andersen [Thu, 20 Nov 2003 20:05:53 +0000 (20:05 -0000)]
Add missing weak alias for bcmp

20 years agoAlways include locale.h, which was included by libintl.h only when
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.

20 years agoDon't depend on BSD naming
Eric Andersen [Thu, 20 Nov 2003 15:28:24 +0000 (15:28 -0000)]
Don't depend on BSD naming

20 years agoAdd an initial set of arm optimized string functions. These
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

20 years agoLets try that one again...
Eric Andersen [Thu, 20 Nov 2003 15:05:27 +0000 (15:05 -0000)]
Lets try that one again...

20 years agoMake certain that arch specific stuff is compiled last
Eric Andersen [Thu, 20 Nov 2003 14:42:42 +0000 (14:42 -0000)]
Make certain that arch specific stuff is compiled last

20 years agoMake certain that the arch specific stuff is always 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

20 years agoFixup dependancies to ensure arch specific string functions
Eric Andersen [Thu, 20 Nov 2003 14:35:06 +0000 (14:35 -0000)]
Fixup dependancies to ensure arch specific string functions
will always win

20 years agoFix the return value for fputs when passed an empty string.
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>.

20 years agoKill ARCH_HAS_NO_MMU and use HAS_FPU only. Wether floating point ops
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.

20 years agoIf __NR_ftruncate64 isn't defined, do the best we can.
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.

20 years agoI forgot to update the thread locking in the last dst fix.
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.

20 years agoPatch from Jeffrey Baitis <baitisj@evolution.com> for mips arch tuning.
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.

20 years agoDon't install shadow.h if shadow password support is disabled.
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.

20 years agoFix a build problem when using 2.2.x kernel headers.
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.

20 years agoPrepare for release
Eric Andersen [Thu, 13 Nov 2003 12:45:53 +0000 (12:45 -0000)]
Prepare for release

20 years agoJoakim Tjernlund writes:
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

20 years agoUpdate the debian packaging for use in a standalone uClibc
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

20 years agoKill off these headers, which are supposed to be part of binutils-dev,
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.

20 years agoTeach the install_dev target to behave itself and install
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

20 years agoAdd support for missing ntp_gettime and ntp_adjtime
Eric Andersen [Wed, 12 Nov 2003 20:50:03 +0000 (20:50 -0000)]
Add support for missing ntp_gettime and ntp_adjtime

20 years agoRevert the stupid quoting junk I inadvertantly committed
Eric Andersen [Wed, 12 Nov 2003 10:50:18 +0000 (10:50 -0000)]
Revert the stupid quoting junk I inadvertantly committed

20 years agoBump version number
Eric Andersen [Wed, 12 Nov 2003 10:19:32 +0000 (10:19 -0000)]
Bump version number

20 years agoFix a stupid potential segfault
Eric Andersen [Wed, 12 Nov 2003 08:21:58 +0000 (08:21 -0000)]
Fix a stupid potential segfault

20 years agoFix for the last "fix".
Manuel Novoa III [Tue, 11 Nov 2003 23:44:13 +0000 (23:44 -0000)]
Fix for the last "fix".

20 years agoIt seems that the powerpc ldso doesn't like -O0
Eric Andersen [Tue, 11 Nov 2003 23:40:10 +0000 (23:40 -0000)]
It seems that the powerpc ldso doesn't like -O0

20 years agoProtect some header inclusions.
Manuel Novoa III [Tue, 11 Nov 2003 22:54:43 +0000 (22:54 -0000)]
Protect some header inclusions.

20 years agoJoakim Tjernlund writes:
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!

20 years agoStefan Allius writes:
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) :

20 years agoStefan Allius writes:
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.

20 years agoAnother cleanup patch from Joakim Tjernlund:
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.

20 years agoStrip off quotes from TARGET_ARCH
Eric Andersen [Mon, 10 Nov 2003 18:42:30 +0000 (18:42 -0000)]
Strip off quotes from TARGET_ARCH

20 years agoDarn. Fix compilation for soft-float, which I inadvertantly
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.  :-(