OSDN Git Service

uclinux-h8/uClibc.git
19 years agoThere were two versions of 'pthreadtypes.h' originally in uClibc. Also,
"Steven J. Hill" [Sat, 14 May 2005 23:42:47 +0000 (23:42 -0000)]
There were two versions of 'pthreadtypes.h' originally in uClibc. Also,
since we are going to support the two implementations of pthreads, we
again need to instead create symbolic links to use the proper version
of the file depending on the pthreads option chosen.

19 years agoSync uClibc 'sigthread.h' with the latest version from glibc.
"Steven J. Hill" [Sat, 14 May 2005 23:40:49 +0000 (23:40 -0000)]
Sync uClibc 'sigthread.h' with the latest version from glibc.

19 years agoAdd TOPDIR prefix in front of config file when getting target architecture.
"Steven J. Hill" [Sat, 14 May 2005 23:40:19 +0000 (23:40 -0000)]
Add TOPDIR prefix in front of config file when getting target architecture.

19 years agoIn order to accomodate usage of either pthreads implementation, we now
"Steven J. Hill" [Sat, 14 May 2005 22:32:43 +0000 (22:32 -0000)]
In order to accomodate usage of either pthreads implementation, we now
have to create symbolic links for 'semaphore.h' and 'pthread.h' which
will point to the proper pthreads directory. When we finish getting
NPTL working with uClibc, perhaps we can merge them, but a first glance
at the differences between the two does not make that very likely.

19 years agoAdd missing file to the clean list.
"Steven J. Hill" [Sat, 14 May 2005 22:02:58 +0000 (22:02 -0000)]
Add missing file to the clean list.

19 years agoTop-level makefile fix for OS agnosticism and set the value of TARGET_ARCH
"Steven J. Hill" [Sat, 14 May 2005 22:02:36 +0000 (22:02 -0000)]
Top-level makefile fix for OS agnosticism and set the value of TARGET_ARCH
using grep because the '.config' will not get included if we are doing
a 'clean' or other targets. This was preventing the proper cleaning up
target architecture include files.

19 years agoARM1136JF-S support.
Paul Mundt [Fri, 13 May 2005 14:27:30 +0000 (14:27 -0000)]
ARM1136JF-S support.

19 years agoAdded new 'bits/atomic.h' for most of the architectures and the top-level 'include...
"Steven J. Hill" [Thu, 12 May 2005 03:27:36 +0000 (03:27 -0000)]
Added new 'bits/atomic.h' for most of the architectures and the top-level 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.

19 years agoAdded new common include file for list primitives used by NPTL.
"Steven J. Hill" [Thu, 12 May 2005 03:05:57 +0000 (03:05 -0000)]
Added new common include file for list primitives used by NPTL.

19 years agoRemove usage of 'hp-timing.h' header file which is for platforms with high
"Steven J. Hill" [Thu, 12 May 2005 02:59:49 +0000 (02:59 -0000)]
Remove usage of 'hp-timing.h' header file which is for platforms with high
performance timers. If you want them included in the NPTL build, copy the
header from glibc into the 'libc/sysdeps/linux/<ARCH>' of your choice and
have fun.

19 years agoPut the change log back in.
"Steven J. Hill" [Thu, 12 May 2005 00:11:57 +0000 (00:11 -0000)]
Put the change log back in.

19 years agoMore glibc backward compatibility cruft. Oh the horror!
"Steven J. Hill" [Wed, 11 May 2005 23:53:20 +0000 (23:53 -0000)]
More glibc backward compatibility cruft. Oh the horror!

19 years agoBackwards compatability? Bhuwhahaha....you wonder why glibc is so
"Steven J. Hill" [Wed, 11 May 2005 23:44:35 +0000 (23:44 -0000)]
Backwards compatability? Bhuwhahaha....you wonder why glibc is so
bloated. *oink* *oink*

19 years agoCleanup original linuxthreads and update top-level threads makefiles.
"Steven J. Hill" [Wed, 11 May 2005 23:41:36 +0000 (23:41 -0000)]
Cleanup original linuxthreads and update top-level threads makefiles.

19 years agoThis file is no longer used. kill it.
Eric Andersen [Wed, 11 May 2005 22:41:40 +0000 (22:41 -0000)]
This file is no longer used.  kill it.

19 years agoWe already have these defined.
"Steven J. Hill" [Wed, 11 May 2005 02:04:31 +0000 (02:04 -0000)]
We already have these defined.

19 years agoRemove extraneous file.
"Steven J. Hill" [Wed, 11 May 2005 02:02:28 +0000 (02:02 -0000)]
Remove extraneous file.

19 years agoRemove additional test programs.
"Steven J. Hill" [Wed, 11 May 2005 02:00:50 +0000 (02:00 -0000)]
Remove additional test programs.

19 years agoSHMLBA is now defined by arch dependent bits/shm.h file so remove
Joakim Tjernlund [Tue, 10 May 2005 10:31:18 +0000 (10:31 -0000)]
SHMLBA is now defined by arch dependent bits/shm.h file so remove
this one. MIPS is the only one defining SHMLBA differently.

19 years agoThe default static buffer sizes are too small to handle the 8 entries returned
Eric Andersen [Tue, 10 May 2005 08:22:56 +0000 (08:22 -0000)]
The default static buffer sizes are too small to handle the 8 entries returned
by 'nslookup www.yahoo.com' and 'nslookup mail.hotmail.com', and thus we
currently return ERANGE when trying to lookup some of the most popular hosts on
the planet.  Whether these sites deserve to be popular is a question I'll leave
for someone else to worry about.

This change makes certain we have enough static buffer space to handle about 21
IPv4 IP address replies per DNS query.  Far more than enough to handle common
cases such as www.yahoo.com and mail.hotmail.com.

19 years agoChange strptime so that it only modifies struct tm fields specified.
Manuel Novoa III [Tue, 10 May 2005 03:02:11 +0000 (03:02 -0000)]
Change strptime so that it only modifies struct tm fields specified.

19 years agoHopefully fix the problem reported by Peter Mazinger,
Joakim Tjernlund [Sat, 7 May 2005 22:20:37 +0000 (22:20 -0000)]
Hopefully fix the problem reported by Peter Mazinger,
see http://uclibc.org/lists/uclibc/2005-May/011667.html for details.
Not tested by me but I am sure Peter will :)

The toolchain needs to be rebuilt.

19 years agoFix trapa value for _syscall6() to conform with new sh syscall ABI.
Paul Mundt [Sat, 7 May 2005 20:10:07 +0000 (20:10 -0000)]
Fix trapa value for _syscall6() to conform with new sh syscall ABI.

The old sh system call interface used 0x00 - 0x0f for the trapa value
(number of arguments), whereas the new ABI uses the 0x10 - 0x1f range.
For some reason we were using an off-by-1 trapa immediate which ended up
trashing r1 in the _syscall6() case, so we fix it up..

19 years agoIt turns out that the problem that required us to use --enable-sjlj-exceptions
Eric Andersen [Sat, 7 May 2005 18:27:13 +0000 (18:27 -0000)]
It turns out that the problem that required us to use --enable-sjlj-exceptions
was specific to gcc 3.3.3.  Later toolchains fixed the regressions; thus, we do
not need to worry about this TODO item anymore.

19 years agoImport in NPTL code from glibc. For further information please
"Steven J. Hill" [Sat, 7 May 2005 02:04:55 +0000 (02:04 -0000)]
Import in NPTL code from glibc. For further information please
consult the 'README.NPTL' file.

19 years agoHaha. I caught it before you did.
"Steven J. Hill" [Sat, 7 May 2005 00:35:50 +0000 (00:35 -0000)]
Haha. I caught it before you did.

19 years agoAdd in configuration item and Makefile changes for NPTL. We will be
"Steven J. Hill" [Sat, 7 May 2005 00:31:49 +0000 (00:31 -0000)]
Add in configuration item and Makefile changes for NPTL. We will be
placing the NPTL code under the top-level 'libpthread' directory.
Nothing compiles or even works at this point, so do not enable this
option.

19 years agoFix platform URLs, though I'm sure rmk has enjoyed the extra traffic..
Paul Mundt [Tue, 3 May 2005 14:20:47 +0000 (14:20 -0000)]
Fix platform URLs, though I'm sure rmk has enjoyed the extra traffic..

19 years agoReplace IXDR_GET_LONG/IXDR_PUT_LONG so that they build with newer gcc. Note the...
Manuel Novoa III [Mon, 2 May 2005 13:49:28 +0000 (13:49 -0000)]
Replace IXDR_GET_LONG/IXDR_PUT_LONG so that they build with newer gcc.  Note the comment in the code.

19 years agoFix __sigprocmask weak symbol resolution with gcc4.
Paul Mundt [Mon, 2 May 2005 13:48:27 +0000 (13:48 -0000)]
Fix __sigprocmask weak symbol resolution with gcc4.

This popped up during a build with gcc4:

/home/pmundt/devel/svn/buildroot/build_sh2a_nofpueb/staging_dir/bin/sh2a_nofpueb-linux-uclibc-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fstrict-aliasing -mprefergot -Os -funit-at-a-time    -mb -m2a-nofpu -fno-builtin -nostdinc -D_LIBC -I../../../../include -I. -isystem /home/pmundt/devel/svn/buildroot/build_sh2a_nofpueb/staging_dir/lib/gcc/sh2a_nofpueb-linux-uclibc/4.0.0/include -DNDEBUG -I../ -c longjmp.c -o longjmp.o
/tmp/ccWyQbux.s: Assembler messages:
/tmp/ccWyQbux.s:45: Error: Local symbol `__sigprocmask' can't be equated to undefined symbol `sigprocmask'
make[5]: *** [longjmp.o] Error 1
make[5]: Leaving directory `/home/pmundt/devel/svn/buildroot/toolchain_build_sh2a_nofpueb/uClibc/libc/sysdeps/linux/sh'

Stupid gcc.

19 years agoSH-4 has nommu variants, whereas SH-3 does not.
Paul Mundt [Mon, 2 May 2005 13:32:15 +0000 (13:32 -0000)]
SH-4 has nommu variants, whereas SH-3 does not.

19 years agoMove sh64 to its own config so we don't crap up the sh one..
Paul Mundt [Mon, 2 May 2005 13:30:14 +0000 (13:30 -0000)]
Move sh64 to its own config so we don't crap up the sh one..

19 years agoAdd sh2a support.
Paul Mundt [Mon, 2 May 2005 13:21:50 +0000 (13:21 -0000)]
Add sh2a support.

19 years agoOn mips, gdb explicitly looks for the symbol "__dl_runtime_resolve" so change
Eric Andersen [Sun, 1 May 2005 07:13:09 +0000 (07:13 -0000)]
On mips, gdb explicitly looks for the symbol "__dl_runtime_resolve" so change
the name of our mips resolver function to match gdb's expectations.

19 years agoFix it so uClibc returns multiple ips via h_addr_list,
Eric Andersen [Thu, 28 Apr 2005 20:29:58 +0000 (20:29 -0000)]
Fix it so uClibc returns multiple ips via h_addr_list,
This fix, based on this patch
http://bugs.uclibc.org/view.php?id=104
makes it so uClibc fills out round robin dns lists for
applications such as nslookup:

Before:

$ nslookup google.com
Server:     mace.codepoet.org
Address:    10.10.10.1

Name:       google.com
Address:    216.239.39.99

After:
$ nslookup google.com
Server:     mace.codepoet.org
Address:    10.10.10.1

Name:       google.com
Addresses:  216.239.57.99, 216.239.37.99, 216.239.39.99

19 years agoCleanup error case a bit
Eric Andersen [Thu, 28 Apr 2005 18:57:25 +0000 (18:57 -0000)]
Cleanup error case a bit

19 years agoThis might actually now be thread safe, assuming I havn't broken it.
Eric Andersen [Thu, 28 Apr 2005 18:27:41 +0000 (18:27 -0000)]
This might actually now be thread safe, assuming I havn't broken it.

19 years agotrim trailing whitespace
Eric Andersen [Thu, 28 Apr 2005 17:54:05 +0000 (17:54 -0000)]
trim trailing whitespace

19 years agoAdded support for clock_getres() and clock_settime() in addition to
Peter Kjellerstedt [Thu, 28 Apr 2005 13:11:29 +0000 (13:11 -0000)]
Added support for clock_getres() and clock_settime() in addition to
the already existing clock_gettime(). In addition they will now use
the corresponding system calls if they exists, which resulted in a
move to libc/sysdeps/linux/common for clock_gettime.c (it was
previously located in libc/misc/time).

19 years agoUpdated to match glibc 2.3.4 (adds missing CLOCK_MONOTONIC).
Peter Kjellerstedt [Thu, 28 Apr 2005 12:48:26 +0000 (12:48 -0000)]
Updated to match glibc 2.3.4 (adds missing CLOCK_MONOTONIC).

19 years agoThe list of source files was just too much. Especially trying to keep
Peter Kjellerstedt [Thu, 28 Apr 2005 12:22:23 +0000 (12:22 -0000)]
The list of source files was just too much. Especially trying to keep
it alphabetized (which was not fully successful) made adding a new
file a mess. Replaced it with a call to the make function $(wildcard).

19 years agoGet rid of extern references to ldso variables.
"Steven J. Hill" [Wed, 27 Apr 2005 21:35:24 +0000 (21:35 -0000)]
Get rid of extern references to ldso variables.

19 years agoSimplify PERFORM_BOOTSTRAP_RELOC() default path.
Paul Mundt [Wed, 27 Apr 2005 12:46:57 +0000 (12:46 -0000)]
Simplify PERFORM_BOOTSTRAP_RELOC() default path.

This makes sh and sh64 get more in line with what the other
architectures are doing. Also fixes up some build failures.

19 years agomq_* interfaces are available in librt, remove from unimplemented list.
Paul Mundt [Wed, 27 Apr 2005 07:37:16 +0000 (07:37 -0000)]
mq_* interfaces are available in librt, remove from unimplemented list.

19 years agoGCC-4.1.0 doesn't like it when you reference 'extern' one place and then try
"Steven J. Hill" [Wed, 27 Apr 2005 02:53:04 +0000 (02:53 -0000)]
GCC-4.1.0 doesn't like it when you reference 'extern' one place and then try
and declare the variable static in another. Let's not do that.

19 years agoFix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctl
Joakim Tjernlund [Sun, 24 Apr 2005 19:29:39 +0000 (19:29 -0000)]
Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctl
syscalls. This won't work on 2.2 kernels(I think).

19 years agoFix dlopen to handle circular dependency libs. Wouldn't surprise me if something...
Joakim Tjernlund [Sat, 23 Apr 2005 16:54:05 +0000 (16:54 -0000)]
Fix dlopen to handle circular dependency libs. Wouldn't surprise me if something else
broke. I hate libdl :(

19 years agoCleanup library loading.
Joakim Tjernlund [Sat, 23 Apr 2005 05:16:30 +0000 (05:16 -0000)]
Cleanup library loading.

19 years agoCorrect typo, matching correction made to elf.h
Eric Andersen [Tue, 19 Apr 2005 17:30:29 +0000 (17:30 -0000)]
Correct typo, matching correction made to elf.h

19 years agoUpdated to match Linux 2.6.11.
Peter Kjellerstedt [Mon, 18 Apr 2005 15:59:49 +0000 (15:59 -0000)]
Updated to match Linux 2.6.11.

19 years agoCopy vendor/linux/2.6.11/scripts/lxdialog to
Peter Kjellerstedt [Mon, 18 Apr 2005 15:47:36 +0000 (15:47 -0000)]
Copy vendor/linux/2.6.11/scripts/lxdialog to
trunk/uClibc/extra/config/lxdialog.

19 years agoIn Bug 116, dicksnippe writes:
Mike Frysinger [Sat, 16 Apr 2005 03:59:42 +0000 (03:59 -0000)]
In Bug 116, dicksnippe writes:

uClibc's mkstemp/mktemp tries to read /dev/urandom (or /dev/random) to
generate random contents for the .XXXXXX part of its argument.  In a
chrooted environment /dev/[u]random might not be available.  Thus the
mkstemp call fails.

Add back in the braindamaged gettimeofday/getpid code, but only as a
fallback for when reading /dev/[u]random fail for whatever reasons.

19 years agocbachman writes Bug 195:
Mike Frysinger [Sat, 16 Apr 2005 03:02:25 +0000 (03:02 -0000)]
cbachman writes Bug 195:
Add back in the code which sets the default facility if none specified.  This
may cause issues with klogd when it tries to use the libc's syslog(), but
klogd comes with its own syslog() implementation so that's a none issue.  For
more info, please see the following:
http://sources.redhat.com/ml/libc-alpha/2000-03/msg00059.html

19 years agoimport more updates from glibc
Mike Frysinger [Sat, 16 Apr 2005 02:28:55 +0000 (02:28 -0000)]
import more updates from glibc

19 years agoimport fixes/updates from glibc-2.3
Mike Frysinger [Fri, 15 Apr 2005 22:04:36 +0000 (22:04 -0000)]
import fixes/updates from glibc-2.3

19 years agoAdd missing definition for DL_OPENED
Eric Andersen [Wed, 13 Apr 2005 11:29:04 +0000 (11:29 -0000)]
Add missing definition for DL_OPENED

19 years agoAdjust indentation
Eric Andersen [Wed, 13 Apr 2005 11:03:28 +0000 (11:03 -0000)]
Adjust indentation

19 years agoThis update gets mips working again.
Eric Andersen [Wed, 13 Apr 2005 11:01:11 +0000 (11:01 -0000)]
This update gets mips working again.

19 years agoFurther rework the mips syscalls
Eric Andersen [Wed, 13 Apr 2005 10:56:20 +0000 (10:56 -0000)]
Further rework the mips syscalls

19 years agoOn some wierd arches (i.e. mips), none of the early debug stuff
Eric Andersen [Wed, 13 Apr 2005 10:54:39 +0000 (10:54 -0000)]
On some wierd arches (i.e. mips), none of the early debug stuff
works at all, so disable the whole lot.

19 years agoFix bug 214, reported by aurel. This is a major update that
Joakim Tjernlund [Wed, 13 Apr 2005 08:49:54 +0000 (08:49 -0000)]
Fix bug 214, reported by aurel. This is a major update that
possibly break other apps. Please test. Send a LD_DEBUG=1 log if
there is a problem.

19 years agoDon't write out the terminating NULL char
Eric Andersen [Wed, 13 Apr 2005 06:02:32 +0000 (06:02 -0000)]
Don't write out the terminating NULL char

19 years agoRework the dl-startup.c ldso early debugging macros to be
Eric Andersen [Wed, 13 Apr 2005 01:44:45 +0000 (01:44 -0000)]
Rework the dl-startup.c ldso early debugging macros to be
significantly less horrible

19 years agoearly debug stuff goes to stderr, not _dl_debug_file
Eric Andersen [Tue, 12 Apr 2005 23:56:55 +0000 (23:56 -0000)]
early debug stuff goes to stderr, not _dl_debug_file

19 years agofix a thinko -- we cant use
Eric Andersen [Tue, 12 Apr 2005 23:52:29 +0000 (23:52 -0000)]
fix a thinko -- we cant use

19 years agoOnly dl-startup.c should be using the SEND_STDERR macros,
Eric Andersen [Tue, 12 Apr 2005 23:14:17 +0000 (23:14 -0000)]
Only dl-startup.c should be using the SEND_STDERR macros,
which are intended only for early debugging support.

19 years agoRemove __FORCE_SHAREABLE_TEXT_SEGMENTS__ hack from ldso itself.
Joakim Tjernlund [Tue, 12 Apr 2005 23:07:43 +0000 (23:07 -0000)]
Remove __FORCE_SHAREABLE_TEXT_SEGMENTS__ hack from ldso itself.

19 years agoReplaced modulo code with the modulo operator.
Tobias Anderberg [Thu, 7 Apr 2005 13:32:05 +0000 (13:32 -0000)]
Replaced modulo code with the modulo operator.

19 years agoremove pthread_atfork() prototype since SuSv3 doesnt *require* it and glibc-2.3.x...
Mike Frysinger [Wed, 6 Apr 2005 23:10:17 +0000 (23:10 -0000)]
remove pthread_atfork() prototype since SuSv3 doesnt *require* it and glibc-2.3.x has since punted it too from unistd.h

19 years agoPrepare PowerPC some more for standalone exection of ldso.
Joakim Tjernlund [Sun, 3 Apr 2005 19:16:55 +0000 (19:16 -0000)]
Prepare PowerPC some more for standalone exection of ldso.
Note that every arch that wants to support standalone execution needs
to align its stack pointer in crtX since ldso will adjust the stack pointer
when adjusting argc and argv in standalone mode.

19 years agominor cosmetic cleanup
Eric Andersen [Fri, 1 Apr 2005 20:17:12 +0000 (20:17 -0000)]
minor cosmetic cleanup

19 years agoCleanup the mips syscalls a bit more, and fix a few
Eric Andersen [Fri, 1 Apr 2005 19:47:07 +0000 (19:47 -0000)]
Cleanup the mips syscalls a bit more, and fix a few
annoying warnings.

19 years agoOptimize _dl_elf_hash(), both smaller and faster. Mostly
Joakim Tjernlund [Fri, 1 Apr 2005 17:11:55 +0000 (17:11 -0000)]
Optimize _dl_elf_hash(), both smaller and faster. Mostly
taken from glibc.

19 years agosh64 ldso updates and fixes.
Paul Mundt [Thu, 31 Mar 2005 19:30:38 +0000 (19:30 -0000)]
sh64 ldso updates and fixes.

Update the sh64 ldso backend to work with Jocke's ldso changes.
We also handle a few more relative relocations, and fix a few spots where
the LSB was being set incorrectly for SHmedia branches.

19 years agoAdd some more SH relocation types.
Paul Mundt [Thu, 31 Mar 2005 19:18:54 +0000 (19:18 -0000)]
Add some more SH relocation types.

19 years agopoint to osuosl
Eric Andersen [Thu, 31 Mar 2005 18:14:44 +0000 (18:14 -0000)]
point to osuosl

19 years agoMoved the addition of load address from the fast path
Joakim Tjernlund [Tue, 29 Mar 2005 13:47:21 +0000 (13:47 -0000)]
Moved the addition of load address from the fast path
where possible. This will also make ldso smaller.
However the patch touches all archs and I have only tested PPC and x86.

19 years agoLet mconfig support options specified using the menuconfig directive
Peter Kjellerstedt [Mon, 21 Mar 2005 16:38:20 +0000 (16:38 -0000)]
Let mconfig support options specified using the menuconfig directive
again (this code snippet seems to have vanished somewhere between the
original Linux 2.6 kconfig code and here).

19 years agoForgot to change name of builtin buffer during last rewrite.
Manuel Novoa III [Mon, 21 Mar 2005 14:48:49 +0000 (14:48 -0000)]
Forgot to change name of builtin buffer during last rewrite.

19 years agoPass _dl_fini function ptr to __uClibc_start_main().
Joakim Tjernlund [Mon, 21 Mar 2005 10:42:43 +0000 (10:42 -0000)]
Pass _dl_fini function ptr to __uClibc_start_main().

To actually use it, one must define _DL_DO_FINI_IN_LIBC globally.
That will also break ABI for apps linked with previous version of crtX.S.
They must be relinked with this version to work again.

19 years agoPrepare for moving ldso FINI handling to libc by passing _dl_fini. This should not...
Joakim Tjernlund [Mon, 21 Mar 2005 10:40:38 +0000 (10:40 -0000)]
Prepare for moving ldso FINI handling to libc by passing _dl_fini. This should not break ABI.
Minor cleanup as well.

19 years agoPass _dl_fini function ptr to __uClibc_start_main().
Joakim Tjernlund [Sun, 20 Mar 2005 23:37:24 +0000 (23:37 -0000)]
Pass _dl_fini function ptr to __uClibc_start_main().

To actually use it, one must define _DL_DO_FINI_IN_LIBC globally.
That will also break ABI for apps linked with previous version of crtX.S.
They must be relinked with this version to work again.

19 years agoPrepare for moving ldso FINI handling to libc by passing _dl_fini. This should not...
Joakim Tjernlund [Sun, 20 Mar 2005 23:18:28 +0000 (23:18 -0000)]
Prepare for moving ldso FINI handling to libc by passing _dl_fini. This should not break ABI.
Minor cleanup as well.

19 years agoPrepare for moving ldso FINI handling into libc.
Joakim Tjernlund [Sun, 20 Mar 2005 17:45:03 +0000 (17:45 -0000)]
Prepare for moving ldso FINI handling into libc.
#define _DL_DO_FINI_IN_LIBC to enable(the arch specific part needs to be in place first).

19 years agoMove ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC around
Joakim Tjernlund [Sun, 20 Mar 2005 17:29:58 +0000 (17:29 -0000)]
Move ldso FINI handling into _dl_fini(). Add #ifndef _DL_DO_FINI_IN_LIBC around
registering _dl_fini with atexit(). This is a preparation to move the
FINI handling to libc.

19 years agoRemove dead code.
Joakim Tjernlund [Fri, 18 Mar 2005 12:47:26 +0000 (12:47 -0000)]
Remove dead code.

19 years agoForgot to commit the arch cleanup changes to m68k
Joakim Tjernlund [Fri, 18 Mar 2005 07:44:24 +0000 (07:44 -0000)]
Forgot to commit the arch cleanup changes to m68k

19 years agohave ldso.c depend on dl-startup.h too
Mike Frysinger [Fri, 18 Mar 2005 05:07:13 +0000 (05:07 -0000)]
have ldso.c depend on dl-startup.h too

19 years agoFix ldso for MIPS.
Joakim Tjernlund [Thu, 17 Mar 2005 22:54:48 +0000 (22:54 -0000)]
Fix ldso for MIPS.

19 years agoCorrected a typo (exection -> execution).
Peter Kjellerstedt [Thu, 17 Mar 2005 17:32:41 +0000 (17:32 -0000)]
Corrected a typo (exection -> execution).

19 years agoGeneral arch cleanup and prepare support for standalone
Joakim Tjernlund [Thu, 17 Mar 2005 17:14:06 +0000 (17:14 -0000)]
General arch cleanup and prepare support for standalone
execution of ldso.
Added new asm for MIPS to be tested.
All arches should retest.

19 years agoRevert last commit. If I had wanted to include that patch, I would have done
Manuel Novoa III [Thu, 17 Mar 2005 06:41:59 +0000 (06:41 -0000)]
Revert last commit.  If I had wanted to include that patch, I would have done
it myself at least a year and a half ago.

19 years agoallow shared code since it builds again
Mike Frysinger [Wed, 16 Mar 2005 23:22:01 +0000 (23:22 -0000)]
allow shared code since it builds again

19 years agocleanup & standardize
Mike Frysinger [Wed, 16 Mar 2005 23:20:55 +0000 (23:20 -0000)]
cleanup & standardize

19 years agoadd hack like m68k so it *builds* again ... probably needs to be cleaned up like...
Mike Frysinger [Wed, 16 Mar 2005 23:20:17 +0000 (23:20 -0000)]
add hack like m68k so it *builds* again ... probably needs to be cleaned up like m68k though ...

19 years agomake it compile again
Mike Frysinger [Wed, 16 Mar 2005 23:19:36 +0000 (23:19 -0000)]
make it compile again

19 years agomake sure we rebuild ldso.o when the dl-*.c files have been updated
Mike Frysinger [Wed, 16 Mar 2005 23:19:00 +0000 (23:19 -0000)]
make sure we rebuild ldso.o when the dl-*.c files have been updated

19 years agohttp://bugs.uclibc.org/view.php?id=165
Mike Frysinger [Wed, 16 Mar 2005 23:17:06 +0000 (23:17 -0000)]
http://bugs.uclibc.org/view.php?id=165
d1mag writes:
Compilation of _fpmaxtostr.c generate an internal error by m68k-elf-gcc, and
this patch has been used in uClinux-dist to fix it.

19 years agoimport updates from glibc
Mike Frysinger [Wed, 16 Mar 2005 23:13:30 +0000 (23:13 -0000)]
import updates from glibc

19 years agomove the compiler flags WARNINGS option
Mike Frysinger [Wed, 16 Mar 2005 23:12:44 +0000 (23:12 -0000)]
move the compiler flags WARNINGS option