OSDN Git Service

uclinux-h8/uClibc.git
18 years agoimport the rest of the glibc start.S so PIE works
Mike Frysinger [Thu, 14 Jul 2005 00:04:54 +0000 (00:04 -0000)]
import the rest of the glibc start.S so PIE works

18 years agoeat pointless whitespace
Mike Frysinger [Wed, 13 Jul 2005 04:13:03 +0000 (04:13 -0000)]
eat pointless whitespace

18 years agodump the address we transfer control to
Mike Frysinger [Wed, 13 Jul 2005 04:12:51 +0000 (04:12 -0000)]
dump the address we transfer control to

18 years agooops, fix typo in ELF_ST_BIND macros
Mike Frysinger [Wed, 13 Jul 2005 03:10:28 +0000 (03:10 -0000)]
oops, fix typo in ELF_ST_BIND macros

18 years agouse Elf32_Word instead of uint32_t since that is what the ELF spec refers to
Mike Frysinger [Wed, 13 Jul 2005 01:35:00 +0000 (01:35 -0000)]
use Elf32_Word instead of uint32_t since that is what the ELF spec refers to

18 years agouse wrapper debug macros to improve readability
Mike Frysinger [Tue, 12 Jul 2005 04:23:17 +0000 (04:23 -0000)]
use wrapper debug macros to improve readability

18 years agoimport fix from glibc to resolve segfault reported by wmq in Bug 335
Mike Frysinger [Tue, 12 Jul 2005 01:43:06 +0000 (01:43 -0000)]
import fix from glibc to resolve segfault reported by wmq in Bug 335

18 years agodont use void* when we know the type of pointer we want
Mike Frysinger [Mon, 11 Jul 2005 23:27:08 +0000 (23:27 -0000)]
dont use void* when we know the type of pointer we want

18 years agoforce hash buckets to work off of 32bit quantities
Mike Frysinger [Mon, 11 Jul 2005 23:25:00 +0000 (23:25 -0000)]
force hash buckets to work off of 32bit quantities

18 years agouse the debug dprint macros to clean up readability
Mike Frysinger [Mon, 11 Jul 2005 22:31:34 +0000 (22:31 -0000)]
use the debug dprint macros to clean up readability

18 years agouse the debug dprint macros to clean up readability
Mike Frysinger [Mon, 11 Jul 2005 22:29:29 +0000 (22:29 -0000)]
use the debug dprint macros to clean up readability

18 years agocreate a new wrapper macro for debug early output
Mike Frysinger [Mon, 11 Jul 2005 22:28:40 +0000 (22:28 -0000)]
create a new wrapper macro for debug early output

18 years agominor touchups in debug output/comments
Mike Frysinger [Mon, 11 Jul 2005 22:14:53 +0000 (22:14 -0000)]
minor touchups in debug output/comments

18 years agobase __rtld_stack_end off of argv instead of args so we dont have to worry about...
Mike Frysinger [Mon, 11 Jul 2005 22:13:30 +0000 (22:13 -0000)]
base __rtld_stack_end off of argv instead of args so we dont have to worry about how each arch treats args

18 years agodeclare reloc_addr as ElfW(Addr) instead of Word since it is an Addr, not a Word...
Mike Frysinger [Mon, 11 Jul 2005 22:08:35 +0000 (22:08 -0000)]
declare reloc_addr as ElfW(Addr) instead of Word since it is an Addr, not a Word (and it will truncate addresses on 64bit hosts)

18 years agomake sure the SEND_NUMBER_STDERR macro doesnt modify the number given to it
Mike Frysinger [Mon, 11 Jul 2005 22:04:57 +0000 (22:04 -0000)]
make sure the SEND_NUMBER_STDERR macro doesnt modify the number given to it

18 years agoadd some info on what needs to be done for specific arches
Mike Frysinger [Sun, 10 Jul 2005 07:21:07 +0000 (07:21 -0000)]
add some info on what needs to be done for specific arches

18 years agoneed syscall.h for __NR_clone definition
Mike Frysinger [Sun, 10 Jul 2005 07:15:35 +0000 (07:15 -0000)]
need syscall.h for __NR_clone definition

18 years ago define an abort instruction for m68k
Mike Frysinger [Sun, 10 Jul 2005 06:59:41 +0000 (06:59 -0000)]
 define an abort instruction for m68k

18 years agodefine an abort instruction for alpha
Mike Frysinger [Sun, 10 Jul 2005 06:57:25 +0000 (06:57 -0000)]
define an abort instruction for alpha

18 years agoalphabetize and warn if an arch is undefined
Mike Frysinger [Sun, 10 Jul 2005 06:54:30 +0000 (06:54 -0000)]
alphabetize and warn if an arch is undefined

18 years agomerge updates from glibc and fix up to work again
Mike Frysinger [Sun, 10 Jul 2005 06:44:02 +0000 (06:44 -0000)]
merge updates from glibc and fix up to work again

18 years agoupdate __UCLIBC_CTOR_DTOR__ check
Mike Frysinger [Sun, 10 Jul 2005 06:25:50 +0000 (06:25 -0000)]
update __UCLIBC_CTOR_DTOR__ check

18 years agopunt unused __pthread_return_void func
Mike Frysinger [Sat, 9 Jul 2005 16:51:22 +0000 (16:51 -0000)]
punt unused __pthread_return_void func

18 years agoimport the __syscall_error trick for errno handling
Mike Frysinger [Sat, 9 Jul 2005 00:57:49 +0000 (00:57 -0000)]
import the __syscall_error trick for errno handling

18 years agothis should be able to handle both 32 and 64 bit sparc
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

18 years agodrop the envp code
Mike Frysinger [Sat, 9 Jul 2005 00:52:25 +0000 (00:52 -0000)]
drop the envp code

18 years agostyle updates
Mike Frysinger [Sat, 9 Jul 2005 00:47:30 +0000 (00:47 -0000)]
style updates

18 years agorewrite crt in asm using glibc as a basis
Mike Frysinger [Sat, 9 Jul 2005 00:36:34 +0000 (00:36 -0000)]
rewrite crt in asm using glibc as a basis

18 years agoupdate style
Mike Frysinger [Sat, 9 Jul 2005 00:34:34 +0000 (00:34 -0000)]
update style

18 years agomake sure we use long instead of int so we dont truncate 64bit values
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

18 years agowe need the syscall6() version of mmap
Mike Frysinger [Sat, 9 Jul 2005 00:31:31 +0000 (00:31 -0000)]
we need the syscall6() version of mmap

18 years agothe generic mmap.c is not good enough for us, we need the syscall6() version
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

18 years agomight as well test mmap64() too
Mike Frysinger [Sat, 9 Jul 2005 00:30:03 +0000 (00:30 -0000)]
might as well test mmap64() too

18 years agomake sure the call to signal() worked
Mike Frysinger [Sat, 9 Jul 2005 00:29:15 +0000 (00:29 -0000)]
make sure the call to signal() worked

18 years agoneed unistd/string header files
Mike Frysinger [Sat, 9 Jul 2005 00:28:32 +0000 (00:28 -0000)]
need unistd/string header files

18 years agoneed the ioctl header file
Mike Frysinger [Sat, 9 Jul 2005 00:28:20 +0000 (00:28 -0000)]
need the ioctl header file

18 years agosetting envp is pointless since no other arch does it
Mike Frysinger [Sat, 9 Jul 2005 00:27:42 +0000 (00:27 -0000)]
setting envp is pointless since no other arch does it

18 years agooops, we want to jmp to the syscall handler, not call 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

18 years agoadd some more useful debug output
Mike Frysinger [Fri, 8 Jul 2005 05:26:20 +0000 (05:26 -0000)]
add some more useful debug output

18 years agoerr, x86_64 is RELA, not REL
Mike Frysinger [Fri, 8 Jul 2005 05:18:41 +0000 (05:18 -0000)]
err, x86_64 is RELA, not REL

18 years agoneed _DEBUG macros for NUMBER too
Mike Frysinger [Fri, 8 Jul 2005 04:39:36 +0000 (04:39 -0000)]
need _DEBUG macros for NUMBER too

18 years agoCRT0_ -> CRT_
Mike Frysinger [Fri, 8 Jul 2005 04:00:05 +0000 (04:00 -0000)]
CRT0_ -> CRT_

18 years agowhitespace clean up
Mike Frysinger [Fri, 8 Jul 2005 03:13:40 +0000 (03:13 -0000)]
whitespace clean up

18 years agohelp if i named the var correctly ...
Mike Frysinger [Fri, 8 Jul 2005 02:38:05 +0000 (02:38 -0000)]
help if i named the var correctly ...

18 years agohelp 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 ...

18 years agodl-debug.h for sparc
Mike Frysinger [Fri, 8 Jul 2005 02:37:19 +0000 (02:37 -0000)]
dl-debug.h for sparc

18 years agodl-debug.h for m68k
Mike Frysinger [Fri, 8 Jul 2005 02:36:24 +0000 (02:36 -0000)]
dl-debug.h for m68k

18 years agofix GET_ARGV() so it pulls out the argc/argv/envp properly
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

18 years agoget rid of arch-specific defines in dl-startup.c and make each arch declare its requi...
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

18 years agoadd debug code for showing argc/argv/envp and touch up some other debug output
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

18 years agoclean up whitespace
Mike Frysinger [Thu, 7 Jul 2005 23:35:39 +0000 (23:35 -0000)]
clean up whitespace

18 years agoremove broken asm code in elf_machine_dynamic() and just do it the glibc way (since...
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)

18 years agoclean up from psm ... merge glibc updates and punt errno handling in favor of jockes...
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

18 years agodont need errno.h anymore
Mike Frysinger [Thu, 7 Jul 2005 23:29:52 +0000 (23:29 -0000)]
dont need errno.h anymore

18 years agoadd update from psm to support 6 arguments to syscall
Mike Frysinger [Thu, 7 Jul 2005 23:29:25 +0000 (23:29 -0000)]
add update from psm to support 6 arguments to syscall

18 years agoupdate syntax
Mike Frysinger [Thu, 7 Jul 2005 05:19:33 +0000 (05:19 -0000)]
update syntax

18 years agoYoshinori Sato writes:
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.

18 years agomake RUNPATH/RPATH support configurable
Mike Frysinger [Thu, 7 Jul 2005 04:46:29 +0000 (04:46 -0000)]
make RUNPATH/RPATH support configurable

18 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

18 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

18 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()

18 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

18 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

18 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

18 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

18 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

18 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

18 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

18 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 @

18 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

18 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()

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

18 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

18 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

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

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

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

18 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

18 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

18 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

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

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

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

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

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

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

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

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

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

18 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

18 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

18 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

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

18 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

18 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

18 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

18 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

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

18 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