OSDN Git Service

uclinux-h8/uClibc.git
20 years agoWe need to link with libgcc.a when creating shared libs, in order to
Manuel Novoa III [Fri, 16 Jan 2004 18:52:54 +0000 (18:52 -0000)]
We need to link with libgcc.a when creating shared libs, in order to
avoid problems 'hidden symbol' problems.   Also handle -lfloat for the
soft-float arm case.

20 years agos/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g
Eric Andersen [Fri, 16 Jan 2004 13:43:30 +0000 (13:43 -0000)]
s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g

20 years agoFixup selection of endianness, since select does not work on choice
Eric Andersen [Fri, 16 Jan 2004 13:38:10 +0000 (13:38 -0000)]
Fixup selection of endianness, since select does not work on choice
items, we have to declare what endianness cpus are capable of supporting
and work using dependancies.

20 years agoMinor updates from linux 2.6.1
Eric Andersen [Fri, 16 Jan 2004 12:49:06 +0000 (12:49 -0000)]
Minor updates from linux 2.6.1

20 years agoLink with libfloat if necessary.
Manuel Novoa III [Fri, 16 Jan 2004 00:46:39 +0000 (00:46 -0000)]
Link with libfloat if necessary.

20 years agoMake sure we remove -fomit-frame-pointer from the ldso build. It's
David McCullough [Fri, 16 Jan 2004 00:44:34 +0000 (00:44 -0000)]
Make sure we remove -fomit-frame-pointer from the ldso build. It's
inclusion will cause the loader to crash when jumping to the application.

The reason is due to the START macro having a "leave" instruction included
to fixup the stack before starting the app.

20 years agoInclude missing errno.h header (as noted by Alan Hourihane).
Eric Andersen [Wed, 14 Jan 2004 22:37:55 +0000 (22:37 -0000)]
Include missing errno.h header (as noted by Alan Hourihane).
Fix uninitialized pthread mutex used to lock the list of aligned
memory blocks.

20 years agoUse the gcc 3.4 -funit-at-a-time optimization when available
Eric Andersen [Wed, 14 Jan 2004 10:31:58 +0000 (10:31 -0000)]
Use the gcc 3.4 -funit-at-a-time optimization when available

20 years agoOk.. we need to link with libgcc.a for some archs. I haven't looked at
Manuel Novoa III [Wed, 14 Jan 2004 09:14:47 +0000 (09:14 -0000)]
Ok.. we need to link with libgcc.a for some archs.  I haven't looked at
all cases, but the archs I've looked at do build the needed routines as
PIC so we should be ok.

20 years agoAdd a dummy (always fails) wcsftime. This is needed for the libstdc++ locale
Manuel Novoa III [Wed, 14 Jan 2004 06:30:59 +0000 (06:30 -0000)]
Add a dummy (always fails) wcsftime.  This is needed for the libstdc++ locale
implementation to build.  Later this month I'll add a functional wcsftime.

20 years agoAdd another devfs subdir to the list of checked subdirs.
Manuel Novoa III [Tue, 13 Jan 2004 10:26:56 +0000 (10:26 -0000)]
Add another devfs subdir to the list of checked subdirs.

20 years agoFixup dated comments
Eric Andersen [Tue, 13 Jan 2004 05:58:00 +0000 (05:58 -0000)]
Fixup dated comments

20 years agoOops... Seems I forgot an else...
Manuel Novoa III [Mon, 12 Jan 2004 11:07:02 +0000 (11:07 -0000)]
Oops... Seems I forgot an else...

20 years agoAs mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFS
Eric Andersen [Fri, 9 Jan 2004 09:13:37 +0000 (09:13 -0000)]
As mjn3 noticed, 64 bit arches should select UCLIBC_HAS_LFS

20 years agoSome badly behaved arches fail to provide a PAGE_SIZE define
Eric Andersen [Tue, 6 Jan 2004 01:05:12 +0000 (01:05 -0000)]
Some badly behaved arches fail to provide a PAGE_SIZE define

20 years agoImplement res_search and res_querydomain based on netbsd code,
Eric Andersen [Sun, 4 Jan 2004 09:35:20 +0000 (09:35 -0000)]
Implement res_search and res_querydomain based on netbsd code,
but remove support for host aliases (the HOSTALIASES env variable)
which looks like a very bad idea.
 -Erik

20 years agoBump .deb version
Eric Andersen [Sun, 4 Jan 2004 09:32:14 +0000 (09:32 -0000)]
Bump .deb version

20 years agoFix paragraph seperation
Eric Andersen [Sun, 4 Jan 2004 05:49:55 +0000 (05:49 -0000)]
Fix paragraph seperation

20 years agospell 'pthread' properly
Eric Andersen [Sun, 4 Jan 2004 05:46:15 +0000 (05:46 -0000)]
spell 'pthread' properly

20 years agoFix grammar
Eric Andersen [Sun, 4 Jan 2004 05:34:35 +0000 (05:34 -0000)]
Fix grammar

20 years agoUpdate for release
Eric Andersen [Sun, 4 Jan 2004 05:32:21 +0000 (05:32 -0000)]
Update for release

20 years agoMy mistake. We do need some weak pthread_* funcs. But we were previously
Manuel Novoa III [Sun, 4 Jan 2004 01:29:01 +0000 (01:29 -0000)]
My mistake.  We do need some weak pthread_* funcs.  But we were previously
missing one in the glibc abi, and including a number of extras (which I
left in commented).
Unfortunately, this brings back the perl pthread bug.  Fixing the incorrect
weaks in libpthread wasn't sufficient to escape the shared loader bug.  :-(

20 years agoFix up the news a bit
Eric Andersen [Sat, 3 Jan 2004 11:17:11 +0000 (11:17 -0000)]
Fix up the news a bit

20 years agoUpdate for release
Eric Andersen [Sat, 3 Jan 2004 11:06:48 +0000 (11:06 -0000)]
Update for release

20 years agoBe sure to fully clean 2.6 kernel headers on 'make clean'
Eric Andersen [Sat, 3 Jan 2004 10:18:08 +0000 (10:18 -0000)]
Be sure to fully clean 2.6 kernel headers on 'make clean'

20 years agoAdd ldflags where needed
Eric Andersen [Sat, 3 Jan 2004 10:10:37 +0000 (10:10 -0000)]
Add ldflags where needed

20 years agoAnd just like that, clone is now fixed.... Previously the
Eric Andersen [Sat, 3 Jan 2004 08:49:04 +0000 (08:49 -0000)]
And just like that, clone is now fixed....  Previously the
error handling code was mostly broken.
 -Erik

20 years agooops
Eric Andersen [Sat, 3 Jan 2004 05:54:49 +0000 (05:54 -0000)]
oops

20 years agoMinor changes
Eric Andersen [Sat, 3 Jan 2004 05:52:34 +0000 (05:52 -0000)]
Minor changes

20 years agoA useful/useless little malloc time test
Eric Andersen [Fri, 2 Jan 2004 23:35:10 +0000 (23:35 -0000)]
A useful/useless little malloc time test

20 years agoPeter S. Mazinger writes:
Eric Andersen [Fri, 2 Jan 2004 23:34:13 +0000 (23:34 -0000)]
Peter S. Mazinger writes:

Hello Erik!

I have made some cosmetical changes to the files, removed the added
SCRT=-fPIC option from building the crt0.S file (but it is a requirement
to build them with -fPIC), and changed some comments. I have left the
ldso.c patch with PIE_SUPPORT ifdefs, but consider applying it w/o them
(see some earlier comment from PaX Team on this issue, as it is considered
a bug). To have it work correctly, you'll also need removing
COMPLETELY_PIC.
One thing is missing: PIE_SUPPORT should be usable only for i386 (for
now).

Also added the support for propolice protection (that works for me and
catches memcpy/strcpy attacks (but needs a special gcc version).

Thanks, Peter

20 years agoMinor update of the debian packaging stuff
Eric Andersen [Fri, 2 Jan 2004 23:24:17 +0000 (23:24 -0000)]
Minor update of the debian packaging stuff

20 years agoRemove remnants of the gcc wrapper
Eric Andersen [Fri, 2 Jan 2004 23:10:37 +0000 (23:10 -0000)]
Remove remnants of the gcc wrapper

20 years agoDo not make tests depend on CC, since we no longer build a wrapper.
Eric Andersen [Fri, 2 Jan 2004 23:07:57 +0000 (23:07 -0000)]
Do not make tests depend on CC, since we no longer build a wrapper.

20 years agoBump version, cleanup whitespace
Eric Andersen [Fri, 2 Jan 2004 12:02:24 +0000 (12:02 -0000)]
Bump version, cleanup whitespace

20 years agoCope with 2.6.x headers
Eric Andersen [Fri, 2 Jan 2004 11:59:28 +0000 (11:59 -0000)]
Cope with 2.6.x headers

20 years agorohde at soap dot adsl dot dk writes:
Eric Andersen [Fri, 2 Jan 2004 11:12:16 +0000 (11:12 -0000)]
rohde at soap dot adsl dot dk writes:

The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect.
The following should fix it.

Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S
Hope there aren't other files I've missed :)

20 years agorohde at soap dot adsl dot dk writes:
Eric Andersen [Fri, 2 Jan 2004 10:52:38 +0000 (10:52 -0000)]
rohde at soap dot adsl dot dk writes:

The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect.
The following should fix it.

20 years agoFix __freadable and __fwritable... were using '~' instead of '!'. (ugh)
Manuel Novoa III [Fri, 2 Jan 2004 09:21:33 +0000 (09:21 -0000)]
Fix __freadable and __fwritable... were using '~' instead of '!'. (ugh)
Fix (hopefully) a potential problem with failed freopen() calls.  The
  fix isn't tested since I've been working on the replacement stdio
  core code which will go in after the next release.

20 years agoOops... temporarily support the old stdio code.
Manuel Novoa III [Fri, 2 Jan 2004 09:20:33 +0000 (09:20 -0000)]
Oops... temporarily support the old stdio code.

20 years agoThe checking Erik added seems to be unnecessary. Without it, I am not
Manuel Novoa III [Fri, 2 Jan 2004 08:47:22 +0000 (08:47 -0000)]
The checking Erik added seems to be unnecessary.  Without it, I am not
seeing any LTP failures.

20 years agoRedo the exec functions to comply with SUSv3.
Manuel Novoa III [Fri, 2 Jan 2004 08:44:58 +0000 (08:44 -0000)]
Redo the exec functions to comply with SUSv3.

20 years agoRewrite popen for SUSv3 compliance.
Manuel Novoa III [Fri, 2 Jan 2004 07:11:35 +0000 (07:11 -0000)]
Rewrite popen for SUSv3 compliance.
  Added a list of popen()'d to store pids and use waitpid() in pclose().
  Loop on waitpid() failure due to EINTR as required.
  Close parent's popen()'d FILEs in the {v}fork()'d child.
  Fix failure exit code for failed execve().

20 years agoMinor fix from upstream glibc.
Manuel Novoa III [Fri, 2 Jan 2004 07:01:13 +0000 (07:01 -0000)]
Minor fix from upstream glibc.

20 years agoKept the same approach, but rewrote the code for the most part.
Manuel Novoa III [Fri, 2 Jan 2004 07:00:29 +0000 (07:00 -0000)]
Kept the same approach, but rewrote the code for the most part.
Fixed some minor issues plus (as I recall) one SUSv3 errno case.

20 years agoFir errno return when the file/path is NULL or points to an empty string.
Eric Andersen [Wed, 31 Dec 2003 12:13:27 +0000 (12:13 -0000)]
Fir errno return when the file/path is NULL or points to an empty string.
 -Erik

20 years agoAdd extra checks for sigprocmask and rt_sigprocmask syscalls.
Eric Andersen [Wed, 31 Dec 2003 11:50:08 +0000 (11:50 -0000)]
Add extra checks for sigprocmask and rt_sigprocmask syscalls.
The rt_sigprocmask syscall has broken error handling in 2.4.x
kernels, while the sigprocmask syscall appears to get things
right.  Regardless we should be extra careful, and add these
checks.

20 years agoFix the manditory typo in my last minute untested fix.
Eric Andersen [Tue, 30 Dec 2003 10:57:16 +0000 (10:57 -0000)]
Fix the manditory typo in my last minute untested fix.
 -Erik

20 years agoMake sleep behave itself properly inthe presence of SIGCHLD
Eric Andersen [Tue, 30 Dec 2003 10:45:45 +0000 (10:45 -0000)]
Make sleep behave itself properly inthe presence of SIGCHLD

20 years agoRework malloc. The new default implementation is based on dlmalloc from Doug
Eric Andersen [Tue, 30 Dec 2003 10:40:49 +0000 (10:40 -0000)]
Rework malloc.  The new default implementation is based on dlmalloc from Doug
Lea.  It is about 2x faster than the old malloc-930716, and behave itself much
better -- it will properly release memory back to the system, and it uses a
combination of brk() for small allocations and mmap() for larger allocations.
 -Erik

20 years agoUpdate and restore malloc-simple. Slow as molasses, but trivially
Eric Andersen [Tue, 30 Dec 2003 01:41:14 +0000 (01:41 -0000)]
Update and restore malloc-simple.  Slow as molasses, but trivially
simple and releases memory immediately when asked to do so.
 -Erik

20 years agoFix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6
Eric Andersen [Sun, 28 Dec 2003 08:25:16 +0000 (08:25 -0000)]
Fix a really dumb bug introduced in version 1.4 of this file (a patch for ipv6
support) which could cause things like EOF and read errors while reading
/etc/services to always return a TRY_AGAIN.  The perl test suite would alloc a
larger buffer and try again until all memory was exhausted.  When we get a read
error, or EOF, it means we didn't get what we wanted, and so we should return
an error.  Doing so fixes the failing perl 5.8.2 test.
 -Erik

20 years agoFix whitespace
Eric Andersen [Sun, 28 Dec 2003 07:41:24 +0000 (07:41 -0000)]
Fix whitespace

20 years agoremove unused file
Eric Andersen [Sun, 28 Dec 2003 00:25:31 +0000 (00:25 -0000)]
remove unused file

20 years agoHandle the app_fini stuff in exit without requiring atexit().
Manuel Novoa III [Sat, 27 Dec 2003 23:36:23 +0000 (23:36 -0000)]
Handle the app_fini stuff in exit without requiring atexit().
This avoids pulling in all the malloc/free code for a simple true/false app.

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)