OSDN Git Service
Mike Frysinger [Sat, 9 Jul 2005 00:57:49 +0000 (00:57 -0000)]
import the __syscall_error trick for errno handling
Mike Frysinger [Sat, 9 Jul 2005 00:54:07 +0000 (00:54 -0000)]
this should be able to handle both 32 and 64 bit sparc
Mike Frysinger [Sat, 9 Jul 2005 00:52:25 +0000 (00:52 -0000)]
drop the envp code
Mike Frysinger [Sat, 9 Jul 2005 00:47:30 +0000 (00:47 -0000)]
style updates
Mike Frysinger [Sat, 9 Jul 2005 00:36:34 +0000 (00:36 -0000)]
rewrite crt in asm using glibc as a basis
Mike Frysinger [Sat, 9 Jul 2005 00:34:34 +0000 (00:34 -0000)]
update style
Mike Frysinger [Sat, 9 Jul 2005 00:32:45 +0000 (00:32 -0000)]
make sure we use long instead of int so we dont truncate 64bit values
Mike Frysinger [Sat, 9 Jul 2005 00:31:31 +0000 (00:31 -0000)]
we need the syscall6() version of mmap
Mike Frysinger [Sat, 9 Jul 2005 00:30:56 +0000 (00:30 -0000)]
the generic mmap.c is not good enough for us, we need the syscall6() version
Mike Frysinger [Sat, 9 Jul 2005 00:30:03 +0000 (00:30 -0000)]
might as well test mmap64() too
Mike Frysinger [Sat, 9 Jul 2005 00:29:15 +0000 (00:29 -0000)]
make sure the call to signal() worked
Mike Frysinger [Sat, 9 Jul 2005 00:28:32 +0000 (00:28 -0000)]
need unistd/string header files
Mike Frysinger [Sat, 9 Jul 2005 00:28:20 +0000 (00:28 -0000)]
need the ioctl header file
Mike Frysinger [Sat, 9 Jul 2005 00:27:42 +0000 (00:27 -0000)]
setting envp is pointless since no other arch does it
Mike Frysinger [Fri, 8 Jul 2005 23:37:31 +0000 (23:37 -0000)]
oops, we want to jmp to the syscall handler, not call it
Mike Frysinger [Fri, 8 Jul 2005 05:26:20 +0000 (05:26 -0000)]
add some more useful debug output
Mike Frysinger [Fri, 8 Jul 2005 05:18:41 +0000 (05:18 -0000)]
err, x86_64 is RELA, not REL
Mike Frysinger [Fri, 8 Jul 2005 04:39:36 +0000 (04:39 -0000)]
need _DEBUG macros for NUMBER too
Mike Frysinger [Fri, 8 Jul 2005 04:00:05 +0000 (04:00 -0000)]
CRT0_ -> CRT_
Mike Frysinger [Fri, 8 Jul 2005 03:13:40 +0000 (03:13 -0000)]
whitespace clean up
Mike Frysinger [Fri, 8 Jul 2005 02:38:05 +0000 (02:38 -0000)]
help if i named the var correctly ...
Mike Frysinger [Fri, 8 Jul 2005 02:37:53 +0000 (02:37 -0000)]
help if i named the var correctly ...
Mike Frysinger [Fri, 8 Jul 2005 02:37:19 +0000 (02:37 -0000)]
dl-debug.h for sparc
Mike Frysinger [Fri, 8 Jul 2005 02:36:24 +0000 (02:36 -0000)]
dl-debug.h for m68k
Mike Frysinger [Fri, 8 Jul 2005 02:01:24 +0000 (02:01 -0000)]
fix GET_ARGV() so it pulls out the argc/argv/envp properly
Mike Frysinger [Thu, 7 Jul 2005 23:45:58 +0000 (23:45 -0000)]
get rid of arch-specific defines in dl-startup.c and make each arch declare its requirements about initial bootstrapping
Mike Frysinger [Thu, 7 Jul 2005 23:41:49 +0000 (23:41 -0000)]
add debug code for showing argc/argv/envp and touch up some other debug output
Mike Frysinger [Thu, 7 Jul 2005 23:35:39 +0000 (23:35 -0000)]
clean up whitespace
Mike Frysinger [Thu, 7 Jul 2005 23:34:29 +0000 (23:34 -0000)]
remove broken asm code in elf_machine_dynamic() and just do it the glibc way (since it works)
Mike Frysinger [Thu, 7 Jul 2005 23:30:36 +0000 (23:30 -0000)]
clean up from psm ... merge glibc updates and punt errno handling in favor of jockes trick of using __syscall_error
Mike Frysinger [Thu, 7 Jul 2005 23:29:52 +0000 (23:29 -0000)]
dont need errno.h anymore
Mike Frysinger [Thu, 7 Jul 2005 23:29:25 +0000 (23:29 -0000)]
add update from psm to support 6 arguments to syscall
Mike Frysinger [Thu, 7 Jul 2005 05:19:33 +0000 (05:19 -0000)]
update syntax
Mike Frysinger [Thu, 7 Jul 2005 05:13:25 +0000 (05:13 -0000)]
Yoshinori Sato writes:
Dont forgive that length of munmap is "0" in current nommu.
This purpose cannot free memory area really.
It is a patch to work out a solution.
Mike Frysinger [Thu, 7 Jul 2005 04:46:29 +0000 (04:46 -0000)]
make RUNPATH/RPATH support configurable
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
Mike Frysinger [Wed, 6 Jul 2005 22:47:33 +0000 (22:47 -0000)]
need features.h for the misc attribute defines and uclibc features
Mike Frysinger [Wed, 6 Jul 2005 22:47:10 +0000 (22:47 -0000)]
setup ELF_R_TYPE() wrapper for ELF{32,64}_R_TYPE()
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
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
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
Mike Frysinger [Wed, 6 Jul 2005 22:24:34 +0000 (22:24 -0000)]
Peter S. Mazinger writes: we dont need features.h
Mike Frysinger [Wed, 6 Jul 2005 22:22:22 +0000 (22:22 -0000)]
syntax touchups as suggested by Peter S. Mazinger
Mike Frysinger [Wed, 6 Jul 2005 05:33:37 +0000 (05:33 -0000)]
import start of ldso based on glibc
Mike Frysinger [Wed, 6 Jul 2005 05:22:48 +0000 (05:22 -0000)]
make sure ldso.o depends on more files in subdirs
Mike Frysinger [Wed, 6 Jul 2005 01:24:17 +0000 (01:24 -0000)]
use % as the function marker instead of @
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
Mike Frysinger [Wed, 6 Jul 2005 01:22:24 +0000 (01:22 -0000)]
we need stdio.h for printf()
Mike Frysinger [Wed, 6 Jul 2005 01:22:13 +0000 (01:22 -0000)]
make test failures fatal
Mike Frysinger [Mon, 4 Jul 2005 10:34:59 +0000 (10:34 -0000)]
import armeb fixes as outlined by John Bowler
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
Mike Frysinger [Sat, 2 Jul 2005 15:56:43 +0000 (15:56 -0000)]
move to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:51:20 +0000 (15:51 -0000)]
move to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:44:24 +0000 (15:44 -0000)]
move to new test framework
Mike Frysinger [Sat, 2 Jul 2005 15:36:20 +0000 (15:36 -0000)]
new testing framework to unify duplicated code in subdirs
Mike Frysinger [Sat, 2 Jul 2005 15:35:02 +0000 (15:35 -0000)]
exit according to how many tests failed
Mike Frysinger [Sat, 2 Jul 2005 15:17:16 +0000 (15:17 -0000)]
make sure we strip quotes from the cross compiler prefix
Mike Frysinger [Sat, 2 Jul 2005 15:12:12 +0000 (15:12 -0000)]
new testcase for clone()
Mike Frysinger [Sat, 2 Jul 2005 15:10:44 +0000 (15:10 -0000)]
sync with glibc
Mike Frysinger [Sat, 2 Jul 2005 14:40:30 +0000 (14:40 -0000)]
use new __always_inline define
Mike Frysinger [Sat, 2 Jul 2005 14:35:27 +0000 (14:35 -0000)]
use new __always_inline define
Mike Frysinger [Sat, 2 Jul 2005 14:34:39 +0000 (14:34 -0000)]
sync with glibc versions
Mike Frysinger [Sat, 2 Jul 2005 14:33:03 +0000 (14:33 -0000)]
use C style comments
Mike Frysinger [Sat, 2 Jul 2005 14:32:28 +0000 (14:32 -0000)]
sync with glibc
Mike Frysinger [Sat, 2 Jul 2005 14:31:47 +0000 (14:31 -0000)]
sync with glibc
Mike Frysinger [Fri, 1 Jul 2005 01:57:44 +0000 (01:57 -0000)]
enable clone.S
Mike Frysinger [Fri, 1 Jul 2005 01:57:35 +0000 (01:57 -0000)]
sync up against latest glibc and add errno handling
Mike Frysinger [Fri, 1 Jul 2005 00:35:16 +0000 (00:35 -0000)]
make 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
Mike Frysinger [Fri, 1 Jul 2005 00:34:13 +0000 (00:34 -0000)]
tweak whitespace/syntax
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
Mike Frysinger [Fri, 1 Jul 2005 00:29:21 +0000 (00:29 -0000)]
add a new option for enabling pthreads debug output
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
Mike Frysinger [Fri, 1 Jul 2005 00:26:56 +0000 (00:26 -0000)]
update the debug macros so they build with newer gcc versions
Mike Frysinger [Fri, 1 Jul 2005 00:23:19 +0000 (00:23 -0000)]
GNU libc -> glibc
Mike Frysinger [Fri, 1 Jul 2005 00:13:35 +0000 (00:13 -0000)]
use $(CROSS_COMPILER_PREFIX) by default for CROSS setting
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
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
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
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
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
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
Mike Frysinger [Thu, 30 Jun 2005 23:51:16 +0000 (23:51 -0000)]
type 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
Mike Frysinger [Thu, 30 Jun 2005 23:46:51 +0000 (23:46 -0000)]
remove unused variable
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
Mike Frysinger [Thu, 30 Jun 2005 23:45:45 +0000 (23:45 -0000)]
fix ALL_SUBDIRS/DIRS setting so clean always kills everything
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
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
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
Mike Frysinger [Thu, 30 Jun 2005 22:34:54 +0000 (22:34 -0000)]
fix typo in umount2() emulation of umount()
Mike Frysinger [Thu, 30 Jun 2005 22:34:00 +0000 (22:34 -0000)]
if the include files get updated we want to rebuild
Mike Frysinger [Thu, 30 Jun 2005 22:32:29 +0000 (22:32 -0000)]
create generic ELF_* macros to hide 32/64 bit differences
Mike Frysinger [Thu, 30 Jun 2005 22:29:02 +0000 (22:29 -0000)]
whitespace tweaks
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
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.
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
Mike Frysinger [Thu, 30 Jun 2005 04:16:22 +0000 (04:16 -0000)]
small whitespace fix
Mike Frysinger [Thu, 30 Jun 2005 04:12:48 +0000 (04:12 -0000)]
err revert %p->%x change since _dl_printf() is not fprintf()
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