OSDN Git Service

uclinux-h8/uclibc-ng.git
18 years agoSync w/ glibc
Peter S. Mazinger [Mon, 23 Jan 2006 12:54:14 +0000 (12:54 -0000)]
Sync w/ glibc

18 years ago- __td_debug is only needed if NDEBUG is not defined.
Bernhard Reutner-Fischer [Mon, 23 Jan 2006 08:51:48 +0000 (08:51 -0000)]
- __td_debug is only needed if NDEBUG is not defined.

18 years agoRemove redundancy and move hidden prototypes around
Peter S. Mazinger [Mon, 23 Jan 2006 06:00:53 +0000 (06:00 -0000)]
Remove redundancy and move hidden prototypes around

18 years agoEnable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a...
Peter S. Mazinger [Sun, 22 Jan 2006 19:35:08 +0000 (19:35 -0000)]
Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA is a useless attempt

18 years agoAllow to be used in bits/syscalls.h even if _GNU_SOURCE is defined
Peter S. Mazinger [Sun, 22 Jan 2006 19:31:09 +0000 (19:31 -0000)]
Allow to be used in bits/syscalls.h even if _GNU_SOURCE is defined

18 years agograb alpha version of mman.h from glibc
Mike Frysinger [Sun, 22 Jan 2006 04:54:56 +0000 (04:54 -0000)]
grab alpha version of mman.h from glibc

18 years agoimport syscall from glibc
Mike Frysinger [Sat, 21 Jan 2006 21:56:06 +0000 (21:56 -0000)]
import syscall from glibc

18 years agofix building on 64bit hosts
Mike Frysinger [Sat, 21 Jan 2006 21:55:44 +0000 (21:55 -0000)]
fix building on 64bit hosts

18 years agofix building on 64bit hosts
Mike Frysinger [Sat, 21 Jan 2006 21:55:20 +0000 (21:55 -0000)]
fix building on 64bit hosts

18 years agofix unused warnings
Mike Frysinger [Sat, 21 Jan 2006 21:54:58 +0000 (21:54 -0000)]
fix unused warnings

18 years agodont force linuxthreads db if debugging is enabled
Mike Frysinger [Sat, 21 Jan 2006 21:54:47 +0000 (21:54 -0000)]
dont force linuxthreads db if debugging is enabled

18 years ago- fix typo in comment.
Bernhard Reutner-Fischer [Sat, 21 Jan 2006 18:13:49 +0000 (18:13 -0000)]
- fix typo in comment.

18 years agoRemove old comment
Peter S. Mazinger [Sat, 21 Jan 2006 16:54:48 +0000 (16:54 -0000)]
Remove old comment

18 years agoAnother __sigprocmask
Peter S. Mazinger [Sat, 21 Jan 2006 16:14:22 +0000 (16:14 -0000)]
Another __sigprocmask

18 years agoRemove other __sigprocmask occurences, even if unused, remove unsed file
Peter S. Mazinger [Sat, 21 Jan 2006 16:13:48 +0000 (16:13 -0000)]
Remove other __sigprocmask occurences, even if unused, remove unsed file

18 years agoCorrect sigprocmask undefined for sh and remove the useless __sigprocmask weak
Peter S. Mazinger [Sat, 21 Jan 2006 14:48:30 +0000 (14:48 -0000)]
Correct sigprocmask undefined for sh and remove the useless __sigprocmask weak

18 years agoConvert l*seek too to use __typeof
Peter S. Mazinger [Sat, 21 Jan 2006 00:21:15 +0000 (00:21 -0000)]
Convert l*seek too to use __typeof

18 years agoUse __typeof instead of adding full prototypes
Peter S. Mazinger [Sat, 21 Jan 2006 00:18:02 +0000 (00:18 -0000)]
Use __typeof instead of adding full prototypes

18 years agoneed prototype to fix sigaction warnings
Mike Frysinger [Fri, 20 Jan 2006 23:45:10 +0000 (23:45 -0000)]
need prototype to fix sigaction warnings

18 years agograb syscall macros from the kernel
Mike Frysinger [Fri, 20 Jan 2006 23:43:39 +0000 (23:43 -0000)]
grab syscall macros from the kernel

18 years ago.set doesnt work on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:38:52 +0000 (23:38 -0000)]
.set doesnt work on alpha

18 years agofix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:35:34 +0000 (23:35 -0000)]
fix building on alpha

18 years agoneed sys/syscall.h for __NR_fork define
Mike Frysinger [Fri, 20 Jan 2006 23:30:01 +0000 (23:30 -0000)]
need sys/syscall.h for __NR_fork define

18 years agofix building on alpha
Mike Frysinger [Fri, 20 Jan 2006 23:27:30 +0000 (23:27 -0000)]
fix building on alpha

18 years agoneed unistd.h for brk prototype
Mike Frysinger [Fri, 20 Jan 2006 23:20:36 +0000 (23:20 -0000)]
need unistd.h for brk prototype

18 years agofix building/warnings on 64bit arches
Mike Frysinger [Fri, 20 Jan 2006 23:14:07 +0000 (23:14 -0000)]
fix building/warnings on 64bit arches

18 years agofix warning when sizeof uchar_t is 8 bits
Mike Frysinger [Fri, 20 Jan 2006 23:07:42 +0000 (23:07 -0000)]
fix warning when sizeof uchar_t is 8 bits

18 years agodisable deprecated warnings for some files
Mike Frysinger [Fri, 20 Jan 2006 23:00:55 +0000 (23:00 -0000)]
disable deprecated warnings for some files

18 years agograb some macros for internal ldso usage and fix strong_alias/hidden_strong_alias...
Mike Frysinger [Fri, 20 Jan 2006 22:46:29 +0000 (22:46 -0000)]
grab some macros for internal ldso usage and fix strong_alias/hidden_strong_alias when .set support is disabled

18 years agoCorrect comments, thx vapier
Peter S. Mazinger [Fri, 20 Jan 2006 19:22:13 +0000 (19:22 -0000)]
Correct comments, thx vapier

18 years agoSplit out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. Moved weak...
Peter S. Mazinger [Fri, 20 Jan 2006 18:01:06 +0000 (18:01 -0000)]
Split out libc-symbols.h from libc-internal.h, use it directly in CFLAGS. Moved weak[_const]_function into proper place (if we have weak support), else noop. Modified comment about changes to glibc. Moved -D_LIBC from CFLAGS to libc-symbols.h. I am not sure about unlikely/likely/__cast

18 years agodidnt mean to commit the FENV option just yet
Mike Frysinger [Fri, 20 Jan 2006 12:13:26 +0000 (12:13 -0000)]
didnt mean to commit the FENV option just yet

18 years agoAdd -D_GNU_SOURCE to CFLAGS, else openpty picks the XOPEN variant of fd_set
Peter S. Mazinger [Fri, 20 Jan 2006 11:59:06 +0000 (11:59 -0000)]
Add -D_GNU_SOURCE to CFLAGS, else openpty picks the XOPEN variant of fd_set

18 years agoCorrect wordexp, I have hidden for now __libc_arg[c,v], there is no other use within...
Peter S. Mazinger [Fri, 20 Jan 2006 11:43:18 +0000 (11:43 -0000)]
Correct wordexp, I have hidden for now __libc_arg[c,v], there is no other use within uClibc, depends on fnmatch as well

18 years agoCorrection if UNIX98PTY_ONLY is not enabled
Peter S. Mazinger [Fri, 20 Jan 2006 11:38:31 +0000 (11:38 -0000)]
Correction if UNIX98PTY_ONLY is not enabled

18 years agoUse libm_ARCH_DIR and cleanup all possible archs
Peter S. Mazinger [Fri, 20 Jan 2006 05:21:11 +0000 (05:21 -0000)]
Use libm_ARCH_DIR and cleanup all possible archs

18 years agomove some generic arch rules up a level to remove duplication
Mike Frysinger [Fri, 20 Jan 2006 02:11:06 +0000 (02:11 -0000)]
move some generic arch rules up a level to remove duplication

18 years agos/TARGET_ARCH_FEATURES/FORCE_OPTIONS_FOR_ARCH/ to fix sed breakage as pointed out...
Mike Frysinger [Fri, 20 Jan 2006 00:59:47 +0000 (00:59 -0000)]
s/TARGET_ARCH_FEATURES/FORCE_OPTIONS_FOR_ARCH/ to fix sed breakage as pointed out by Joseph S. Myers

18 years agoupdate copyright years
Mike Frysinger [Fri, 20 Jan 2006 00:39:34 +0000 (00:39 -0000)]
update copyright years

18 years agomove the sh64 code out of the sh header
Mike Frysinger [Fri, 20 Jan 2006 00:39:20 +0000 (00:39 -0000)]
move the sh64 code out of the sh header

18 years agofix breakage from HAVE_ELF removal and standardize all the arch config files
Mike Frysinger [Thu, 19 Jan 2006 22:41:17 +0000 (22:41 -0000)]
fix breakage from HAVE_ELF removal and standardize all the arch config files

18 years agono need for libm_DEF
Peter S. Mazinger [Thu, 19 Jan 2006 22:15:00 +0000 (22:15 -0000)]
no need for libm_DEF

18 years agoAdd multi to libintl
Peter S. Mazinger [Thu, 19 Jan 2006 22:08:15 +0000 (22:08 -0000)]
Add multi to libintl

18 years agoWith one source or syscall only sources there is no use of IMA
Peter S. Mazinger [Thu, 19 Jan 2006 21:51:09 +0000 (21:51 -0000)]
With one source or syscall only sources there is no use of IMA

18 years agoForgotten about the clean target
Peter S. Mazinger [Thu, 19 Jan 2006 21:17:01 +0000 (21:17 -0000)]
Forgotten about the clean target

18 years agoAdd multi support to linuxthread_db
Peter S. Mazinger [Thu, 19 Jan 2006 21:15:24 +0000 (21:15 -0000)]
Add multi support to linuxthread_db

18 years agoCorrect strip display in multi mode
Peter S. Mazinger [Thu, 19 Jan 2006 21:12:36 +0000 (21:12 -0000)]
Correct strip display in multi mode

18 years agoAdd multi support to libm, remove lib*-multi-y, unneeded
Peter S. Mazinger [Thu, 19 Jan 2006 20:43:50 +0000 (20:43 -0000)]
Add multi support to libm, remove lib*-multi-y, unneeded

18 years agoRemove HAVE_ELF
Peter S. Mazinger [Thu, 19 Jan 2006 17:50:23 +0000 (17:50 -0000)]
Remove HAVE_ELF

18 years agoGet rid of *_SYMBOL_PREFIX
Peter S. Mazinger [Thu, 19 Jan 2006 16:36:21 +0000 (16:36 -0000)]
Get rid of *_SYMBOL_PREFIX

18 years agoImport some need bits from glibc to libc-internal.h, hidden_weak_alias gone, hidden_s...
Peter S. Mazinger [Thu, 19 Jan 2006 16:22:08 +0000 (16:22 -0000)]
Import some need bits from glibc to libc-internal.h, hidden_weak_alias gone, hidden_strong_alias adapted, HAVE_ELF defined always, __SYMBOL_PREFIX removed

18 years agoChange to sane defaults
Peter S. Mazinger [Thu, 19 Jan 2006 15:44:53 +0000 (15:44 -0000)]
Change to sane defaults

18 years agoRemove MMAP_HAS_6_ARGS
Peter S. Mazinger [Thu, 19 Jan 2006 15:43:51 +0000 (15:43 -0000)]
Remove MMAP_HAS_6_ARGS

18 years agowould help if i used the right variable name ...
Mike Frysinger [Thu, 19 Jan 2006 10:41:40 +0000 (10:41 -0000)]
would help if i used the right variable name ...

18 years agoFrank Mehnert writes:
Mike Frysinger [Thu, 19 Jan 2006 10:38:25 +0000 (10:38 -0000)]
Frank Mehnert writes:
in ldso/ldso.c, function _dl_get_ready_to_run, the variable app_tpnt_tmp
is not initialized. The function _dl_parse_dynamic_info() initializes
some of their members but not all. For example, if the binary does _not_
contain a DT_TEXTREL record, it is possible that the condition
  if (app_tpnt->dynamic_info[DT_TEXTREL])
is nevertheless true and we therefore enter the following code path
(ldso.c:270).

My suggestion is to add
  _dl_memset(&app_tpnt_rel, 0, sizeof(app_tpnt_rel));
just behind the variable declarations of _dl_get_ready_to_run().

18 years agoupdate sparc code using x86_64 as a template
Mike Frysinger [Thu, 19 Jan 2006 10:32:43 +0000 (10:32 -0000)]
update sparc code using x86_64 as a template

18 years agofirst pass at updating sparc ldso with code from glibc
Mike Frysinger [Thu, 19 Jan 2006 10:31:33 +0000 (10:31 -0000)]
first pass at updating sparc ldso with code from glibc

18 years agoupdate syscall macros so both ldso and libc can use them
Mike Frysinger [Thu, 19 Jan 2006 10:25:27 +0000 (10:25 -0000)]
update syscall macros so both ldso and libc can use them

18 years agomove a bunch of arch-specific checks out of common files and into an arch specific...
Mike Frysinger [Thu, 19 Jan 2006 10:02:23 +0000 (10:02 -0000)]
move a bunch of arch-specific checks out of common files and into an arch specific header file to make porting/updates a lot easier

18 years agonote a few more places where glibc stores their stuff
Mike Frysinger [Thu, 19 Jan 2006 09:38:38 +0000 (09:38 -0000)]
note a few more places where glibc stores their stuff

18 years agoCorrect unimportant typo
Peter S. Mazinger [Thu, 19 Jan 2006 09:17:43 +0000 (09:17 -0000)]
Correct unimportant typo

18 years agoSome minor updates. Looked pretty good as-is.
Eric Andersen [Thu, 19 Jan 2006 03:30:52 +0000 (03:30 -0000)]
Some minor updates.  Looked pretty good as-is.

18 years agoJoseph S. Myers writes:
Eric Andersen [Thu, 19 Jan 2006 02:23:04 +0000 (02:23 -0000)]
Joseph S. Myers writes:

libc/sysdeps/linux/arm/ioperm.c on trunk fails to compile for me because
of no declaration of ioperm at the point where libc_hidden_proto(ioperm)
requires one.  Including <sys/io.h> to get the declaration then shows up
that various types are inconsistent with that header; this patch fixes
things so that file compiles.

18 years agoJoseph S. Myers writes:
Eric Andersen [Thu, 19 Jan 2006 02:19:51 +0000 (02:19 -0000)]
Joseph S. Myers writes:

sys/syscall.h uses the IS_IN_libc define before including any header that
includes libc-internal.h (where IS_IN_libc is defined).  This patch makes
sys/syscall.h include features.h to get the IS_IN_libc define where
appropriate.

18 years agoinitial attempt at documenting how to port uClibc
Mike Frysinger [Thu, 19 Jan 2006 00:32:07 +0000 (00:32 -0000)]
initial attempt at documenting how to port uClibc

18 years agogive a little info as to what the file should contain
Mike Frysinger [Thu, 19 Jan 2006 00:04:54 +0000 (00:04 -0000)]
give a little info as to what the file should contain

18 years agogive a little info as to what the file should contain
Mike Frysinger [Thu, 19 Jan 2006 00:04:05 +0000 (00:04 -0000)]
give a little info as to what the file should contain

18 years agos/HAS_FPU/UCLIBC_HAS_FPU/
Mike Frysinger [Wed, 18 Jan 2006 23:49:31 +0000 (23:49 -0000)]
s/HAS_FPU/UCLIBC_HAS_FPU/

18 years agochange HAS_FPU to UCLIBC_HAS_FPU since the define will be exported into C namespace
Mike Frysinger [Wed, 18 Jan 2006 23:49:13 +0000 (23:49 -0000)]
change HAS_FPU to UCLIBC_HAS_FPU since the define will be exported into C namespace

18 years agofix UCLIBC_STATIC_LDCONFIG location in menus and touchup display for other shared...
Mike Frysinger [Wed, 18 Jan 2006 23:46:57 +0000 (23:46 -0000)]
fix UCLIBC_STATIC_LDCONFIG location in menus and touchup display for other shared lib options

18 years agoold
Mike Frysinger [Wed, 18 Jan 2006 23:41:17 +0000 (23:41 -0000)]
old

18 years agosync fenv.h with glibc
Mike Frysinger [Wed, 18 Jan 2006 23:40:51 +0000 (23:40 -0000)]
sync fenv.h with glibc

18 years agoRemove unused CLOCK_IDFIELD_SIZE, not in glibc
Peter S. Mazinger [Wed, 18 Jan 2006 22:26:50 +0000 (22:26 -0000)]
Remove unused CLOCK_IDFIELD_SIZE, not in glibc

18 years agoAdd target strip command and use it, also disable for now CFLAGS-multi-y, after split...
Peter S. Mazinger [Wed, 18 Jan 2006 21:12:52 +0000 (21:12 -0000)]
Add target strip command and use it, also disable for now CFLAGS-multi-y, after splitting all MSRC, it won't be needed

18 years agoAdd IMA build rules
Peter S. Mazinger [Wed, 18 Jan 2006 21:05:37 +0000 (21:05 -0000)]
Add IMA build rules

18 years agomodify IMA compiling rule and add linking rule
Peter S. Mazinger [Wed, 18 Jan 2006 20:59:37 +0000 (20:59 -0000)]
modify IMA compiling rule and add linking rule

18 years agoDon't include twice features.h and correct typo
Peter S. Mazinger [Wed, 18 Jan 2006 19:36:36 +0000 (19:36 -0000)]
Don't include twice features.h and correct typo

18 years agoMake gcc4 happy as well
Peter S. Mazinger [Wed, 18 Jan 2006 16:52:07 +0000 (16:52 -0000)]
Make gcc4 happy as well

18 years agocheck for signal existence rather than using arch defines
Mike Frysinger [Wed, 18 Jan 2006 12:16:01 +0000 (12:16 -0000)]
check for signal existence rather than using arch defines

18 years agoget rid of alpha defines
Mike Frysinger [Wed, 18 Jan 2006 12:11:42 +0000 (12:11 -0000)]
get rid of alpha defines

18 years agoget rid of arch specific checks
Mike Frysinger [Wed, 18 Jan 2006 12:10:22 +0000 (12:10 -0000)]
get rid of arch specific checks

18 years agocorrect prototypes and 1 reloc less
Peter S. Mazinger [Tue, 17 Jan 2006 17:57:34 +0000 (17:57 -0000)]
correct prototypes and 1 reloc less

18 years agoBuild if GETC_MACRO use is disabled
Peter S. Mazinger [Tue, 17 Jan 2006 16:02:02 +0000 (16:02 -0000)]
Build if GETC_MACRO use is disabled

18 years agoRemove unused prototypes
Peter S. Mazinger [Tue, 17 Jan 2006 12:52:22 +0000 (12:52 -0000)]
Remove unused prototypes

18 years agoAdd libc_pthread_init to libc.a as well, should correct bug reported to ml
Peter S. Mazinger [Tue, 17 Jan 2006 10:01:28 +0000 (10:01 -0000)]
Add libc_pthread_init to libc.a as well, should correct bug reported to ml

18 years agoRemove __P() and add attribute_hidden to internal prototypes
Peter S. Mazinger [Tue, 17 Jan 2006 09:57:47 +0000 (09:57 -0000)]
Remove __P() and add attribute_hidden to internal prototypes

18 years agoRemove explicit signgam prototype, use header instead
Peter S. Mazinger [Tue, 17 Jan 2006 09:55:05 +0000 (09:55 -0000)]
Remove explicit signgam prototype, use header instead

18 years agolast math related global data reloc (_LIB_VERSION) removed
Peter S. Mazinger [Tue, 17 Jan 2006 09:54:08 +0000 (09:54 -0000)]
last math related global data reloc (_LIB_VERSION) removed

18 years agouse the 6-arg version of mmap where available
Mike Frysinger [Tue, 17 Jan 2006 01:01:08 +0000 (01:01 -0000)]
use the 6-arg version of mmap where available

18 years agocut out unused code
Mike Frysinger [Tue, 17 Jan 2006 01:00:04 +0000 (01:00 -0000)]
cut out unused code

18 years agocleanup whitespace
Mike Frysinger [Tue, 17 Jan 2006 00:59:09 +0000 (00:59 -0000)]
cleanup whitespace

18 years agoupdate strcoll stuff
Mike Frysinger [Tue, 17 Jan 2006 00:55:04 +0000 (00:55 -0000)]
update strcoll stuff

18 years agom68k now has syscall()
Mike Frysinger [Tue, 17 Jan 2006 00:54:49 +0000 (00:54 -0000)]
m68k now has syscall()

18 years agosync some stuff from glibc and fix __hidden_ver1() for targets that define a USER_PRE...
Mike Frysinger [Tue, 17 Jan 2006 00:54:27 +0000 (00:54 -0000)]
sync some stuff from glibc and fix __hidden_ver1() for targets that define a USER_PREFIX (like bfin)

18 years agosince just about everyone uses return _dl_elf_main for START() now, make it the default
Mike Frysinger [Tue, 17 Jan 2006 00:41:23 +0000 (00:41 -0000)]
since just about everyone uses return _dl_elf_main for START() now, make it the default

18 years agoAll math related relocs gone
Peter S. Mazinger [Tue, 17 Jan 2006 00:01:09 +0000 (00:01 -0000)]
All math related relocs gone

18 years agoUpdate license
Peter S. Mazinger [Mon, 16 Jan 2006 21:54:26 +0000 (21:54 -0000)]
Update license

18 years agoUpdate license
Peter S. Mazinger [Mon, 16 Jan 2006 21:48:02 +0000 (21:48 -0000)]
Update license

18 years agoUpdate license
Peter S. Mazinger [Mon, 16 Jan 2006 21:43:29 +0000 (21:43 -0000)]
Update license

18 years agoUpdate license
Peter S. Mazinger [Mon, 16 Jan 2006 21:42:11 +0000 (21:42 -0000)]
Update license