OSDN Git Service

uclinux-h8/uClibc.git
19 years agoimport updates from glibc
Mike Frysinger [Thu, 18 Aug 2005 01:05:36 +0000 (01:05 -0000)]
import updates from glibc

19 years agoremove some debug code
Mike Frysinger [Thu, 18 Aug 2005 01:04:30 +0000 (01:04 -0000)]
remove some debug code

19 years agowe have getprotobyname_r() now so use it
Mike Frysinger [Thu, 18 Aug 2005 01:03:06 +0000 (01:03 -0000)]
we have getprotobyname_r() now so use it

19 years agoinstall the manpages that are in the docs subdir
Mike Frysinger [Thu, 18 Aug 2005 00:59:05 +0000 (00:59 -0000)]
install the manpages that are in the docs subdir

19 years agomoved/updated to docs/man/
Mike Frysinger [Thu, 18 Aug 2005 00:58:31 +0000 (00:58 -0000)]
moved/updated to docs/man/

19 years agoalso check for __thumb__
Mike Frysinger [Thu, 18 Aug 2005 00:56:58 +0000 (00:56 -0000)]
also check for __thumb__

19 years agoposix_memalign and posix_fadvise are in uClibc now
Mike Frysinger [Thu, 18 Aug 2005 00:56:32 +0000 (00:56 -0000)]
posix_memalign and posix_fadvise are in uClibc now

19 years agoadd the posix_memalign function
Mike Frysinger [Thu, 18 Aug 2005 00:53:56 +0000 (00:53 -0000)]
add the posix_memalign function

19 years agoupdate the uClibc webpage
Eric Andersen [Wed, 17 Aug 2005 23:05:59 +0000 (23:05 -0000)]
update the uClibc webpage

19 years agoMake uClibc vfork() use kernels vfork() instead of fork().
Joakim Tjernlund [Wed, 17 Aug 2005 20:04:05 +0000 (20:04 -0000)]
Make uClibc vfork() use kernels vfork() instead of fork().

19 years agostart of some rpc tests
Mike Frysinger [Wed, 17 Aug 2005 02:29:50 +0000 (02:29 -0000)]
start of some rpc tests

19 years agomake sure UCLIBC_LDSO is defined if we are running in a test subdir rather than toplevel
Mike Frysinger [Wed, 17 Aug 2005 02:29:08 +0000 (02:29 -0000)]
make sure UCLIBC_LDSO is defined if we are running in a test subdir rather than toplevel

19 years agodont install linux/asm headers if KERNEL_SOURCE == DEVEL_PREFIX
Mike Frysinger [Wed, 17 Aug 2005 01:04:34 +0000 (01:04 -0000)]
dont install linux/asm headers if KERNEL_SOURCE == DEVEL_PREFIX

19 years agoWe _must_ copy include/asm/ and include/linux/ when installing headers, since
Eric Andersen [Wed, 17 Aug 2005 00:25:30 +0000 (00:25 -0000)]
We _must_ copy include/asm/ and include/linux/ when installing headers, since
once we build uClibc against those, they become part of uClibc's ABI and must
be included as part of the install.

19 years agowhen installing the include files, skip .svn, linux, and asm dirs since they are...
Mike Frysinger [Wed, 17 Aug 2005 00:09:33 +0000 (00:09 -0000)]
when installing the include files, skip .svn, linux, and asm dirs since they are just symlinks (and could possibly be pointing to right where we are installing)

19 years agoadd a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since been...
Mike Frysinger [Tue, 16 Aug 2005 06:00:36 +0000 (06:00 -0000)]
add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since been renamed to __glibc_strerror_r in 0.9.28

19 years agoadd an entry about __fputc_unlocked link errors
Mike Frysinger [Tue, 16 Aug 2005 05:59:30 +0000 (05:59 -0000)]
add an entry about __fputc_unlocked link errors

19 years agowrite some good manpages
Mike Frysinger [Mon, 15 Aug 2005 22:45:44 +0000 (22:45 -0000)]
write some good manpages

19 years agoFor current kernels, we just use the getcwd() syscall. For old 2.0 linux
Eric Andersen [Mon, 15 Aug 2005 22:18:26 +0000 (22:18 -0000)]
For current kernels, we just use the getcwd() syscall.  For old 2.0 linux
kernels, we need this bit to make the non-syscall version that recurses up the
directory path work properly.  Thanks go to Harald Kuethe for sorting this out.

19 years agoJust quote the whole darn thing so we can print any error msg we want
Eric Andersen [Mon, 15 Aug 2005 22:09:50 +0000 (22:09 -0000)]
Just quote the whole darn thing so we can print any error msg we want

19 years agoremove quote char which doesnt belong
Mike Frysinger [Mon, 15 Aug 2005 22:07:35 +0000 (22:07 -0000)]
remove quote char which doesnt belong

19 years agoWe do not supply a BSD style getloadavg() function
Eric Andersen [Mon, 15 Aug 2005 12:39:57 +0000 (12:39 -0000)]
We do not supply a BSD style getloadavg() function

19 years agoFix bug 387, missing _dl_progname for static apps.
Joakim Tjernlund [Mon, 15 Aug 2005 08:30:32 +0000 (08:30 -0000)]
Fix bug 387, missing _dl_progname for static apps.

19 years agoPatch from Faidon Liambotis to update the debian stuff
Eric Andersen [Mon, 15 Aug 2005 05:20:47 +0000 (05:20 -0000)]
Patch from Faidon Liambotis to update the debian stuff

19 years agomove arch-specific checks out of shared dl-syscall.h and into arch-specific dl-syscalls.h
Mike Frysinger [Mon, 15 Aug 2005 03:51:51 +0000 (03:51 -0000)]
move arch-specific checks out of shared dl-syscall.h and into arch-specific dl-syscalls.h

19 years agoimport thumb support from jbowler in Bug 385
Mike Frysinger [Mon, 15 Aug 2005 03:31:00 +0000 (03:31 -0000)]
import thumb support from jbowler in Bug 385

19 years agoarm has its own iopl.c now so we dont need ugly #ifdef check for arm
Mike Frysinger [Mon, 15 Aug 2005 03:15:48 +0000 (03:15 -0000)]
arm has its own iopl.c now so we dont need ugly #ifdef check for arm

19 years agorip out iopl from ioperm.c so it will override the common iopl.c
Mike Frysinger [Mon, 15 Aug 2005 03:14:52 +0000 (03:14 -0000)]
rip out iopl from ioperm.c so it will override the common iopl.c

19 years agoimport thumb support from jbowler in Bug 385
Mike Frysinger [Mon, 15 Aug 2005 03:06:11 +0000 (03:06 -0000)]
import thumb support from jbowler in Bug 385

19 years agoimport thumb support from jbowler in Bug 385
Mike Frysinger [Mon, 15 Aug 2005 03:04:38 +0000 (03:04 -0000)]
import thumb support from jbowler in Bug 385

19 years agoAdd utils in make clean rule. From paravoid.
Joakim Tjernlund [Sun, 14 Aug 2005 17:18:47 +0000 (17:18 -0000)]
Add utils in make clean rule. From paravoid.

19 years agoeat whitespace
Mike Frysinger [Sun, 14 Aug 2005 13:29:05 +0000 (13:29 -0000)]
eat whitespace

19 years agoimport thumb support from jbowler in Bug 385
Mike Frysinger [Sun, 14 Aug 2005 13:27:46 +0000 (13:27 -0000)]
import thumb support from jbowler in Bug 385

19 years agoper suggestion by psm, remove the variable DYNAMIC_LINKER
Eric Andersen [Sat, 13 Aug 2005 21:36:14 +0000 (21:36 -0000)]
per suggestion by psm, remove the variable DYNAMIC_LINKER

19 years agoRemoved hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.
Joakim Tjernlund [Fri, 12 Aug 2005 23:41:18 +0000 (23:41 -0000)]
Removed hardcoded ld-uClibc.so.0 in uClibc. From Peter Mazinger.

19 years agoRemove SYSTEM_LDSO option since it no longer works.
Joakim Tjernlund [Fri, 12 Aug 2005 23:19:44 +0000 (23:19 -0000)]
Remove SYSTEM_LDSO option since it no longer works.

19 years agoRemove hardcoded ld-uClibc.so.0 name in ldso.
Joakim Tjernlund [Fri, 12 Aug 2005 23:10:22 +0000 (23:10 -0000)]
Remove hardcoded ld-uClibc.so.0 name in ldso.

19 years agorevert __error -> __syscall_error change since it doesnt work for clone
Mike Frysinger [Fri, 12 Aug 2005 22:51:08 +0000 (22:51 -0000)]
revert __error -> __syscall_error change since it doesnt work for clone

19 years agomissed one of the __error names in changing to __syscall_error
Mike Frysinger [Fri, 12 Aug 2005 22:50:16 +0000 (22:50 -0000)]
missed one of the __error names in changing to __syscall_error

19 years agotouchup PIE support for all the utils and fix stripping on iconv
Mike Frysinger [Thu, 11 Aug 2005 22:52:49 +0000 (22:52 -0000)]
touchup PIE support for all the utils and fix stripping on iconv

19 years agoadd back in the LDPIEFLAG since -fPIE does not imply -pie
Mike Frysinger [Thu, 11 Aug 2005 22:52:44 +0000 (22:52 -0000)]
add back in the LDPIEFLAG since -fPIE does not imply -pie

19 years agojump straight to __syscall_error
Mike Frysinger [Thu, 11 Aug 2005 22:36:11 +0000 (22:36 -0000)]
jump straight to __syscall_error

19 years agofix some sign warnings pointed out by gcc-4
Mike Frysinger [Thu, 11 Aug 2005 22:05:06 +0000 (22:05 -0000)]
fix some sign warnings pointed out by gcc-4

19 years agoIn Bug 364 by hassold:
Mike Frysinger [Wed, 10 Aug 2005 23:31:25 +0000 (23:31 -0000)]
In Bug 364 by hassold:
Configuration symbol __UCLIBC_HAS_WCHAR__ is tested as defined line 249 of features.h,
whereas header bits/uClibc_Config.h, where it is (eventually) defined, is not yet
included (line 267). As a consequence, symbol __STDC_ISO_10646__ is never defined, and
several programs believe C libary hsa no wchar support.

19 years agoBump version in preparation for the upcoming release
Eric Andersen [Wed, 10 Aug 2005 09:12:42 +0000 (09:12 -0000)]
Bump version in preparation for the upcoming release

19 years agouse the inline version of _dl_parse_dynamic_info
Mike Frysinger [Wed, 10 Aug 2005 04:35:27 +0000 (04:35 -0000)]
use the inline version of _dl_parse_dynamic_info

19 years agoclean up whitespace/syntax
Mike Frysinger [Tue, 9 Aug 2005 23:05:06 +0000 (23:05 -0000)]
clean up whitespace/syntax

19 years agodisable early debug code if the arch relies on certain values (like load_addr) which...
Mike Frysinger [Tue, 9 Aug 2005 22:43:02 +0000 (22:43 -0000)]
disable early debug code if the arch relies on certain values (like load_addr) which are computer later

19 years agorework the headers depedency so that it plays nice with parallel building
Mike Frysinger [Tue, 9 Aug 2005 22:39:27 +0000 (22:39 -0000)]
rework the headers depedency so that it plays nice with parallel building

19 years agonote the architectures which still need to be updated
Mike Frysinger [Tue, 9 Aug 2005 22:20:33 +0000 (22:20 -0000)]
note the architectures which still need to be updated

19 years agodate: 2005/08/07 07:53:58; author: drepper; state: Exp; lines: +1 -1
Mike Frysinger [Tue, 9 Aug 2005 22:20:06 +0000 (22:20 -0000)]
date: 2005/08/07 07:53:58;  author: drepper;  state: Exp;  lines: +1 -1
(DT_ALPHA_PLTRO): Use symbolic name in DT_ALPHA_PLTRO definition.

19 years agoneed -s for STRIPTOOL with iconv too as psm pointed out
Mike Frysinger [Tue, 9 Aug 2005 22:16:01 +0000 (22:16 -0000)]
need -s for STRIPTOOL with iconv too as psm pointed out

19 years agoeat whitespace
Mike Frysinger [Tue, 9 Aug 2005 04:58:21 +0000 (04:58 -0000)]
eat whitespace

19 years agoupdate crt0 to crt1 based heavily on glibc start.S and to sync up with __uClibc_main...
Mike Frysinger [Tue, 9 Aug 2005 04:54:18 +0000 (04:54 -0000)]
update crt0 to crt1 based heavily on glibc start.S and to sync up with __uClibc_main changes

19 years agouse sigprocmask instead of internal __sigprocmask since __ version doesnt always...
Mike Frysinger [Tue, 9 Aug 2005 04:52:29 +0000 (04:52 -0000)]
use sigprocmask instead of internal __sigprocmask since __ version doesnt always exist

19 years agomove __fpscr_values out of crt0 and into libc as proposed by Daniel Jacobowitz so...
Mike Frysinger [Tue, 9 Aug 2005 04:51:15 +0000 (04:51 -0000)]
move __fpscr_values out of crt0 and into libc as proposed by Daniel Jacobowitz so that libm.so links properly with newer toolchains

19 years agoremove unused/pointless variables
Mike Frysinger [Tue, 9 Aug 2005 04:48:59 +0000 (04:48 -0000)]
remove unused/pointless variables

19 years agoneed to run STRIPTOOL with -s to replace behavior lost from gcc -s
Mike Frysinger [Tue, 9 Aug 2005 02:11:35 +0000 (02:11 -0000)]
need to run STRIPTOOL with -s to replace behavior lost from gcc -s

19 years agoremove duplicated _syscall6 definitions and unify them with a define
Mike Frysinger [Mon, 8 Aug 2005 22:01:53 +0000 (22:01 -0000)]
remove duplicated _syscall6 definitions and unify them with a define

19 years agoeat whitespace
Mike Frysinger [Mon, 8 Aug 2005 22:01:02 +0000 (22:01 -0000)]
eat whitespace

19 years agoremove strip flags and let STRIPTOOL do the work
Mike Frysinger [Mon, 8 Aug 2005 22:00:31 +0000 (22:00 -0000)]
remove strip flags and let STRIPTOOL do the work

19 years agowhitespace it
Mike Frysinger [Thu, 4 Aug 2005 22:35:50 +0000 (22:35 -0000)]
whitespace it

19 years agoyvasilev writes in Bug 235:
Mike Frysinger [Thu, 4 Aug 2005 22:35:13 +0000 (22:35 -0000)]
yvasilev writes in Bug 235:
uClibc uses wrong word order in vfp floating point arithmetic.
I found this using my modification to N. Pitre's soft-float gcc patch, but this modifications were
made just to allow gcc to compile code for armv4l, while nothing about fp arithmetic was changed.

19 years agoUpdate from (older) glibc code.
Manuel Novoa III [Wed, 3 Aug 2005 01:14:43 +0000 (01:14 -0000)]
Update from (older) glibc code.

19 years agoPOSIX requires that fields st_dev and st_rdev to be of type dev_t.
Manuel Novoa III [Wed, 3 Aug 2005 01:12:29 +0000 (01:12 -0000)]
POSIX requires that fields st_dev and st_rdev to be of type dev_t.

19 years agoDo not define 'AUTOCONF_INCLUDED'
Eric Andersen [Tue, 2 Aug 2005 00:25:11 +0000 (00:25 -0000)]
Do not define 'AUTOCONF_INCLUDED'

19 years agoAdd dependency on ld-uClibc.so.0 for libdl.so.
Joakim Tjernlund [Mon, 1 Aug 2005 10:58:23 +0000 (10:58 -0000)]
Add dependency on ld-uClibc.so.0 for libdl.so.
Remove __attribute__ ((__weak__)) from imported ld-uClibc.so.0 symbols.

19 years agoOld glibc fix for ltp's clone07 test. Another file that needs updating...
Manuel Novoa III [Sun, 31 Jul 2005 04:31:58 +0000 (04:31 -0000)]
Old glibc fix for ltp's clone07 test.  Another file that needs updating...

19 years agoThis fixes the pread/pwrite bugs reported by ltp. But I really need to pull in the...
Manuel Novoa III [Sun, 31 Jul 2005 03:50:40 +0000 (03:50 -0000)]
This fixes the pread/pwrite bugs reported by ltp.  But I really need to pull in the latest glibc stuff.

19 years agoCheck for __NR_fcntl64.
Manuel Novoa III [Sat, 30 Jul 2005 14:02:24 +0000 (14:02 -0000)]
Check for __NR_fcntl64.

19 years agoSigh... I wasn't checking for output errors. NIST/PCTS caught it.
Manuel Novoa III [Sat, 30 Jul 2005 01:21:47 +0000 (01:21 -0000)]
Sigh... I wasn't checking for output errors.  NIST/PCTS caught it.
Hack in some temporary fixes until I have time to clean it up a bit more.
Also rework _fpmaxtostr to reduce the size a bit and (hopefully) allow
it to build for m68k (vapier tested an earlier version a while back).

19 years agoUpdate with current glibc version.
Manuel Novoa III [Sat, 30 Jul 2005 01:17:38 +0000 (01:17 -0000)]
Update with current glibc version.

19 years agoSince we're now always using IPC_64, we need this. Otherwise, some of the perl tests...
Manuel Novoa III [Sat, 30 Jul 2005 01:16:33 +0000 (01:16 -0000)]
Since we're now always using IPC_64, we need this.  Otherwise, some of the perl tests fail on mipsel.

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

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

19 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

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

19 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

19 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

19 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

19 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

19 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

19 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

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

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

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

19 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

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

19 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

19 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

19 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

19 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

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

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

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

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

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

19 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

19 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

19 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