Mike Frysinger
|
bda3391b23
base __rtld_stack_end off of argv instead of args so we dont have to worry about how each arch treats args
|
19 years ago |
Mike Frysinger
|
f4d9a266b9
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)
|
19 years ago |
Mike Frysinger
|
bdf82cbbc1
make sure the SEND_NUMBER_STDERR macro doesnt modify the number given to it
|
19 years ago |
Mike Frysinger
|
128d0c53cc
add some info on what needs to be done for specific arches
|
19 years ago |
Mike Frysinger
|
582cf4bdc3
need syscall.h for __NR_clone definition
|
19 years ago |
Mike Frysinger
|
c9bb4e57f4
define an abort instruction for m68k
|
19 years ago |
Mike Frysinger
|
5473efd367
define an abort instruction for alpha
|
19 years ago |
Mike Frysinger
|
42ed684f69
alphabetize and warn if an arch is undefined
|
19 years ago |
Mike Frysinger
|
df48714b9b
merge updates from glibc and fix up to work again
|
19 years ago |
Mike Frysinger
|
0f2ea84cef
update __UCLIBC_CTOR_DTOR__ check
|
19 years ago |
Mike Frysinger
|
a8ac67a474
punt unused __pthread_return_void func
|
19 years ago |
Mike Frysinger
|
0f40e2b464
import the __syscall_error trick for errno handling
|
19 years ago |
Mike Frysinger
|
c7f096da1a
this should be able to handle both 32 and 64 bit sparc
|
19 years ago |
Mike Frysinger
|
c574991ee7
drop the envp code
|
19 years ago |
Mike Frysinger
|
3807152f3b
style updates
|
19 years ago |
Mike Frysinger
|
e6929d2898
rewrite crt in asm using glibc as a basis
|
19 years ago |
Mike Frysinger
|
6275ec5d02
update style
|
19 years ago |
Mike Frysinger
|
911e3b1d97
make sure we use long instead of int so we dont truncate 64bit values
|
19 years ago |
Mike Frysinger
|
0fba5565ba
we need the syscall6() version of mmap
|
19 years ago |
Mike Frysinger
|
5303a70090
the generic mmap.c is not good enough for us, we need the syscall6() version
|
19 years ago |
Mike Frysinger
|
d29acb5c67
might as well test mmap64() too
|
19 years ago |
Mike Frysinger
|
ab53024397
make sure the call to signal() worked
|
19 years ago |
Mike Frysinger
|
1ff4b6bb11
need unistd/string header files
|
19 years ago |
Mike Frysinger
|
0f6b97d4de
need the ioctl header file
|
19 years ago |
Mike Frysinger
|
794fe95b6c
setting envp is pointless since no other arch does it
|
19 years ago |
Mike Frysinger
|
f983b69c2b
oops, we want to jmp to the syscall handler, not call it
|
19 years ago |
Mike Frysinger
|
63b5253012
add some more useful debug output
|
19 years ago |
Mike Frysinger
|
935404384b
err, x86_64 is RELA, not REL
|
19 years ago |
Mike Frysinger
|
28ecffc3d9
need _DEBUG macros for NUMBER too
|
19 years ago |
Mike Frysinger
|
07acc79215
CRT0_ -> CRT_
|
19 years ago |