OSDN Git Service

uclinux-h8/uClibc.git
19 years agowell shared compiles again, so might as well remove the perm disable
Mike Frysinger [Wed, 16 Mar 2005 03:36:51 +0000 (03:36 -0000)]
well shared compiles again, so might as well remove the perm disable

19 years agomerge the syscalls and punt the glibc import in the process (blah, what a waste of...
Mike Frysinger [Wed, 16 Mar 2005 03:35:38 +0000 (03:35 -0000)]
merge the syscalls and punt the glibc import in the process (blah, what a waste of time that was :D)

19 years agoupdates to match i386
Mike Frysinger [Wed, 16 Mar 2005 02:48:33 +0000 (02:48 -0000)]
updates to match i386

19 years agoclean up whitespace style and hack around a build failure or two
Mike Frysinger [Wed, 16 Mar 2005 02:48:05 +0000 (02:48 -0000)]
clean up whitespace style and hack around a build failure or two

19 years agofix 13mo+ old typo
Mike Frysinger [Wed, 16 Mar 2005 02:47:08 +0000 (02:47 -0000)]
fix 13mo+ old typo

19 years agowhitespace trim
Mike Frysinger [Wed, 16 Mar 2005 02:46:50 +0000 (02:46 -0000)]
whitespace trim

19 years agoclean up style to be match i386
Mike Frysinger [Wed, 16 Mar 2005 01:45:40 +0000 (01:45 -0000)]
clean up style to be match i386

19 years agoget rid of linux-headers hack ... rip code from glibc
Mike Frysinger [Wed, 16 Mar 2005 01:43:17 +0000 (01:43 -0000)]
get rid of linux-headers hack ... rip code from glibc

19 years agoerm, that #" broke stuff
Mike Frysinger [Wed, 16 Mar 2005 01:19:54 +0000 (01:19 -0000)]
erm, that #" broke stuff

19 years agoCROSS_COMPILE -> CROSS_COMPILER_PREFIX like busybox
Mike Frysinger [Wed, 16 Mar 2005 01:16:01 +0000 (01:16 -0000)]
CROSS_COMPILE -> CROSS_COMPILER_PREFIX like busybox

19 years agorename the Status categories to things actually used and sneak more whitespace fixes...
Mike Frysinger [Tue, 15 Mar 2005 23:56:18 +0000 (23:56 -0000)]
rename the Status categories to things actually used and sneak more whitespace fixes in too

19 years agoadd a Kconfig option for setting the $(CROSS) build variable
Mike Frysinger [Tue, 15 Mar 2005 23:55:42 +0000 (23:55 -0000)]
add a Kconfig option for setting the $(CROSS) build variable

19 years agoFix wierd mix of tabs and spaces
Eric Andersen [Tue, 15 Mar 2005 18:22:13 +0000 (18:22 -0000)]
Fix wierd mix of tabs and spaces

19 years agoAdd an initial pass at a maintainers list
Eric Andersen [Tue, 15 Mar 2005 18:16:13 +0000 (18:16 -0000)]
Add an initial pass at a maintainers list

19 years agoAdd _dl_boot() prototype.
Joakim Tjernlund [Tue, 15 Mar 2005 14:47:05 +0000 (14:47 -0000)]
Add _dl_boot() prototype.

19 years agoA little whitespace clean up.
Peter Kjellerstedt [Tue, 15 Mar 2005 10:44:45 +0000 (10:44 -0000)]
A little whitespace clean up.

19 years agoMade it compile again (and it even seems to work).
Peter Kjellerstedt [Tue, 15 Mar 2005 10:37:54 +0000 (10:37 -0000)]
Made it compile again (and it even seems to work).

19 years agoFix MIPS initial GOT relocation.
Joakim Tjernlund [Tue, 15 Mar 2005 07:40:40 +0000 (07:40 -0000)]
Fix MIPS initial GOT relocation.

19 years agoSame typo here.
Joakim Tjernlund [Mon, 14 Mar 2005 23:21:05 +0000 (23:21 -0000)]
Same typo here.

19 years agoOops, fix typo.
Joakim Tjernlund [Mon, 14 Mar 2005 23:10:19 +0000 (23:10 -0000)]
Oops, fix typo.

19 years agoMake mips at least compile
Eric Andersen [Mon, 14 Mar 2005 22:13:36 +0000 (22:13 -0000)]
Make mips at least compile

19 years agoFix up x86 so it compiles again.
Eric Andersen [Mon, 14 Mar 2005 22:09:14 +0000 (22:09 -0000)]
Fix up x86 so it compiles again.

19 years agoMake mips/mipsel syscalls no longer complain about the "use of memory input
Eric Andersen [Mon, 14 Mar 2005 18:41:23 +0000 (18:41 -0000)]
Make mips/mipsel syscalls no longer complain about the "use of memory input
without lvalue in asm".  Give the asm an lvalue so it can be happy.

19 years agoSimplify PT_INTERP handling.
Joakim Tjernlund [Mon, 14 Mar 2005 16:53:09 +0000 (16:53 -0000)]
Simplify PT_INTERP handling.
Add prototype for _dl_boot()

19 years agoGeneralize optimized relative reloc procesing.
Joakim Tjernlund [Mon, 14 Mar 2005 13:25:07 +0000 (13:25 -0000)]
Generalize optimized relative reloc procesing.
Add elf_machine_dynamic() and elf_machine_load_address() for
all archs. elf_machine_dynamic() replaces the #ifdef mess to
get at the GOT.  elf_machine_load_address() is needed to execute
ldso directly, this is not complete yet.

I probably broke one or two archs(only tested PPC) so please
try and report problems. For a report to be useful you need
to enable __SUPPORT_LD_DEBUG_EARLY__ and __SUPPORT_LD_DEBUG__

19 years agoForce suid apps to do unlazy binding of the PLT relocs.
Joakim Tjernlund [Mon, 14 Mar 2005 08:48:42 +0000 (08:48 -0000)]
Force suid apps to do unlazy binding of the PLT relocs.
See http://bugs.gentoo.org/show_bug.cgi?id=71609 for
more details. Reported by Peter Mazinger.

19 years ago- added externs to keep gcc quiet about implicit declaration of 3 functions
Ned Ludd [Sat, 12 Mar 2005 19:13:41 +0000 (19:13 -0000)]
- added externs to keep gcc quiet about implicit declaration of 3 functions

19 years agochown syntax 0.0 -> 0:0
Mike Frysinger [Thu, 10 Mar 2005 19:32:36 +0000 (19:32 -0000)]
chown syntax 0.0 -> 0:0

19 years agoUse DT_RELCONT_IDX to optimize the relocation of R_PPC_RELATIVE
Joakim Tjernlund [Thu, 10 Mar 2005 16:29:22 +0000 (16:29 -0000)]
Use DT_RELCONT_IDX to optimize the relocation of R_PPC_RELATIVE
relocs. All RELA arches can probably copy this. REL archs
will have to delete the "+ rpnt->r_addend" from the loop.

19 years agoadd a check target cause i'm lazy
Mike Frysinger [Wed, 9 Mar 2005 05:44:07 +0000 (05:44 -0000)]
add a check target cause i'm lazy

19 years agofix typo
Mike Frysinger [Wed, 9 Mar 2005 05:43:40 +0000 (05:43 -0000)]
fix typo

19 years agoDisable float wrappers for functions that are not presently
Eric Andersen [Mon, 7 Mar 2005 20:15:39 +0000 (20:15 -0000)]
Disable float wrappers for functions that are not presently
implemented in libm

19 years agosplit the float wrappers into separate object files
Eric Andersen [Mon, 7 Mar 2005 10:52:38 +0000 (10:52 -0000)]
split the float wrappers into separate object files

19 years agoTrim off whitespace
Eric Andersen [Sun, 6 Mar 2005 07:11:53 +0000 (07:11 -0000)]
Trim off whitespace

19 years agomake sure we only create libm.a before running through subdirs, then install it
Mike Frysinger [Tue, 1 Mar 2005 04:43:58 +0000 (04:43 -0000)]
make sure we only create libm.a before running through subdirs, then install it

19 years agoFix reported bug in error return behavior of sem_timedwait().
Manuel Novoa III [Mon, 28 Feb 2005 01:52:50 +0000 (01:52 -0000)]
Fix reported bug in error return behavior of sem_timedwait().

19 years ago- avoid segfaulting when rlimit stack is set to low for gen_wctype by calling setrlim...
Ned Ludd [Sat, 26 Feb 2005 18:54:07 +0000 (18:54 -0000)]
- avoid segfaulting when rlimit stack is set to low for gen_wctype by calling setrlimit(RLIMIT_STACK, &limit)

19 years agodoh! We'll get this one right yet...
Eric Andersen [Fri, 25 Feb 2005 05:58:58 +0000 (05:58 -0000)]
doh!  We'll get this one right yet...

19 years agomake sure subdirs requires the toplevel $(LIBM) already exists
Mike Frysinger [Wed, 23 Feb 2005 04:05:40 +0000 (04:05 -0000)]
make sure subdirs requires the toplevel $(LIBM) already exists

19 years agohave the directories themselves rather than the alias subdirs depend on $(LIBPTHREAD)
Mike Frysinger [Wed, 23 Feb 2005 04:05:19 +0000 (04:05 -0000)]
have the directories themselves rather than the alias subdirs depend on $(LIBPTHREAD)

19 years agopoint to buildroot webpage
Eric Andersen [Mon, 21 Feb 2005 22:02:27 +0000 (22:02 -0000)]
point to buildroot webpage

19 years agoupdate so argc/argv/envp work and binaries dont just segfault immediatly
Mike Frysinger [Mon, 21 Feb 2005 14:58:28 +0000 (14:58 -0000)]
update so argc/argv/envp work and binaries dont just segfault immediatly

19 years agoSome uClinux architectures do not define pivot_root
Eric Andersen [Fri, 18 Feb 2005 16:38:06 +0000 (16:38 -0000)]
Some uClinux architectures do not define pivot_root

19 years agoMerge pt-machine.h for the blackfin from the Analog
Eric Andersen [Fri, 18 Feb 2005 16:33:15 +0000 (16:33 -0000)]
Merge pt-machine.h for the blackfin from the Analog
source tree.

19 years agoSince libdl is pretty small, and not likely to benefit from mklibs.py
Eric Andersen [Wed, 16 Feb 2005 06:42:32 +0000 (06:42 -0000)]
Since libdl is pretty small, and not likely to benefit from mklibs.py
and similar, lets just remove libdl_pic.a and avoid the issue

19 years agoUnlike the other static libs, libdl.a and libdl_pic.a are different.
Manuel Novoa III [Wed, 16 Feb 2005 06:38:13 +0000 (06:38 -0000)]
Unlike the other static libs, libdl.a and libdl_pic.a are different.
So we need to copy the actual libdl_pic.a or bad things happen when
optimizing libdl.so with mklibs.py.

19 years agodont need sysdep.h
Mike Frysinger [Tue, 15 Feb 2005 01:47:15 +0000 (01:47 -0000)]
dont need sysdep.h

19 years agosome test header files for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:44:34 +0000 (01:44 -0000)]
some test header files for x86_64

19 years agosome incomplete asm source for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:42:47 +0000 (01:42 -0000)]
some incomplete asm source for x86_64

19 years agosome more x86_64 source
Mike Frysinger [Tue, 15 Feb 2005 01:39:29 +0000 (01:39 -0000)]
some more x86_64 source

19 years agosome more x86_64 source
Mike Frysinger [Tue, 15 Feb 2005 01:38:50 +0000 (01:38 -0000)]
some more x86_64 source

19 years agosome source files for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:33:05 +0000 (01:33 -0000)]
some source files for x86_64

19 years agoheaders for x86_64
Mike Frysinger [Tue, 15 Feb 2005 01:27:10 +0000 (01:27 -0000)]
headers for x86_64

19 years agokconfig for x86_64
Mike Frysinger [Tue, 15 Feb 2005 00:58:49 +0000 (00:58 -0000)]
kconfig for x86_64

19 years agoWhen I broke up the stdio code, the "support pre C99 compilers" va_copy compat
Manuel Novoa III [Mon, 14 Feb 2005 05:58:08 +0000 (05:58 -0000)]
When I broke up the stdio code, the "support pre C99 compilers" va_copy compat
define was no longer visible to vasprintf.  I didn't catch this since I no
longer use such old tools.  Unfortunately, some well-meaning but misguided
individual decided to just cut-and-paste the macro.  :-(
Try to clean up the situation by putting it into a header that can be overriden
by any archs that need to.  If this breaks for anyone (as I said, I no longer
use such old tools and so haven't tested), let me know and I'll fix it.

19 years agoFix some issues with nice(). SUSv3 specifies that it return the new
Manuel Novoa III [Mon, 14 Feb 2005 04:40:39 +0000 (04:40 -0000)]
Fix some issues with nice().  SUSv3 specifies that it return the new
priority if successful, while the linux syscall returns 0.  Also, in
the non-syscall version, we must be sure to set errno to EPERM on failure
since setpriority() can set errno to several possible values.
Note: The version of glibc on my debian system is broken wrt EPERM too.

19 years agox86_64 fixes: make sure the fall back routine for using umount2() for umount() actual...
Mike Frysinger [Sun, 13 Feb 2005 08:11:38 +0000 (08:11 -0000)]
x86_64 fixes: make sure the fall back routine for using umount2() for umount() actually works :)

19 years agox86_64 fixes: update prototype to match the other prototypes
Mike Frysinger [Sun, 13 Feb 2005 08:06:42 +0000 (08:06 -0000)]
x86_64 fixes: update prototype to match the other prototypes

19 years agox86_64 fixes: __NR_socketcall doesnt exist, nor does __NR_recv / __NR_send ... so...
Mike Frysinger [Sun, 13 Feb 2005 08:01:45 +0000 (08:01 -0000)]
x86_64 fixes: __NR_socketcall doesnt exist, nor does __NR_recv / __NR_send ... so dont try using socketcall() unless the system call exists

19 years agotouchup the $(AR) mojo to address some bugs by Peter Kjellerstedt
Mike Frysinger [Sun, 13 Feb 2005 06:51:15 +0000 (06:51 -0000)]
touchup the $(AR) mojo to address some bugs by Peter Kjellerstedt

19 years agono more cvs
Mike Frysinger [Sat, 12 Feb 2005 20:59:08 +0000 (20:59 -0000)]
no more cvs

19 years agoAdd THREAD_SELF definition to PPC. This should make threads on PPC
Joakim Tjernlund [Thu, 10 Feb 2005 23:38:14 +0000 (23:38 -0000)]
Add THREAD_SELF definition to PPC. This should make threads on PPC
a bit faster.

19 years agofix typo
Eric Andersen [Wed, 9 Feb 2005 18:24:45 +0000 (18:24 -0000)]
fix typo

19 years agoDefine va_copy for pre-C99 compilers (code taken from vfprintf.c).
Peter Kjellerstedt [Wed, 9 Feb 2005 09:00:28 +0000 (09:00 -0000)]
Define va_copy for pre-C99 compilers (code taken from vfprintf.c).

19 years agoImplement _start completely in assembler. Otherwise the compiler will
Peter Kjellerstedt [Wed, 9 Feb 2005 08:42:13 +0000 (08:42 -0000)]
Implement _start completely in assembler. Otherwise the compiler will
push the frame pointer when DO_DEBUG is enabled (and thus incorrect
argc, argv and envp will be passed to the program).

19 years agoInclude features.h (without it, testing for __UCLIBC_HAS_THREADS__
Peter Kjellerstedt [Wed, 9 Feb 2005 08:40:55 +0000 (08:40 -0000)]
Include features.h (without it, testing for __UCLIBC_HAS_THREADS__
makes no sense).

19 years agosimplify anon url
Eric Andersen [Wed, 9 Feb 2005 06:50:57 +0000 (06:50 -0000)]
simplify anon url

19 years ago- 3/NN patches for ssp. Doc updates from Peter S. Mazinger and Robert Connolly
Ned Ludd [Tue, 8 Feb 2005 21:21:32 +0000 (21:21 -0000)]
- 3/NN patches for ssp. Doc updates from Peter S. Mazinger and Robert Connolly

19 years agoordering update
Eric Andersen [Tue, 8 Feb 2005 20:59:51 +0000 (20:59 -0000)]
ordering update

19 years ago- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert Connolly
Ned Ludd [Tue, 8 Feb 2005 20:55:33 +0000 (20:55 -0000)]
- 2/NN patches for ssp. Updates from Peter S. Mazinger and Robert Connolly

19 years agoUpdate the year
Eric Andersen [Tue, 8 Feb 2005 20:29:15 +0000 (20:29 -0000)]
Update the year

19 years agoMention subversion and provide access info. Remove mention of cvs.
Eric Andersen [Tue, 8 Feb 2005 20:27:08 +0000 (20:27 -0000)]
Mention subversion and provide access info.  Remove mention of cvs.
 -Erik

19 years ago- 1/NN patches for ssp
Ned Ludd [Tue, 8 Feb 2005 19:28:46 +0000 (19:28 -0000)]
- 1/NN patches for ssp

19 years agoUpdate release target for subversion
Eric Andersen [Tue, 8 Feb 2005 00:34:41 +0000 (00:34 -0000)]
Update release target for subversion

19 years agoadd notes about header generation
Mike Frysinger [Tue, 8 Feb 2005 00:25:15 +0000 (00:25 -0000)]
add notes about header generation

19 years ago- updated getent script to match behaviors of newer glibc getent. update from Peter...
Ned Ludd [Wed, 2 Feb 2005 14:18:01 +0000 (14:18 -0000)]
- updated getent script to match behaviors of newer glibc getent. update from Peter S. Mazinger

19 years agoFix death event reporting properly.
Joakim Tjernlund [Tue, 1 Feb 2005 16:43:29 +0000 (16:43 -0000)]
Fix death event reporting properly.
Now GDB is happy and death events are reported as
[Thread 5126 (LWP 192) exited]
without GDB bailing out.

19 years agoRestore it so we get gdb
Eric Andersen [Mon, 31 Jan 2005 17:53:01 +0000 (17:53 -0000)]
Restore it so we get gdb
    [Thread 1026 (Missing) exited]
messages again, while leaving the __linuxthreads_death_event()
call disabled, as it still breaks gdb.

19 years agoAlways use the target CC when generating include/bits/sysnum.h, since some
Eric Andersen [Mon, 31 Jan 2005 17:40:08 +0000 (17:40 -0000)]
Always use the target CC when generating include/bits/sysnum.h, since some
arches like mips have an include/asm/unistd.h that depends on #defines provided
only by gcc.  Therefore, since we may need to generate include/bits/sysnum.h
before the target CC is actually existant when bootstrapping a toolchain, we
must ensure that include/bits/sysnum.h is rebuilt every time we run make.
Sigh.  What a pain.
 -Erik

19 years agoSync with latest GLIBC.
Joakim Tjernlund [Mon, 31 Jan 2005 15:48:37 +0000 (15:48 -0000)]
Sync with latest GLIBC.

19 years agoOops, remove extra sigaddset() call. Don't know how that one got there.
Joakim Tjernlund [Mon, 31 Jan 2005 15:35:46 +0000 (15:35 -0000)]
Oops, remove extra sigaddset() call. Don't know how that one got there.

19 years agoHi Erik and Manuel
Eric Andersen [Sat, 29 Jan 2005 14:20:10 +0000 (14:20 -0000)]
Hi Erik and Manuel

Long time no see :)

It appears uClibc pthreads native debugging is broken w.r.t thread exit handling in
uClibc(at least on PPC). When debugging ex7, gdb(6.2.1) bails out as
soon as a thread exits. I found a comment in gdb that TD_DEATH handling was broken for
glibc 2.3.1, so I figured that maybe it was broken in uClibc also.

I added a #if 0 #endif in pthread_exit( see patch below) and then
gdb behaved again.

While looking into this I found a few differences( included in the patch)
between glibc and uClibc. Don't know if these makes a difference, but I leave that to
you to decide.

 Jocke

19 years agoUse HOSTCC for seting up the syscall list
Eric Andersen [Sat, 29 Jan 2005 12:08:54 +0000 (12:08 -0000)]
Use HOSTCC for seting up the syscall list

19 years agomerge parallel build support
Mike Frysinger [Sat, 29 Jan 2005 03:34:13 +0000 (03:34 -0000)]
merge parallel build support

19 years agomerge parallel build support
Mike Frysinger [Tue, 25 Jan 2005 03:17:00 +0000 (03:17 -0000)]
merge parallel build support

19 years agomake sure libdl static and shared targets are built properly
Mike Frysinger [Mon, 24 Jan 2005 23:20:56 +0000 (23:20 -0000)]
make sure libdl static and shared targets are built properly

19 years agoUse $(LN) rather than ln.
Peter Kjellerstedt [Mon, 24 Jan 2005 22:33:44 +0000 (22:33 -0000)]
Use $(LN) rather than ln.

19 years agoWhen there is no umount syscall, but umount2 is available, then
Eric Andersen [Sun, 23 Jan 2005 11:27:02 +0000 (11:27 -0000)]
When there is no umount syscall, but umount2 is available, then
try to emulate umount() using umount2()

19 years agoignore our headers hack
Mike Frysinger [Wed, 19 Jan 2005 23:44:14 +0000 (23:44 -0000)]
ignore our headers hack

19 years agoclean up dependencies so libraries are only rebuilt when needed and so that parallel...
Mike Frysinger [Wed, 19 Jan 2005 23:41:09 +0000 (23:41 -0000)]
clean up dependencies so libraries are only rebuilt when needed and so that parallel build works correctly

19 years agoadd a tiny hack so that the headers target isnt rebuilt all the time, only when it...
Mike Frysinger [Wed, 19 Jan 2005 23:40:41 +0000 (23:40 -0000)]
add a tiny hack so that the headers target isnt rebuilt all the time, only when it should be

19 years agobeautify
Mike Frysinger [Wed, 19 Jan 2005 23:39:48 +0000 (23:39 -0000)]
beautify

19 years agotouchup the dependencies so that the sysdeps object files will override the toplevel...
Mike Frysinger [Wed, 19 Jan 2005 23:38:33 +0000 (23:38 -0000)]
touchup the dependencies so that the sysdeps object files will override the toplevel linuxthreads generic object files

19 years agoAvoid compiler warnings.
Peter Kjellerstedt [Wed, 19 Jan 2005 10:31:51 +0000 (10:31 -0000)]
Avoid compiler warnings.

19 years agoUse Makefile if statements rather than their shell counterparts.
Peter Kjellerstedt [Wed, 19 Jan 2005 08:49:59 +0000 (08:49 -0000)]
Use Makefile if statements rather than their shell counterparts.

19 years agoMake it compile for architectures which have __UCLIBC_HAS_LFS__ defined,
Peter Kjellerstedt [Wed, 19 Jan 2005 07:48:00 +0000 (07:48 -0000)]
Make it compile for architectures which have __UCLIBC_HAS_LFS__ defined,
but neither __NR_fadvise64 nor __NR_fadvise64_64.

19 years agook, worry over race condition doesnt exist because we only have 1 subdir running...
Mike Frysinger [Wed, 19 Jan 2005 03:58:57 +0000 (03:58 -0000)]
ok, worry over race condition doesnt exist because we only have 1 subdir running $(AR), and the toplevel $(AR) isnt invoked until subdirs have finished

19 years agofix target dependencies to support parallel building
Mike Frysinger [Wed, 19 Jan 2005 01:47:58 +0000 (01:47 -0000)]
fix target dependencies to support parallel building

19 years agotweak dependencies so the archive is only rebuilt when the object files are updated
Mike Frysinger [Wed, 19 Jan 2005 01:36:59 +0000 (01:36 -0000)]
tweak dependencies so the archive is only rebuilt when the object files are updated

19 years agouse $(RANLIB)
Mike Frysinger [Wed, 19 Jan 2005 00:50:20 +0000 (00:50 -0000)]
use $(RANLIB)