OSDN Git Service

uclinux-h8/uclibc-ng.git
18 years agosjhill appears confused. vapier's earlier commit of string.h was broken.
Manuel Novoa III [Sat, 30 Jul 2005 01:02:57 +0000 (01:02 -0000)]
sjhill appears confused.  vapier's earlier commit of string.h was broken.
But I fixed it, and tested both x86 (locale) and mipsel before I commited
the fixes.  Just built with gcc 4.0.1 to see if that was the cause of
his problems, but x86 (locale) built fine.  So revert his last change.

18 years agoThe newly added __glibc_strerror_r function is probably fine, but the
"Steven J. Hill" [Sat, 30 Jul 2005 00:03:07 +0000 (00:03 -0000)]
The newly added __glibc_strerror_r function is probably fine, but the
uClibc did not even compile or link without errors. This fixes that
up. Please test more thoroughly next time.

18 years agoas pointed out by khem/ngupta, ARM926T should be march armv5 instead of armv4
Mike Frysinger [Fri, 29 Jul 2005 22:50:40 +0000 (22:50 -0000)]
as pointed out by khem/ngupta, ARM926T should be march armv5 instead of armv4

18 years agoRemove unused include directory.
"Steven J. Hill" [Fri, 29 Jul 2005 22:48:34 +0000 (22:48 -0000)]
Remove unused include directory.

18 years agoremove outdated comment and announce support for nanoseconds
Mike Frysinger [Fri, 29 Jul 2005 22:14:34 +0000 (22:14 -0000)]
remove outdated comment and announce support for nanoseconds

18 years agowe are handed errno as a negative value so we need to reverse it
Mike Frysinger [Fri, 29 Jul 2005 22:14:23 +0000 (22:14 -0000)]
we are handed errno as a negative value so we need to reverse it

18 years agoexport PIEFLAG and the noexecstack AS test so that gcc/as arent executed in every...
Mike Frysinger [Fri, 29 Jul 2005 04:58:15 +0000 (04:58 -0000)]
export PIEFLAG and the noexecstack AS test so that gcc/as arent executed in every subdir

18 years agofinish cleaning up the PIE flag checks
Mike Frysinger [Fri, 29 Jul 2005 03:44:35 +0000 (03:44 -0000)]
finish cleaning up the PIE flag checks

18 years agoget rid of LDPIEFLAG since PIEFLAG is already used
Mike Frysinger [Fri, 29 Jul 2005 03:36:00 +0000 (03:36 -0000)]
get rid of LDPIEFLAG since PIEFLAG is already used

18 years agofurther refine output so the silent mode of make is truly silent
Mike Frysinger [Thu, 28 Jul 2005 22:30:32 +0000 (22:30 -0000)]
further refine output so the silent mode of make is truly silent

18 years agojust use -g as -g3 is overkill (and sometimes unstable)
Mike Frysinger [Thu, 28 Jul 2005 22:28:26 +0000 (22:28 -0000)]
just use -g as -g3 is overkill (and sometimes unstable)

18 years agoif fcntl() is called with a 64bit command and LFS is enabled, pass the command along...
Mike Frysinger [Thu, 28 Jul 2005 22:19:41 +0000 (22:19 -0000)]
if fcntl() is called with a 64bit command and LFS is enabled, pass the command along to fcntl64 instead of returning ENOSYS (error detected by LTP fcntl18)

18 years agofix whitespacing
Mike Frysinger [Thu, 28 Jul 2005 22:15:08 +0000 (22:15 -0000)]
fix whitespacing

18 years agos/__kernel_time_t/__time_t
Joakim Tjernlund [Thu, 28 Jul 2005 18:28:48 +0000 (18:28 -0000)]
s/__kernel_time_t/__time_t

18 years agoAdd missing #include <bits/wordsize.h> and change __kernel_time to
Joakim Tjernlund [Thu, 28 Jul 2005 17:02:54 +0000 (17:02 -0000)]
Add missing #include <bits/wordsize.h> and change __kernel_time to
__time. Minior WS touchup also.

18 years agoadd c to default ARFLAGS to get rid of ar: creating blah.a messages
Mike Frysinger [Thu, 28 Jul 2005 04:58:55 +0000 (04:58 -0000)]
add c to default ARFLAGS to get rid of ar: creating blah.a messages

18 years agothe common sem.h is good enough for x86_64
Mike Frysinger [Thu, 28 Jul 2005 04:46:07 +0000 (04:46 -0000)]
the common sem.h is good enough for x86_64

18 years agocheck the return value of the clone call too
Mike Frysinger [Thu, 28 Jul 2005 03:59:10 +0000 (03:59 -0000)]
check the return value of the clone call too

18 years agothe errno settings was fixed but the return value was still being clobbered ... fix...
Mike Frysinger [Thu, 28 Jul 2005 03:58:43 +0000 (03:58 -0000)]
the errno settings was fixed but the return value was still being clobbered ... fix that too

18 years agotweak $TOPDIR usage to not have duplciate //
Mike Frysinger [Thu, 28 Jul 2005 03:58:03 +0000 (03:58 -0000)]
tweak $TOPDIR usage to not have duplciate //

18 years agoFix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibc
Manuel Novoa III [Thu, 28 Jul 2005 03:36:45 +0000 (03:36 -0000)]
Fix string.h.  Change our _susv3_strerror_r to __xpg_strerror_r for glibc
compatibility.  Also change _glibc_strerror_r to __glibc_strerror_r for
consistency.

18 years agoAdd a config option for abort() to shutdown the stdio subsystem. This is
Manuel Novoa III [Thu, 28 Jul 2005 03:34:44 +0000 (03:34 -0000)]
Add a config option for abort() to shutdown the stdio subsystem.  This is
mainly to cut down on noise in the NIST/PCTS tests since older POSIX
behavior was to fclose() (and hence fflush()) all open streams.

18 years agoA while back, the sysvipc code was changed to use IPC_64 in the calls.
Manuel Novoa III [Thu, 28 Jul 2005 03:30:57 +0000 (03:30 -0000)]
A while back, the sysvipc code was changed to use IPC_64 in the calls.
Unfortunatly, the semid_ds structs were not changed as needed.  So
import the necessary (tweaked) files from glibc.  Only tested on x86
today, but I'll be testing mips tomorrow.

18 years agoFix bug 358 by protecting _dl_symbol_tables as suggested.
Joakim Tjernlund [Wed, 27 Jul 2005 13:03:13 +0000 (13:03 -0000)]
Fix bug 358 by protecting _dl_symbol_tables as suggested.

18 years agoadd some asm magic to fix setting errno/ret values in the .S functions
Mike Frysinger [Wed, 27 Jul 2005 02:02:09 +0000 (02:02 -0000)]
add some asm magic to fix setting errno/ret values in the .S functions

18 years agodont run ls and make sure diff aborts if it fails
Mike Frysinger [Wed, 27 Jul 2005 01:53:47 +0000 (01:53 -0000)]
dont run ls and make sure diff aborts if it fails

18 years agoadd a basic errno test based on one from ltp
Mike Frysinger [Wed, 27 Jul 2005 01:44:05 +0000 (01:44 -0000)]
add a basic errno test based on one from ltp

18 years agoupdate notes about alpha/x86_64
Mike Frysinger [Tue, 26 Jul 2005 22:26:49 +0000 (22:26 -0000)]
update notes about alpha/x86_64

18 years agoUpdate the todo list for 0.9.28
Eric Andersen [Tue, 26 Jul 2005 21:51:46 +0000 (21:51 -0000)]
Update the todo list for 0.9.28

19 years agoFix 2 bugs in strftime related to glibc struct tm extensions.
Manuel Novoa III [Mon, 25 Jul 2005 03:50:55 +0000 (03:50 -0000)]
Fix 2 bugs in strftime related to glibc struct tm extensions.
   1) Need to negate tm_gmtoff field value when used. (bug 336).
   2) Deal with NULL ptr case for tm_zone field, which was causing
      segfaults in both the NIST/PCTS tests and the Python 2.4.1
      self-test suite.
      NOTE: We set uninitialized timezone names to "???", and this
      differs (intentionally) from glibc's behavior.

19 years agoSince __syscall_error is a C func, we need to store the syscall return value
Manuel Novoa III [Sat, 23 Jul 2005 14:02:57 +0000 (14:02 -0000)]
Since __syscall_error is a C func, we need to store the syscall return value
in the appropriate register.  Otherwise, errno is set to random garbage.

19 years agowhoops, reversed naming of nano sec members ... kernel uses _, user space does not
Mike Frysinger [Sun, 17 Jul 2005 00:54:46 +0000 (00:54 -0000)]
whoops, reversed naming of nano sec members ... kernel uses _, user space does not

19 years agosyntax cleanups
Mike Frysinger [Sun, 17 Jul 2005 00:52:56 +0000 (00:52 -0000)]
syntax cleanups

19 years agotweak whitespace
Mike Frysinger [Sun, 17 Jul 2005 00:52:11 +0000 (00:52 -0000)]
tweak whitespace

19 years agorip out previous armeb old-stat abi compat code since arm linux opinion is that the...
Mike Frysinger [Sun, 17 Jul 2005 00:51:53 +0000 (00:51 -0000)]
rip out previous armeb old-stat abi compat code since arm linux opinion is that the old stat.h abi was for little endian only ... people should use this patch to fix their armeb kernels: arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1

19 years agoadd support for nanoseconds
Mike Frysinger [Sun, 17 Jul 2005 00:49:38 +0000 (00:49 -0000)]
add support for nanoseconds

19 years agomake sure the stat64 struct is packed to prevent further ABI headaches as done in...
Mike Frysinger [Sat, 16 Jul 2005 04:01:17 +0000 (04:01 -0000)]
make sure the stat64 struct is packed to prevent further ABI headaches as done in mainline 2.6

19 years agowith the help of John Bowler, track down the ugly ABI change between 2.4 / 2.6 on...
Mike Frysinger [Sat, 16 Jul 2005 03:27:44 +0000 (03:27 -0000)]
with the help of John Bowler, track down the ugly ABI change between 2.4 / 2.6 on big endian arm kernels and work around it best we can at runtime

19 years agoadd support for passing nano seconds (if arch supports it)
Mike Frysinger [Fri, 15 Jul 2005 22:58:11 +0000 (22:58 -0000)]
add support for passing nano seconds (if arch supports it)

19 years agoallow people to build shared/ldso but disable threads
Mike Frysinger [Fri, 15 Jul 2005 22:27:21 +0000 (22:27 -0000)]
allow people to build shared/ldso but disable threads

19 years agoa [mostly working] elfinterp.c based on i386 / glibc
Mike Frysinger [Thu, 14 Jul 2005 04:17:11 +0000 (04:17 -0000)]
a [mostly working] elfinterp.c based on i386 / glibc

19 years agowhen running shared tests, use the toplevel ldso
Mike Frysinger [Thu, 14 Jul 2005 04:16:21 +0000 (04:16 -0000)]
when running shared tests, use the toplevel ldso

19 years agoremove unused instructions
Mike Frysinger [Thu, 14 Jul 2005 00:19:41 +0000 (00:19 -0000)]
remove unused instructions

19 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

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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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

19 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)

19 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

19 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

19 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

19 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

19 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

19 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

19 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

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

19 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

19 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

19 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

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

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

19 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

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

19 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

19 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

19 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

19 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

19 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

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

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

19 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

19 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

19 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

19 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

19 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

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

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

19 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 ...

19 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 ...

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

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

19 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

19 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

19 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

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

19 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)

19 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

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

19 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

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