OSDN Git Service

uclinux-h8/uClibc.git
19 years agoWe can't strip libpthread or libthread_db can't help gdb debug ptheads
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

19 years agoThat last patch had some garbage in it... PIC != PIE
Eric Andersen [Sat, 11 Dec 2004 12:28:51 +0000 (12:28 -0000)]
That last patch had some garbage in it...  PIC != PIE

19 years agoPartial commit of a patch from Alexandre Oliva:
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,

19 years agoRemove some accumulated ugly junk
Eric Andersen [Sat, 11 Dec 2004 12:05:31 +0000 (12:05 -0000)]
Remove some accumulated ugly junk

19 years agoDon't use PAGE_SIZE, instead just a local BUFFER_SIZE define
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

19 years agolibpthread can use the normal LDFLAGS (including -s to strip it), but
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.

19 years agoKill off ancient unused cruft
Eric Andersen [Wed, 8 Dec 2004 21:18:53 +0000 (21:18 -0000)]
Kill off ancient unused cruft

19 years agoUse PAGE_SIZE, not 4096
Eric Andersen [Wed, 8 Dec 2004 08:24:17 +0000 (08:24 -0000)]
Use PAGE_SIZE, not 4096

19 years agoAdd missing definition for O_DIRECT
Eric Andersen [Mon, 6 Dec 2004 23:24:21 +0000 (23:24 -0000)]
Add missing definition for O_DIRECT

19 years agoupdate : $
Ned Ludd [Thu, 25 Nov 2004 19:10:39 +0000 (19:10 -0000)]
update : $

19 years agoMake __builtin_return_address() return NULL at top of
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.

19 years agoAdd BIND NOW support to MIPS.
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.

19 years agoFix grammar
Eric Andersen [Thu, 11 Nov 2004 18:55:51 +0000 (18:55 -0000)]
Fix grammar

19 years agomove getent to extra/scripts/ out of docs/
Mike Frysinger [Thu, 11 Nov 2004 14:50:52 +0000 (14:50 -0000)]
move getent to extra/scripts/ out of docs/

19 years agomisc touchups
Mike Frysinger [Thu, 11 Nov 2004 14:48:24 +0000 (14:48 -0000)]
misc touchups

19 years agofix a few typos and clean up the spacing (no tabs)
Mike Frysinger [Thu, 11 Nov 2004 14:44:17 +0000 (14:44 -0000)]
fix a few typos and clean up the spacing (no tabs)

19 years agomisc cleanups of __stack_smash_handler() function when ssp support is enabled. syslog...
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.

19 years agomisc cleanups of __stack_smash_handler() function when ssp support is enabled. syslog...
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.

19 years agoAdd RTLD_LOCAL support for dlopened libs. Reported by
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.

19 years agoinitial commit of uclibc equiv of glibc getent
Ned Ludd [Wed, 10 Nov 2004 08:07:40 +0000 (08:07 -0000)]
initial commit of uclibc equiv of glibc getent

19 years agoSome requested additional malloc entry points
Eric Andersen [Mon, 8 Nov 2004 03:34:44 +0000 (03:34 -0000)]
Some requested additional malloc entry points

19 years agoA patch included in glibc 2.3.2's libthread_db that helps remote
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,

19 years agostruct ipc_perm, as used by shmctl() when soing shared memory stuff,
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

19 years ago- Remove dynamic_size from struct elf_resolve.
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.

19 years agoRevert Peter's __lib_gettimeofday patch. There's the minor issue of
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.

19 years agoSynchronized with glibc (2.3.2).
Peter Kjellerstedt [Sat, 30 Oct 2004 17:56:00 +0000 (17:56 -0000)]
Synchronized with glibc (2.3.2).

19 years agoDo not assume a fifth argument is used with syscall(). Allocate stack
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.

19 years agoRevise TODO list for the upcoming release
Eric Andersen [Sat, 30 Oct 2004 01:07:48 +0000 (01:07 -0000)]
Revise TODO list for the upcoming release

19 years agoJocke's patch was almost right. Just needed move the DT_MIPS_RLD_MAP test
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.

19 years agoFix up __uClibc_init() for so that we prevent starting SUID
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

19 years agoArrange to hide uClibc internals
Eric Andersen [Wed, 27 Oct 2004 07:26:21 +0000 (07:26 -0000)]
Arrange to hide uClibc internals

19 years agoUpdate TODO list
Eric Andersen [Tue, 26 Oct 2004 20:48:39 +0000 (20:48 -0000)]
Update TODO list

19 years agoAtsushi Nemoto writes:
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.

19 years agoWe don't need this README
Eric Andersen [Tue, 26 Oct 2004 07:49:47 +0000 (07:49 -0000)]
We don't need this README

19 years agoPeter S. Mazinger writes:
Eric Andersen [Tue, 19 Oct 2004 20:10:18 +0000 (20:10 -0000)]
Peter S. Mazinger writes:

Hello!

Would the attached patch be acceptable (maybe instead of
__libc_gettimeofday using __gettimeofday)

We have some issues, see

http://bugs.gentoo.org/show_bug.cgi?id=65892

19 years agoAtsushi Nemoto writes:
Eric Andersen [Tue, 19 Oct 2004 19:24:13 +0000 (19:24 -0000)]
Atsushi Nemoto writes:

In a recent post to linux-mips ML (and libc-alpha ML), a problem with
inline syscalls was reported.

http://www.linux-mips.org/archives/linux-mips/2004-10/msg00142.html

It seems uClibc should be fixed also for newer gcc.  Here is a patch.

19 years agoCorrent HOWTO url
Eric Andersen [Mon, 18 Oct 2004 06:31:51 +0000 (06:31 -0000)]
Corrent HOWTO url

19 years agomention scratchbox and openembedded
Eric Andersen [Mon, 18 Oct 2004 06:31:18 +0000 (06:31 -0000)]
mention scratchbox and openembedded

19 years agoRip out Peter's unacceptable "fix" and do the sane thing instead; build
Manuel Novoa III [Fri, 15 Oct 2004 08:25:36 +0000 (08:25 -0000)]
Rip out Peter's unacceptable "fix" and do the sane thing instead; build
the utils using the uClibc-targeted toolchain.

19 years agounmap ld.so.cache when dlopen() returns.
Joakim Tjernlund [Thu, 14 Oct 2004 15:23:51 +0000 (15:23 -0000)]
unmap ld.so.cache when dlopen() returns.

19 years agohmm, somehow cvs lost this file in the previous commit.
Joakim Tjernlund [Thu, 14 Oct 2004 10:10:34 +0000 (10:10 -0000)]
hmm, somehow cvs lost this file in the previous commit.

19 years agoPeter Mazinger writes:
Joakim Tjernlund [Thu, 14 Oct 2004 10:08:03 +0000 (10:08 -0000)]
Peter Mazinger writes:
The attached patch generalizes the use of PIE (all archs are brought in
sync that use/mention it: x86/ppc/frv) and makes use of it building the
target utils.

Tested on x86, ppc should be tested, frv uses -fPIE at one location, but
at another place -fpie, I don't know which is correct (could be both) and
misses the target addition in Config.in.

The test for ppc (requires the earlier sent crt-correction patch to work
correctly):
enable UCLIBC_PIE_SUPPORT, build uClibc and utils, check:
file ./utils/ldd, it should show shared object (instead of executable)

19 years agoPeter Mazinger writes:
Joakim Tjernlund [Thu, 14 Oct 2004 09:53:15 +0000 (09:53 -0000)]
Peter Mazinger writes:
The attached patch is an updated version of an earlier sent patch
It solves the problem that the target utils (ldconfig/ldd/iconv, readelf
is not handled, but can be easily added) are not built w/ the newly
created [S]crt[01].o files.

19 years agoDon't SEGV if library not found.
Joakim Tjernlund [Thu, 14 Oct 2004 09:24:43 +0000 (09:24 -0000)]
Don't SEGV if library not found.

19 years agoRemove unused stuff. From Peter Mazinger.
Joakim Tjernlund [Thu, 14 Oct 2004 07:44:43 +0000 (07:44 -0000)]
Remove unused stuff. From Peter Mazinger.

19 years agoMark Rakes writes:
Joakim Tjernlund [Tue, 12 Oct 2004 10:48:28 +0000 (10:48 -0000)]
Mark Rakes writes:
without LDSO_CACHE_SUPPORT turned on, LDSO_CONF and LDSO_CACHE are
not defined anywhere, but still used by ldconfig.c This patch allows
ldconfig to build again, although there may be a cleaner way to fix
this????

Applied with minor modification.

19 years agoUndo previous change. Leave SUID programs alone until I know what to do
Joakim Tjernlund [Mon, 11 Oct 2004 20:57:11 +0000 (20:57 -0000)]
Undo previous change. Leave SUID programs alone until I know what to do
with them.

19 years agoDon't use ld.so.cache for SUID programs.
Joakim Tjernlund [Mon, 11 Oct 2004 08:15:32 +0000 (08:15 -0000)]
Don't use ld.so.cache for SUID programs.

19 years agolink to uClibc++, minor FAQ updates
Eric Andersen [Fri, 8 Oct 2004 10:50:49 +0000 (10:50 -0000)]
link to uClibc++, minor FAQ updates

19 years agoAs noticed by egor duda, current_menu is declared as 'extern struct menu
Eric Andersen [Fri, 8 Oct 2004 07:58:30 +0000 (07:58 -0000)]
As noticed by egor duda, current_menu is declared as 'extern struct menu
*current_menu;' in scripts/config/lkc.h line 63, and this conflicts with
static definition in mconf.c.

19 years agoRemove _dl_parse_copy_information() for CRIS per Peter Kjellerstedts request.
Joakim Tjernlund [Thu, 7 Oct 2004 18:57:40 +0000 (18:57 -0000)]
Remove _dl_parse_copy_information() for CRIS per Peter Kjellerstedts request.

19 years agoPut back ucontext.h, but omit function prototypes for getcontext(),
Eric Andersen [Thu, 7 Oct 2004 14:06:06 +0000 (14:06 -0000)]
Put back ucontext.h, but omit function prototypes for getcontext(),
makecontext(), setcontext(), and swapcontext() which are marked as
obsolescent by SuSv3, and are not implemented by uClibc.

19 years agoRemove usage of _dl_parse_copy_information() from generic code.
Joakim Tjernlund [Thu, 7 Oct 2004 13:48:21 +0000 (13:48 -0000)]
Remove usage of _dl_parse_copy_information() from generic code.
Remove definition of _dl_parse_copy_information() for powerpc.
Remaining archs can do the same.
Make debugging output of "relocation processing: xxx" a bit more sane.

19 years agoAdd ualarm.c
Eric Andersen [Thu, 7 Oct 2004 09:20:09 +0000 (09:20 -0000)]
Add ualarm.c

19 years agoHide a bunch of unimplemented time function prototypes, and
Eric Andersen [Thu, 7 Oct 2004 03:01:54 +0000 (03:01 -0000)]
Hide a bunch of unimplemented time function prototypes, and
mark them as mjn3's problem.  :-)

19 years agoRemove ucontext.h. We do not implement any of these functions.
Eric Andersen [Thu, 7 Oct 2004 02:45:58 +0000 (02:45 -0000)]
Remove ucontext.h.  We do not implement any of these functions.

19 years agoRemove unimplemented non-SuSv3 function prototypes
Eric Andersen [Thu, 7 Oct 2004 02:42:34 +0000 (02:42 -0000)]
Remove unimplemented non-SuSv3 function prototypes

19 years agoimplement SuSv3 required ualarm()
Eric Andersen [Thu, 7 Oct 2004 02:18:56 +0000 (02:18 -0000)]
implement SuSv3 required ualarm()

19 years agouClibc does not support getutent_r, getutid_r, and getutline_r,
Eric Andersen [Thu, 7 Oct 2004 01:53:04 +0000 (01:53 -0000)]
uClibc does not support getutent_r, getutid_r, and getutline_r,
and SuSv3 does not require r specify them.  So kill the prototypes.

19 years agoRemove empty file
Eric Andersen [Wed, 6 Oct 2004 19:13:06 +0000 (19:13 -0000)]
Remove empty file

19 years agoPeter S. Mazinger writes:
Joakim Tjernlund [Wed, 6 Oct 2004 13:23:13 +0000 (13:23 -0000)]
Peter S. Mazinger writes:
Corrects libpthread_db name (I do not know why libpthread_db.so uses
libpthread_db.so.1 instead of libpthread_db.so.$(MAJOR_VERSION) as soname)

Note by Jocke:
I don't known either but until then this is the right thing to do.

19 years agoDon't complain if ld.so.cache is missing.
Joakim Tjernlund [Wed, 6 Oct 2004 13:08:47 +0000 (13:08 -0000)]
Don't complain if ld.so.cache is missing.

19 years agoAdd type libc0 to cache_print().
Joakim Tjernlund [Wed, 6 Oct 2004 12:51:12 +0000 (12:51 -0000)]
Add type libc0 to cache_print().
Always strip trailing slaches(/) from paths read from ld.so.conf.

19 years agoPeter S. Mazinger writes:
Joakim Tjernlund [Wed, 6 Oct 2004 11:45:22 +0000 (11:45 -0000)]
Peter S. Mazinger writes:
The attached patches make iconv use XXFLAGS and adapts ldd.host to cvs.

19 years agoPeter S. Mazinger writes:
Joakim Tjernlund [Wed, 6 Oct 2004 11:34:32 +0000 (11:34 -0000)]
Peter S. Mazinger writes:
Hello!

Here is the modified unsecvars patch that applies to cvs.

19 years agoPuts common defines into dl-defs.h (in ldso/include) from dl-elf.h and
Joakim Tjernlund [Wed, 6 Oct 2004 07:34:17 +0000 (07:34 -0000)]
Puts common defines into dl-defs.h (in ldso/include) from dl-elf.h and
dl-cache.h and make use of it. Also disables the lib-path-redundancy check
for the case the cache is not used. Makes use of _PRELOAD_FILE_SUPPORT.
From Peter Mazinger.

19 years agoRemove unneeded -D<somedefine>, and use instead #ifdef __somedefine__
Joakim Tjernlund [Wed, 6 Oct 2004 06:59:57 +0000 (06:59 -0000)]
Remove unneeded -D<somedefine>, and use instead #ifdef __somedefine__
From Peter Mazinger.

19 years agoPIE option correction for Config.in. From Peter Mazinger.
Joakim Tjernlund [Wed, 6 Oct 2004 06:51:37 +0000 (06:51 -0000)]
PIE option correction for Config.in. From Peter Mazinger.

19 years agoPeter S. Mazinger writes:
Joakim Tjernlund [Tue, 5 Oct 2004 12:06:40 +0000 (12:06 -0000)]
Peter S. Mazinger writes:
Hello!

The attached patches remove unneeded -D<somedefine>, and uses instead
#ifdef __somedefine__

19 years agoPeter Kjellerstedt writes:
Joakim Tjernlund [Tue, 5 Oct 2004 11:51:59 +0000 (11:51 -0000)]
Peter Kjellerstedt writes:
After the addition of a configuration option for
enabling the support of /etc/ld.so.cache, I thought
it might be a good idea to add one for the support
of the /etc/ld.so.preload file too. So here it is.

While doing this, I also noticed that the dynamic
linker would hang indefinitely if either LD_PRELOAD
or /etc/ld.so.preload contained a library which was
already loaded, so I made a patch for that too.

And of course, I could not resist from doing a little
clean up of comments and indentation, so here is a
patch for that too.

19 years agoThis patch from Mike Frysinger, extended from an earlier patch from Peter S.
Eric Andersen [Sun, 3 Oct 2004 07:53:52 +0000 (07:53 -0000)]
This patch from Mike Frysinger, extended from an earlier patch from Peter S.
Mazinger implements the changes suggested by me on the uclibc list.

On Tuesday 28 September 2004 02:24 pm, Erik Andersen wrote:
> What I think should be done is
>
>     *) Someone that cares about USE_CACHE should fix that option
>         up to be sure it works, and give it a proper config entry
>         in extra/Configs/Config.in, and rename it to something
>         more appropriate such as LDSO_CACHE_SUPPORT.
>
>     *) When LDSO_CACHE_SUPPORT=n, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib
>         should be included in the default library search path in
>         dl-elf.c, ldd, and ldconfig.
>
>     *) When LDSO_CACHE_SUPPORT=y, UCLIBC_RUNTIME_PREFIX /usr/X11R6/lib
>         should be excluded from the default library search path in
>         dl-elf.c, ldd, and ldconfig, and those wishing to include
>         X11 stuff should add that into /etc/ld.so.conf and re-run
>         ldconfig.
>
>     *) At present, LDSO_CONF and LDSO_CACHE use the same names
>         and same structure as glibc.  This precludes
>         LDSO_CACHE_SUPPORT being uses in any sane fashion on a
>         dial glibc and uClibc system.  Just as it was necessary
>         for use to use a different name for 'libuClibc' rather
>         than 'libc', and 'ld-uClibc.so.0' rather than
>         'ld-linux.so.2' it seems that these configuration files
>         really ought to be given different names.
>

19 years agoAtsushi Nemoto writes:
Joakim Tjernlund [Tue, 28 Sep 2004 13:13:44 +0000 (13:13 -0000)]
Atsushi Nemoto writes:
Hi.  I found a mismatch between uClibc and kernel in semctl definition.

In uClibc/libc/misc/sysvipc/sem.c:

static inline _syscall4(int, __semctl, int, semid, int, semnum, int, cmd, union semun *, arg);
...
int semctl(int semid, int semnum, int cmd, ...)
...
    arg = va_arg (ap, union semun);
...
    return __semctl(semid, semnum, cmd, &arg);

But kernel's semctl is:

asmlinkage long sys_semctl (int semid, int semnum, int cmd, union semun arg)

The last argument is an union semun itself, not a pointer to the
union.

Here is a patch.

19 years agoOops, typo.
Joakim Tjernlund [Tue, 28 Sep 2004 08:55:06 +0000 (08:55 -0000)]
Oops, typo.
Thanks to Peter Kjellerstedt.

19 years agoRemove /usr/X11R6/lib from search path.
Joakim Tjernlund [Tue, 28 Sep 2004 07:56:49 +0000 (07:56 -0000)]
Remove /usr/X11R6/lib from search path.
Search  in UCLIBC_RUNTIME_PREFIX"lib" before
UCLIBC_RUNTIME_PREFIX"usr/lib".

X11 users should enable USE_CACHE in Rules.mak, add
/usr/X11R6/lib to /etc/ld.so.conf and run ldconfig.

19 years agoMake ldd work for ET_DYN executables. From Peter Mazinger.
Joakim Tjernlund [Tue, 28 Sep 2004 07:29:13 +0000 (07:29 -0000)]
Make ldd work for ET_DYN executables. From Peter Mazinger.

19 years agoRemove /usr/X11R6/lib from default list.
Joakim Tjernlund [Mon, 27 Sep 2004 09:40:55 +0000 (09:40 -0000)]
Remove /usr/X11R6/lib from default list.
Move /lib and /usr/lib first in ld.so.cache.
Ignore duplicate /lib and /usr/lib in ld.so.conf

19 years agoAdd bswap_64 macro and uClibc_page.h. From Peter Kjellerstedt.
Joakim Tjernlund [Thu, 23 Sep 2004 07:23:26 +0000 (07:23 -0000)]
Add bswap_64 macro and uClibc_page.h. From Peter Kjellerstedt.

19 years agoDon't allow undefined global symbols to pass.
Joakim Tjernlund [Thu, 23 Sep 2004 07:15:24 +0000 (07:15 -0000)]
Don't allow undefined global symbols to pass.
Move COPY relocs back to _dl_do_reloc().
White space cleanup.

19 years agoWhite space and printouts cleanup. From Peter Kjellerstedt.
Joakim Tjernlund [Thu, 23 Sep 2004 07:08:41 +0000 (07:08 -0000)]
White space and printouts cleanup. From Peter Kjellerstedt.

19 years agoMake do_rem() safe. From Peter Kjellerstedt.
Joakim Tjernlund [Thu, 23 Sep 2004 07:05:40 +0000 (07:05 -0000)]
Make do_rem() safe. From Peter Kjellerstedt.

19 years agoDon't allow undefined global symbols to pass.
Joakim Tjernlund [Thu, 23 Sep 2004 07:00:45 +0000 (07:00 -0000)]
Don't allow undefined global symbols to pass.
Move COPY relocs back to _dl_do_reloc().

19 years agoMake powerpc look more like the other archs.
Joakim Tjernlund [Thu, 23 Sep 2004 06:56:59 +0000 (06:56 -0000)]
Make powerpc look more like the other archs.

19 years agoAdded back dl_iterate_phdr in ldso(with some small changes).
Joakim Tjernlund [Fri, 17 Sep 2004 15:57:21 +0000 (15:57 -0000)]
Added back dl_iterate_phdr in ldso(with some small changes).
Someone needs to test if it works to build and run gcj.

19 years agoFormatting cleanups from Peter Kellerstedt.
Joakim Tjernlund [Fri, 17 Sep 2004 12:41:36 +0000 (12:41 -0000)]
Formatting cleanups from Peter Kellerstedt.

19 years agoBugfix: Add r_addend to final address. The r_addend is mostly zero
Joakim Tjernlund [Fri, 17 Sep 2004 12:19:35 +0000 (12:19 -0000)]
Bugfix: Add r_addend to final address. The r_addend is mostly zero
but can be nonzero for JMP relocs as well.
All Rela arches need to do this, test and send a patch :)

Remove unneeded test in R_PPC_COPY.

19 years agoDon't allow undefined global symbols to pass(all archs needs fixing,
Joakim Tjernlund [Fri, 17 Sep 2004 09:11:53 +0000 (09:11 -0000)]
Don't allow undefined global symbols to pass(all archs needs fixing,
but powerpc).
If you are using buildroot and soft floating point, you may have to
rebuild the libm.so library, copy it to staging_dir/lib and rebuild
your application.

Move handling of R_386_COPY back into _dl_do_reloc(all archs should
do this). Adjust the first argument to _dl_memcpy as it looks wrong
to have symtab[symtab_index].st_value as destination for the mem copy.

19 years agoDon't allow undefined global symbols to pass(all archs needs fixing).
Joakim Tjernlund [Thu, 16 Sep 2004 13:07:01 +0000 (13:07 -0000)]
Don't allow undefined global symbols to pass(all archs needs fixing).
If you are using buildroot and soft floating point, you may have to
rebuild the libm.so library, copy it to staging_dir/lib and rebuild
your application.

Cleanups as well.

19 years agoHide some x86-specific devel asserts.
Manuel Novoa III [Fri, 10 Sep 2004 21:30:26 +0000 (21:30 -0000)]
Hide some x86-specific devel asserts.

19 years agoFixup URL
Eric Andersen [Wed, 8 Sep 2004 20:13:05 +0000 (20:13 -0000)]
Fixup URL

19 years agoSecond attempt to fix the INIT/FINI order. This time I think I got it right :)
Joakim Tjernlund [Wed, 8 Sep 2004 09:43:25 +0000 (09:43 -0000)]
Second attempt to fix the INIT/FINI order. This time I think I got it right :)
This needs testing with apps that have complex dependencies.

19 years agoDoh! As noted by Mike Frysinger I was too agressive at culling stuff
Eric Andersen [Wed, 8 Sep 2004 03:07:17 +0000 (03:07 -0000)]
Doh!  As noted by Mike Frysinger I was too agressive at culling stuff

19 years agoDisable prototypes for unimplemented functions
Eric Andersen [Tue, 7 Sep 2004 11:24:45 +0000 (11:24 -0000)]
Disable prototypes for unimplemented functions

19 years agoYet another bit of joy for mjn3
Eric Andersen [Tue, 7 Sep 2004 11:13:06 +0000 (11:13 -0000)]
Yet another bit of joy for mjn3

19 years agoAudit and disable unimplemented stuff
Eric Andersen [Tue, 7 Sep 2004 10:37:36 +0000 (10:37 -0000)]
Audit and disable unimplemented stuff

19 years agoImplement gethostent_r
Eric Andersen [Tue, 7 Sep 2004 10:34:35 +0000 (10:34 -0000)]
Implement gethostent_r

19 years agoRemove stale leftovers
Eric Andersen [Tue, 7 Sep 2004 10:34:09 +0000 (10:34 -0000)]
Remove stale leftovers

19 years agoAudit and scrub malloc.h, which was a mess
Eric Andersen [Tue, 7 Sep 2004 09:17:17 +0000 (09:17 -0000)]
Audit and scrub malloc.h, which was a mess

19 years agoWe do not use dl_iterate_phdr, so no need to define it
Eric Andersen [Tue, 7 Sep 2004 09:04:01 +0000 (09:04 -0000)]
We do not use dl_iterate_phdr, so no need to define it

19 years agouClibc gettext support is under development and really shouldn't
Eric Andersen [Tue, 7 Sep 2004 08:53:33 +0000 (08:53 -0000)]
uClibc gettext support is under development and really shouldn't
be used by the unsuspecting masses quite yet.

19 years agoThe 'Somebody Else's Problem Field' was just activated
Eric Andersen [Tue, 7 Sep 2004 08:44:19 +0000 (08:44 -0000)]
The 'Somebody Else's Problem Field' was just activated