OSDN Git Service

uclinux-h8/uclibc-ng.git
19 years agomake RUNPATH/RPATH support configurable
Mike Frysinger [Thu, 7 Jul 2005 04:46:29 +0000 (04:46 -0000)]
make RUNPATH/RPATH support configurable

19 years agorip out all the duplicated debug code and move into a shared file
Mike Frysinger [Thu, 7 Jul 2005 00:14:11 +0000 (00:14 -0000)]
rip out all the duplicated debug code and move into a shared file

19 years agoneed features.h for the misc attribute defines and uclibc features
Mike Frysinger [Wed, 6 Jul 2005 22:47:33 +0000 (22:47 -0000)]
need features.h for the misc attribute defines and uclibc features

19 years agosetup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()
Mike Frysinger [Wed, 6 Jul 2005 22:47:10 +0000 (22:47 -0000)]
setup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()

19 years agoupdate comments/syntax and make sure we include features.h for the hidden define
Mike Frysinger [Wed, 6 Jul 2005 22:43:22 +0000 (22:43 -0000)]
update comments/syntax and make sure we include features.h for the hidden define

19 years agoPeter S. Mazinger writes: use the __syscall_error.c trick to handle setting errno
Mike Frysinger [Wed, 6 Jul 2005 22:40:33 +0000 (22:40 -0000)]
Peter S. Mazinger writes: use the __syscall_error.c trick to handle setting errno

19 years agoerr, need to commit the rest of the changes from psm too
Mike Frysinger [Wed, 6 Jul 2005 22:26:19 +0000 (22:26 -0000)]
err, need to commit the rest of the changes from psm too

19 years agoPeter S. Mazinger writes: we dont need features.h
Mike Frysinger [Wed, 6 Jul 2005 22:24:34 +0000 (22:24 -0000)]
Peter S. Mazinger writes: we dont need features.h

19 years agosyntax touchups as suggested by Peter S. Mazinger
Mike Frysinger [Wed, 6 Jul 2005 22:22:22 +0000 (22:22 -0000)]
syntax touchups as suggested by Peter S. Mazinger

19 years agoimport start of ldso based on glibc
Mike Frysinger [Wed, 6 Jul 2005 05:33:37 +0000 (05:33 -0000)]
import start of ldso based on glibc

19 years agomake sure ldso.o depends on more files in subdirs
Mike Frysinger [Wed, 6 Jul 2005 05:22:48 +0000 (05:22 -0000)]
make sure ldso.o depends on more files in subdirs

19 years agouse % as the function marker instead of @
Mike Frysinger [Wed, 6 Jul 2005 01:24:17 +0000 (01:24 -0000)]
use % as the function marker instead of @

19 years agoadd support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc test wont...
Mike Frysinger [Wed, 6 Jul 2005 01:23:08 +0000 (01:23 -0000)]
add support for __MALLOC_GLIBC_COMPAT__ (malloc(0) == NULL) so the malloc test wont fail

19 years agowe need stdio.h for printf()
Mike Frysinger [Wed, 6 Jul 2005 01:22:24 +0000 (01:22 -0000)]
we need stdio.h for printf()

19 years agomake test failures fatal
Mike Frysinger [Wed, 6 Jul 2005 01:22:13 +0000 (01:22 -0000)]
make test failures fatal

19 years agoimport armeb fixes as outlined by John Bowler
Mike Frysinger [Mon, 4 Jul 2005 10:34:59 +0000 (10:34 -0000)]
import armeb fixes as outlined by John Bowler

19 years agouse the a_val member instead of a_ptr/a_fcn since newer elf defines dropped the other...
Mike Frysinger [Mon, 4 Jul 2005 05:51:37 +0000 (05:51 -0000)]
use the a_val member instead of a_ptr/a_fcn since newer elf defines dropped the other values

19 years agomove to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:56:43 +0000 (15:56 -0000)]
move to new test framework

19 years agomove to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:51:20 +0000 (15:51 -0000)]
move to new test framework

19 years agomove to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:44:24 +0000 (15:44 -0000)]
move to new test framework

19 years agonew testing framework to unify duplicated code in subdirs
Mike Frysinger [Sat, 2 Jul 2005 15:36:20 +0000 (15:36 -0000)]
new testing framework to unify duplicated code in subdirs

19 years agoexit according to how many tests failed
Mike Frysinger [Sat, 2 Jul 2005 15:35:02 +0000 (15:35 -0000)]
exit according to how many tests failed

19 years agomake sure we strip quotes from the cross compiler prefix
Mike Frysinger [Sat, 2 Jul 2005 15:17:16 +0000 (15:17 -0000)]
make sure we strip quotes from the cross compiler prefix

19 years agonew testcase for clone()
Mike Frysinger [Sat, 2 Jul 2005 15:12:12 +0000 (15:12 -0000)]
new testcase for clone()

19 years agosync with glibc
Mike Frysinger [Sat, 2 Jul 2005 15:10:44 +0000 (15:10 -0000)]
sync with glibc

19 years agouse new __always_inline define
Mike Frysinger [Sat, 2 Jul 2005 14:40:30 +0000 (14:40 -0000)]
use new __always_inline define

19 years agouse new __always_inline define
Mike Frysinger [Sat, 2 Jul 2005 14:35:27 +0000 (14:35 -0000)]
use new __always_inline define

19 years agosync with glibc versions
Mike Frysinger [Sat, 2 Jul 2005 14:34:39 +0000 (14:34 -0000)]
sync with glibc versions

19 years agouse C style comments
Mike Frysinger [Sat, 2 Jul 2005 14:33:03 +0000 (14:33 -0000)]
use C style comments

19 years agosync with glibc
Mike Frysinger [Sat, 2 Jul 2005 14:32:28 +0000 (14:32 -0000)]
sync with glibc

19 years agosync with glibc
Mike Frysinger [Sat, 2 Jul 2005 14:31:47 +0000 (14:31 -0000)]
sync with glibc

19 years agoenable clone.S
Mike Frysinger [Fri, 1 Jul 2005 01:57:44 +0000 (01:57 -0000)]
enable clone.S

19 years agosync up against latest glibc and add errno handling
Mike Frysinger [Fri, 1 Jul 2005 01:57:35 +0000 (01:57 -0000)]
sync up against latest glibc and add errno handling

19 years agomake sure we include features.h to get the hidden define
Mike Frysinger [Fri, 1 Jul 2005 00:35:16 +0000 (00:35 -0000)]
make sure we include features.h to get the hidden define

19 years agomake sure we include features.h to get the hidden define
Mike Frysinger [Fri, 1 Jul 2005 00:34:37 +0000 (00:34 -0000)]
make sure we include features.h to get the hidden define

19 years agotweak whitespace/syntax
Mike Frysinger [Fri, 1 Jul 2005 00:34:13 +0000 (00:34 -0000)]
tweak whitespace/syntax

19 years agoremove errno include since we dont use any errno stuff, remove #error left behind...
Mike Frysinger [Fri, 1 Jul 2005 00:33:24 +0000 (00:33 -0000)]
remove errno include since we dont use any errno stuff, remove #error left behind, and touchup syntax

19 years agoadd a new option for enabling pthreads debug output
Mike Frysinger [Fri, 1 Jul 2005 00:29:21 +0000 (00:29 -0000)]
add a new option for enabling pthreads debug output

19 years agowe have to depend on BUILD_UCLIBC_LDSO in order for the makeconfig output to look...
Mike Frysinger [Fri, 1 Jul 2005 00:28:10 +0000 (00:28 -0000)]
we have to depend on BUILD_UCLIBC_LDSO in order for the makeconfig output to look right

19 years agoupdate the debug macros so they build with newer gcc versions
Mike Frysinger [Fri, 1 Jul 2005 00:26:56 +0000 (00:26 -0000)]
update the debug macros so they build with newer gcc versions

19 years agoGNU libc -> glibc
Mike Frysinger [Fri, 1 Jul 2005 00:23:19 +0000 (00:23 -0000)]
GNU libc -> glibc

19 years agouse $(CROSS_COMPILER_PREFIX) by default for CROSS setting
Mike Frysinger [Fri, 1 Jul 2005 00:13:35 +0000 (00:13 -0000)]
use $(CROSS_COMPILER_PREFIX) by default for CROSS setting

19 years agoreenable the glibc portion of the test so that we can do a non-interactive/silent...
Mike Frysinger [Fri, 1 Jul 2005 00:11:30 +0000 (00:11 -0000)]
reenable the glibc portion of the test so that we can do a non-interactive/silent comparison between uclibc and glibc results

19 years agoupdate tests to check exit status and abort only if things didnt work correctly
Mike Frysinger [Fri, 1 Jul 2005 00:10:16 +0000 (00:10 -0000)]
update tests to check exit status and abort only if things didnt work correctly

19 years agomake the test silent/non-interactive and only abort if it actually fails
Mike Frysinger [Fri, 1 Jul 2005 00:09:25 +0000 (00:09 -0000)]
make the test silent/non-interactive and only abort if it actually fails

19 years agomake test output nicer so its easier to go through a log of `make -s` and find out...
Mike Frysinger [Fri, 1 Jul 2005 00:08:24 +0000 (00:08 -0000)]
make test output nicer so its easier to go through a log of `make -s` and find out what works/fails

19 years agoremove old depend on Config and make it so that a test failure aborts the make process
Mike Frysinger [Fri, 1 Jul 2005 00:02:24 +0000 (00:02 -0000)]
remove old depend on Config and make it so that a test failure aborts the make process

19 years agodont try to run ldd if LDSO_LDD_SUPPORT is disabled in .config
Mike Frysinger [Thu, 30 Jun 2005 23:51:50 +0000 (23:51 -0000)]
dont try to run ldd if LDSO_LDD_SUPPORT is disabled in .config

19 years agotype cast output to prevent build warnings
Mike Frysinger [Thu, 30 Jun 2005 23:51:16 +0000 (23:51 -0000)]
type cast output to prevent build warnings

19 years agotype cast output to prevent build warnings
Mike Frysinger [Thu, 30 Jun 2005 23:51:06 +0000 (23:51 -0000)]
type cast output to prevent build warnings

19 years agoremove unused variable
Mike Frysinger [Thu, 30 Jun 2005 23:46:51 +0000 (23:46 -0000)]
remove unused variable

19 years agofix type casting so we dont have any warnings on 32/64 bit arches
Mike Frysinger [Thu, 30 Jun 2005 23:46:27 +0000 (23:46 -0000)]
fix type casting so we dont have any warnings on 32/64 bit arches

19 years agofix ALL_SUBDIRS/DIRS setting so clean always kills everything
Mike Frysinger [Thu, 30 Jun 2005 23:45:45 +0000 (23:45 -0000)]
fix ALL_SUBDIRS/DIRS setting so clean always kills everything

19 years agoexit with an error if thread functions failed so make can detect the problem
Mike Frysinger [Thu, 30 Jun 2005 23:40:40 +0000 (23:40 -0000)]
exit with an error if thread functions failed so make can detect the problem

19 years agooops, we dont want to use relative paths for the header files
Mike Frysinger [Thu, 30 Jun 2005 22:43:14 +0000 (22:43 -0000)]
oops, we dont want to use relative paths for the header files

19 years agoremove pointless exit 1 ... if $(AR) fails then make will abort ok
Mike Frysinger [Thu, 30 Jun 2005 22:35:43 +0000 (22:35 -0000)]
remove pointless exit 1 ... if $(AR) fails then make will abort ok

19 years agofix typo in umount2() emulation of umount()
Mike Frysinger [Thu, 30 Jun 2005 22:34:54 +0000 (22:34 -0000)]
fix typo in umount2() emulation of umount()

19 years agoif the include files get updated we want to rebuild
Mike Frysinger [Thu, 30 Jun 2005 22:34:00 +0000 (22:34 -0000)]
if the include files get updated we want to rebuild

19 years agocreate generic ELF_* macros to hide 32/64 bit differences
Mike Frysinger [Thu, 30 Jun 2005 22:32:29 +0000 (22:32 -0000)]
create generic ELF_* macros to hide 32/64 bit differences

19 years agowhitespace tweaks
Mike Frysinger [Thu, 30 Jun 2005 22:29:02 +0000 (22:29 -0000)]
whitespace tweaks

19 years agochange all Elf32_* usage to ElfW(*) usage since we shouldnt care about the bitsize
Mike Frysinger [Thu, 30 Jun 2005 22:03:11 +0000 (22:03 -0000)]
change all Elf32_* usage to ElfW(*) usage since we shouldnt care about the bitsize

19 years agoQuick and dirty hack to prevent ld.so from beeing loaded twice.
Joakim Tjernlund [Thu, 30 Jun 2005 11:27:24 +0000 (11:27 -0000)]
Quick and dirty hack to prevent ld.so from beeing loaded twice.
Bug exposed by the new __libc_stack_end feature in libc.so.

19 years agotypecast to long instead of int so pointers on 64bit arches can be typecast safely
Mike Frysinger [Thu, 30 Jun 2005 04:47:50 +0000 (04:47 -0000)]
typecast to long instead of int so pointers on 64bit arches can be typecast safely

19 years agosmall whitespace fix
Mike Frysinger [Thu, 30 Jun 2005 04:16:22 +0000 (04:16 -0000)]
small whitespace fix

19 years agoerr revert %p->%x change since _dl_printf() is not fprintf()
Mike Frysinger [Thu, 30 Jun 2005 04:12:48 +0000 (04:12 -0000)]
err revert %p->%x change since _dl_printf() is not fprintf()

19 years agouse %p instead of %x to show addresses so we dont have to worry about the sizeof...
Mike Frysinger [Thu, 30 Jun 2005 04:08:19 +0000 (04:08 -0000)]
use %p instead of %x to show addresses so we dont have to worry about the sizeof pointers

19 years agouse %p instead of %x to show addresses so we dont have to worry about the sizeof...
Mike Frysinger [Thu, 30 Jun 2005 04:05:52 +0000 (04:05 -0000)]
use %p instead of %x to show addresses so we dont have to worry about the sizeof pointers

19 years agoThe function '_dl_memset' should always be inlined regardless of the
"Steven J. Hill" [Thu, 30 Jun 2005 02:26:21 +0000 (02:26 -0000)]
The function '_dl_memset' should always be inlined regardless of the
optimization level chosen. This allows uClibc to be compiled with the
latest GCC-4.1.0. While tracking down the specific culprit causing
the segmentation fault of the dynamic loader with GCC-4.1.0 I was
able to force inlining of other functions such that I shaved 512 bytes
off the size of the loader, yay. Also fixed warning in 'dl-hash.c'.

19 years agoOops, fix link fail.
Joakim Tjernlund [Thu, 30 Jun 2005 00:18:51 +0000 (00:18 -0000)]
Oops, fix link fail.

19 years agoAdd __libc_stack_end to libc.
Joakim Tjernlund [Wed, 29 Jun 2005 23:21:45 +0000 (23:21 -0000)]
Add __libc_stack_end to libc.

19 years agoneed stdlib.h for some things
Mike Frysinger [Wed, 29 Jun 2005 23:12:02 +0000 (23:12 -0000)]
need stdlib.h for some things

19 years agoneed to include string.h for some mem funcs
Mike Frysinger [Wed, 29 Jun 2005 23:11:41 +0000 (23:11 -0000)]
need to include string.h for some mem funcs

19 years agosimplify TESTDIR setting and touchup
Mike Frysinger [Wed, 29 Jun 2005 23:10:59 +0000 (23:10 -0000)]
simplify TESTDIR setting and touchup

19 years agoclean up and use topdir .config instead of local Config
Mike Frysinger [Wed, 29 Jun 2005 23:06:49 +0000 (23:06 -0000)]
clean up and use topdir .config instead of local Config

19 years agotouchup syntax
Mike Frysinger [Wed, 29 Jun 2005 22:58:06 +0000 (22:58 -0000)]
touchup syntax

19 years agotouchups syntax and fix warning when using 64bit arches
Mike Frysinger [Wed, 29 Jun 2005 22:44:26 +0000 (22:44 -0000)]
touchups syntax and fix warning when using 64bit arches

19 years agodeclare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off
Joakim Tjernlund [Wed, 29 Jun 2005 22:42:27 +0000 (22:42 -0000)]
declare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off

19 years agoneed to include features.h to get uclibc defines
Mike Frysinger [Wed, 29 Jun 2005 22:30:12 +0000 (22:30 -0000)]
need to include features.h to get uclibc defines

19 years agoneed to include features.h to get uclibc defines
Mike Frysinger [Wed, 29 Jun 2005 22:24:53 +0000 (22:24 -0000)]
need to include features.h to get uclibc defines

19 years agoprevious commit of trimming __IPC_64 wasnt quite correct ... rework __IPC_64 so that...
Mike Frysinger [Wed, 29 Jun 2005 22:17:49 +0000 (22:17 -0000)]
previous commit of trimming __IPC_64 wasnt quite correct ... rework __IPC_64 so that it will compile and it is correct

19 years agoif both __NR_send and __NR_socketcall do not exist, fall back to __NR_sendto (same...
Mike Frysinger [Wed, 29 Jun 2005 22:09:29 +0000 (22:09 -0000)]
if both __NR_send and __NR_socketcall do not exist, fall back to __NR_sendto (same goes for recv/recvfrom)

19 years agoMinor cleanup.
Joakim Tjernlund [Wed, 29 Jun 2005 20:13:21 +0000 (20:13 -0000)]
Minor cleanup.

19 years agosyntax tweaks
Mike Frysinger [Wed, 29 Jun 2005 02:12:50 +0000 (02:12 -0000)]
syntax tweaks

19 years agoupdate Makefile to match ppc and new files
Mike Frysinger [Wed, 29 Jun 2005 00:58:06 +0000 (00:58 -0000)]
update Makefile to match ppc and new files

19 years agomake sure we setup stat64 too
Mike Frysinger [Wed, 29 Jun 2005 00:57:46 +0000 (00:57 -0000)]
make sure we setup stat64 too

19 years agoadd syscall error handling with jockes simple errno setting solution
Mike Frysinger [Wed, 29 Jun 2005 00:56:09 +0000 (00:56 -0000)]
add syscall error handling with jockes simple errno setting solution

19 years agounneeded quotes
Mike Frysinger [Wed, 29 Jun 2005 00:55:04 +0000 (00:55 -0000)]
unneeded quotes

19 years agorename crt0.S to crt1.S and clean up so it actually works :)
Mike Frysinger [Wed, 29 Jun 2005 00:54:38 +0000 (00:54 -0000)]
rename crt0.S to crt1.S and clean up so it actually works :)

19 years agodeclare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off
Mike Frysinger [Wed, 29 Jun 2005 00:43:31 +0000 (00:43 -0000)]
declare init/fini as weak if __UCLIBC_CTOR_DTOR__ is turned off

19 years agocast buf as void* to fix warning
Mike Frysinger [Wed, 29 Jun 2005 00:37:19 +0000 (00:37 -0000)]
cast buf as void* to fix warning

19 years agoalways define __IPC_64 regardless of __NR_ipc
Mike Frysinger [Wed, 29 Jun 2005 00:33:06 +0000 (00:33 -0000)]
always define __IPC_64 regardless of __NR_ipc

19 years agotweak to get rid of warning when TZ is disabled
Mike Frysinger [Wed, 29 Jun 2005 00:26:18 +0000 (00:26 -0000)]
tweak to get rid of warning when TZ is disabled

19 years agowhitespace/syntax updates
Mike Frysinger [Wed, 29 Jun 2005 00:25:29 +0000 (00:25 -0000)]
whitespace/syntax updates

19 years agoif we have a signal handler in place to cover SIGABRT, we have to make sure the code...
Mike Frysinger [Wed, 29 Jun 2005 00:20:39 +0000 (00:20 -0000)]
if we have a signal handler in place to cover SIGABRT, we have to make sure the code that unregisters it raises SIGABRT again so the program actually aborts

19 years agoifdef out check which always fails
Mike Frysinger [Wed, 29 Jun 2005 00:18:33 +0000 (00:18 -0000)]
ifdef out check which always fails

19 years agoalso symlink asm-$TARGET_ARCH if it exists
Mike Frysinger [Wed, 29 Jun 2005 00:17:40 +0000 (00:17 -0000)]
also symlink asm-$TARGET_ARCH if it exists

19 years agoremove __IPC_64 in syscall() macro since real 64bit arches dont need it (and it doesn...
Mike Frysinger [Mon, 27 Jun 2005 23:31:24 +0000 (23:31 -0000)]
remove __IPC_64 in syscall() macro since real 64bit arches dont need it (and it doesnt compile)

19 years agoAdd __libc_stack_end to ld.so. The libc.a version remains to do.
Joakim Tjernlund [Mon, 27 Jun 2005 22:20:44 +0000 (22:20 -0000)]
Add __libc_stack_end to ld.so. The libc.a version remains to do.
sjhill, feel free to comment :)

19 years agoOops.
Joakim Tjernlund [Sun, 26 Jun 2005 07:52:45 +0000 (07:52 -0000)]
Oops.

19 years agostack_end in __uClibc_main must point to where argc is.
Joakim Tjernlund [Sun, 26 Jun 2005 00:11:34 +0000 (00:11 -0000)]
stack_end in __uClibc_main must point to where argc is.