OSDN Git Service
Peter S. Mazinger [Fri, 28 Oct 2005 22:07:38 +0000 (22:07 -0000)]
Kill a warning. Change __wcstofpmax to __wcstofpmax_l where appropiate
Peter S. Mazinger [Fri, 28 Oct 2005 16:34:46 +0000 (16:34 -0000)]
typo s/notdir/dir/
Peter S. Mazinger [Fri, 28 Oct 2005 16:20:18 +0000 (16:20 -0000)]
Correct building locales and backport the changes
Peter S. Mazinger [Fri, 28 Oct 2005 15:06:51 +0000 (15:06 -0000)]
Oops, missed commiting AS_NEEDED check
Peter S. Mazinger [Fri, 28 Oct 2005 14:31:52 +0000 (14:31 -0000)]
Remove --exclude CVS from tar
Peter S. Mazinger [Fri, 28 Oct 2005 14:28:55 +0000 (14:28 -0000)]
Update/add scripts' copyright
Peter S. Mazinger [Fri, 28 Oct 2005 14:03:01 +0000 (14:03 -0000)]
Backport handling of AS_NEEDED
Peter S. Mazinger [Fri, 28 Oct 2005 13:52:36 +0000 (13:52 -0000)]
Remove binutils-2.16.1 dependency for SSP, now it works with any binutils, but all apps linked against libc.so will get DT_NEEDED for ld.so too
Peter S. Mazinger [Fri, 28 Oct 2005 11:21:55 +0000 (11:21 -0000)]
Add newly needed Makefiles that can be linked
Peter S. Mazinger [Fri, 28 Oct 2005 10:55:11 +0000 (10:55 -0000)]
Use consequently headers-y and headers_clean-y, try avoiding TARGET_ARCH use in main Makefile.in
Peter S. Mazinger [Fri, 28 Oct 2005 10:15:42 +0000 (10:15 -0000)]
Backport to current build system
Peter S. Mazinger [Fri, 28 Oct 2005 10:13:25 +0000 (10:13 -0000)]
We use svn, do not look for cvs related files in distclean
Peter S. Mazinger [Fri, 28 Oct 2005 09:57:22 +0000 (09:57 -0000)]
Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles
Peter S. Mazinger [Fri, 28 Oct 2005 01:16:04 +0000 (01:16 -0000)]
Remove unused CFLAGS_NOPIC, use ?= some of check_gcc won't rerun
Peter S. Mazinger [Fri, 28 Oct 2005 00:54:06 +0000 (00:54 -0000)]
Enforce DOPIC, if text relocations are not allowed
Peter S. Mazinger [Fri, 28 Oct 2005 00:46:51 +0000 (00:46 -0000)]
Remove HAVE_NO_SHARED where ARCH_HAS_NO_MMU/ARCH_HAS_NO_LDSO are selected already
Peter S. Mazinger [Fri, 28 Oct 2005 00:36:50 +0000 (00:36 -0000)]
Missed one occurence of BUILD_UCLIBC_LDSO
Peter S. Mazinger [Fri, 28 Oct 2005 00:29:58 +0000 (00:29 -0000)]
HAVE_SHARED depends on \!ARCH_HAS_NO_LDSO, remove BUILD_UCLIBC_LDSO and replace the dependencies w/ HAVE_SHARED
Peter S. Mazinger [Fri, 28 Oct 2005 00:08:47 +0000 (00:08 -0000)]
frv seems to be an exception having no MMU, but using ldso
Mike Frysinger [Fri, 28 Oct 2005 00:04:53 +0000 (00:04 -0000)]
fix building with locale
Peter S. Mazinger [Thu, 27 Oct 2005 23:55:17 +0000 (23:55 -0000)]
ARCH_HAS_NO_MMU implies/selects ARCH_HAS_NO_LDSO
Peter S. Mazinger [Thu, 27 Oct 2005 23:41:18 +0000 (23:41 -0000)]
Allow using ssp w/ current active Makefiles too. Build crts for non-shared archs too.
Peter S. Mazinger [Thu, 27 Oct 2005 22:58:52 +0000 (22:58 -0000)]
Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed to _dl_setup_stack_chk_guard, as in glibc. SSP requires now binutils-2.16.1 and newer. Add NOT_IN_libc/IS_IN_libc. Began using -DSHARED in uClibc_main.c, there are more candidates in there. Move back dl_protect_relro to it's earlier place.
Peter S. Mazinger [Thu, 27 Oct 2005 12:58:40 +0000 (12:58 -0000)]
Moved the use of --combine to CFLAGS, we need it for debugging too
Peter S. Mazinger [Thu, 27 Oct 2005 12:44:11 +0000 (12:44 -0000)]
Hope to catch --combine flag properly on all gcc versions
Peter S. Mazinger [Thu, 27 Oct 2005 12:07:45 +0000 (12:07 -0000)]
Correct header cleanup, if threads are disabled, thanks to Jan-Benedict Glaw reporting it.
Peter S. Mazinger [Thu, 27 Oct 2005 07:22:02 +0000 (07:22 -0000)]
Remove comment, I corrected the order already.
Peter S. Mazinger [Wed, 26 Oct 2005 11:14:02 +0000 (11:14 -0000)]
Correct w_cabs.c so it can be added to IMA, add -D_POSIX_MODE for compiling s_lib_version.c (only in the new Makefile)
Peter S. Mazinger [Wed, 26 Oct 2005 10:15:05 +0000 (10:15 -0000)]
Remove s_ceilf.c and s_floorf.c, ceilf and floorf are provided by the float_wrapper. I hope that __ceilf and __floorf are not needed anywhere. Use only __finite from s_finite.c, disabled in fpmacros.c. Allow IMA compiling, 2 files: s_lib_version.c and w_cabs.c have to be reworked for complete IMA.
Peter S. Mazinger [Wed, 26 Oct 2005 08:15:03 +0000 (08:15 -0000)]
Default changed to IMA compiling, disabled explicitely where currently not possible. Add clean targets for linuxthreads[_db].
Mike Frysinger [Wed, 26 Oct 2005 00:26:49 +0000 (00:26 -0000)]
merge updates from glibc
Peter S. Mazinger [Tue, 25 Oct 2005 22:51:40 +0000 (22:51 -0000)]
Add script to create the minimal subset of symlinks
Peter S. Mazinger [Tue, 25 Oct 2005 22:50:18 +0000 (22:50 -0000)]
Add -fcombine check to allow IMA compiling w/ gcc 4.x
Peter S. Mazinger [Tue, 25 Oct 2005 22:17:39 +0000 (22:17 -0000)]
All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
Peter S. Mazinger [Tue, 25 Oct 2005 19:52:09 +0000 (19:52 -0000)]
Make use of fcntl64 syscall if possible
Peter S. Mazinger [Tue, 25 Oct 2005 19:51:10 +0000 (19:51 -0000)]
Use local copy of sysdep.h
Peter S. Mazinger [Tue, 25 Oct 2005 12:41:25 +0000 (12:41 -0000)]
Correcrt posix_fadvise* to allow compiling
Mike Frysinger [Tue, 25 Oct 2005 02:18:46 +0000 (02:18 -0000)]
uncomment posix_fadvise prototype since we implement it now
Peter S. Mazinger [Fri, 21 Oct 2005 18:32:59 +0000 (18:32 -0000)]
More IMA compiling
Peter S. Mazinger [Fri, 21 Oct 2005 12:36:23 +0000 (12:36 -0000)]
Kill warning if IMA compiled
Peter S. Mazinger [Fri, 21 Oct 2005 09:52:04 +0000 (09:52 -0000)]
Workaround to allow this directory to IMA compile. Someone w/ better understanding, please try to rework this by using only one copy of sp_off
Peter S. Mazinger [Fri, 21 Oct 2005 09:47:48 +0000 (09:47 -0000)]
Move GETXXKEY_R_FUNC into a separate file to allow IMA compiling
Peter S. Mazinger [Fri, 21 Oct 2005 01:38:21 +0000 (01:38 -0000)]
Kill warnings if IMA compiling
Peter S. Mazinger [Thu, 20 Oct 2005 21:39:48 +0000 (21:39 -0000)]
Remove duplicate locking defines for IMA compiling.
Peter S. Mazinger [Thu, 20 Oct 2005 21:25:45 +0000 (21:25 -0000)]
Better solution to duplicate locking defines
Peter S. Mazinger [Thu, 20 Oct 2005 19:26:53 +0000 (19:26 -0000)]
Change in_addr_t inet_aton to int, glibc has it as int and uClibc uses it in addr.c also as int. Rename mylock/LOCK/UNLOCK in resolv.c to allow IMA compiling
Mike Frysinger [Thu, 20 Oct 2005 18:45:30 +0000 (18:45 -0000)]
only include libc-tsd.h if we have threads support
Peter S. Mazinger [Wed, 19 Oct 2005 22:12:33 +0000 (22:12 -0000)]
linuxthreads_db depends on PTHREADS_DEBUG_SUPPORT
Peter S. Mazinger [Wed, 19 Oct 2005 21:49:24 +0000 (21:49 -0000)]
headers is prerequisite for subdirs
Peter S. Mazinger [Wed, 19 Oct 2005 21:33:20 +0000 (21:33 -0000)]
Update license file to Lesser GPL v2.1
Peter S. Mazinger [Wed, 19 Oct 2005 21:29:24 +0000 (21:29 -0000)]
Adapted generic file to work properly with linuxthreads
Peter S. Mazinger [Wed, 19 Oct 2005 21:26:55 +0000 (21:26 -0000)]
Add the linuxthreads Makefiles too
Peter S. Mazinger [Wed, 19 Oct 2005 20:19:47 +0000 (20:19 -0000)]
Add the current implementation to review
Peter S. Mazinger [Wed, 19 Oct 2005 14:34:51 +0000 (14:34 -0000)]
2 more examples that show the handling of different objects in lib*.so and lib*.a, also handle arch specific optimized versions
Peter S. Mazinger [Wed, 19 Oct 2005 14:32:33 +0000 (14:32 -0000)]
Updated libcrypt example Makefile
Peter S. Mazinger [Wed, 19 Oct 2005 09:45:42 +0000 (09:45 -0000)]
Typo correction, thanks cow.
Peter S. Mazinger [Tue, 18 Oct 2005 21:15:32 +0000 (21:15 -0000)]
Commit first Makefile.in as example how the new infrastructure is intended to be used
Peter S. Mazinger [Tue, 18 Oct 2005 21:12:20 +0000 (21:12 -0000)]
Update upcoming new infrastructure files
Peter S. Mazinger [Mon, 17 Oct 2005 00:09:37 +0000 (00:09 -0000)]
Undo -combine addition, check_gcc can't cope with it
Peter S. Mazinger [Sun, 16 Oct 2005 22:13:27 +0000 (22:13 -0000)]
This file is a temporarily used one, until all the tree is converted to new structure, allowing to build out of source tree, PIC for shared/ non-PIC for static, allowing to add objects from one lib to the other (needed for ld.so/libc.so and probably libpthread.so)
Peter S. Mazinger [Sun, 16 Oct 2005 22:05:38 +0000 (22:05 -0000)]
Add -combine to CFLAGS so gcc-4.1 won't build faulty libs if all sources are built into one object
Peter S. Mazinger [Fri, 14 Oct 2005 20:44:06 +0000 (20:44 -0000)]
Forgotten to commit libdl.c, change __LIBDL_SHARED__ to SHARED.
Peter S. Mazinger [Fri, 14 Oct 2005 20:42:59 +0000 (20:42 -0000)]
Change __LIBDL_SHARED__ to SHARED. This will be also used in some other places to get an object built for lib*.so but not for lib*.a.
Peter S. Mazinger [Fri, 14 Oct 2005 19:41:23 +0000 (19:41 -0000)]
Do not recurse into ldso if HAVE_SHARED is disabled.
Peter S. Mazinger [Fri, 14 Oct 2005 19:28:39 +0000 (19:28 -0000)]
Add new rules file for review, better ideas, not used yet
Peter S. Mazinger [Wed, 12 Oct 2005 19:40:41 +0000 (19:40 -0000)]
Remove /dev/erandom support, as [h]lfs does not use it in this form.
Peter S. Mazinger [Wed, 12 Oct 2005 17:08:07 +0000 (17:08 -0000)]
Curious failure now, haven't touched this one.
Peter S. Mazinger [Wed, 12 Oct 2005 16:12:36 +0000 (16:12 -0000)]
Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
Peter S. Mazinger [Tue, 11 Oct 2005 23:27:57 +0000 (23:27 -0000)]
Change __OPTIMIZE__ > 0 to defined(__OPTIMIZE__) as in glibc-2.3.5.
Peter S. Mazinger [Tue, 11 Oct 2005 23:21:14 +0000 (23:21 -0000)]
Defer SHARED_START/END_FILES. They are only used for the shared library.
Peter S. Mazinger [Tue, 11 Oct 2005 23:05:36 +0000 (23:05 -0000)]
Do not defer expansions where useless, like CSRC/OBJS/LIB_NAME/AR_LIB_NAME, defer only for shared lib related stuff, because it is optional. Run STRIPTOOL only once. More use of /$^/$<.
Peter S. Mazinger [Tue, 11 Oct 2005 20:49:07 +0000 (20:49 -0000)]
Missed OBJS definition in libcrypt/libutil. Use := where possible
Eric Andersen [Tue, 11 Oct 2005 20:28:00 +0000 (20:28 -0000)]
fix url
Peter S. Mazinger [Tue, 11 Oct 2005 19:42:32 +0000 (19:42 -0000)]
Undo size optimizing patch that does not work with gcc-4.1-head, reported by sjhill, thanks cow for testing
Peter S. Mazinger [Tue, 11 Oct 2005 18:31:26 +0000 (18:31 -0000)]
Allow building uClibc w/ make-3.79.1 if SSP is disabled
Peter S. Mazinger [Tue, 11 Oct 2005 09:06:22 +0000 (09:06 -0000)]
Remove TMPDIR from glibc's commented list
Peter S. Mazinger [Tue, 11 Oct 2005 08:58:53 +0000 (08:58 -0000)]
Sync unsecvars.h w/ glibc-2.3.5, remove unused vars in uClibc, update comment about those in glibc
Peter S. Mazinger [Sat, 8 Oct 2005 14:40:04 +0000 (14:40 -0000)]
User strong_alias instead of initializing __guard separately
"Steven J. Hill" [Sat, 8 Oct 2005 01:30:59 +0000 (01:30 -0000)]
Fix up PTDIR bug and clean target for libpthread.
Peter S. Mazinger [Fri, 7 Oct 2005 16:27:57 +0000 (16:27 -0000)]
Doing the compile in one step creates smaller archives, libcrypt.a shrinks from 12k to 10k, libutil.a to 8k to 4k. Use make provided features where possible /$</$^.
Peter S. Mazinger [Thu, 6 Oct 2005 06:25:11 +0000 (06:25 -0000)]
Remove *.o and *.os running find only once
"Steven J. Hill" [Thu, 6 Oct 2005 04:21:07 +0000 (04:21 -0000)]
Oops, that was a bad wildcard.
"Steven J. Hill" [Thu, 6 Oct 2005 04:18:36 +0000 (04:18 -0000)]
Need to get both .o and .os files. (.os files are built for NPTL)
"Steven J. Hill" [Thu, 6 Oct 2005 04:03:47 +0000 (04:03 -0000)]
Fix broken path for PTDIR which needed a '/' at the end to work. Also brought in the other stuff needed for NPTL. Erik, please cut me some slack again. The option is not in 'extra/Config/Config.in' so it cannot be activated. Besides, take a look at the check in tonight on the branch and the post on the mailing list.
Eric Andersen [Wed, 5 Oct 2005 21:44:56 +0000 (21:44 -0000)]
ldd does not build due to missing fork() on MMUless. Since ldd merely
does a fork/exec, fork() can be trivially replaced with vfork()
Eric Andersen [Wed, 5 Oct 2005 08:08:07 +0000 (08:08 -0000)]
oops, missed a spot
Mike Frysinger [Wed, 5 Oct 2005 00:42:53 +0000 (00:42 -0000)]
merge additional license cruft from glibc
Eric Andersen [Tue, 4 Oct 2005 22:26:07 +0000 (22:26 -0000)]
Do not stub out functions for mmu-less systems. Hide all
prototypes for functions disabled on mmu-less systems.
Peter S. Mazinger [Tue, 4 Oct 2005 15:28:15 +0000 (15:28 -0000)]
Add another comment
Peter S. Mazinger [Tue, 4 Oct 2005 15:25:39 +0000 (15:25 -0000)]
Use PTDIR in libpthread/Makefile too, add new PTNAME being nptl or linuxthreads. sjhill, I know you kill my keyboard, but please read my added comments, thanks.
Peter S. Mazinger [Tue, 4 Oct 2005 14:47:17 +0000 (14:47 -0000)]
Do not recurse into ldso/libc/libpthread on clean
"Steven J. Hill" [Tue, 4 Oct 2005 00:45:44 +0000 (00:45 -0000)]
One more addition.
"Steven J. Hill" [Tue, 4 Oct 2005 00:29:14 +0000 (00:29 -0000)]
Clean up pthread include mess. Some of these will be needed to support NPTL, but they do no harm for the linuxthreads case. Yes, I tested this.
"Steven J. Hill" [Tue, 4 Oct 2005 00:05:37 +0000 (00:05 -0000)]
Neaten up the libpthread directory.
Peter S. Mazinger [Mon, 3 Oct 2005 17:53:21 +0000 (17:53 -0000)]
Move _dl_protect_relro as in ldso.c, thanks to jocke
Peter S. Mazinger [Mon, 3 Oct 2005 17:50:48 +0000 (17:50 -0000)]
Enable attribute_relro on __guard and __stack_chk_guard now that ld.so supports it
Peter S. Mazinger [Mon, 3 Oct 2005 17:25:28 +0000 (17:25 -0000)]
Move _dl_protect_relro after INIT to allow using attribute_relro within uClibc_init
"Steven J. Hill" [Sat, 1 Oct 2005 17:34:42 +0000 (17:34 -0000)]
Again, I need to cut down on my merge times and this last set of changes to the makefile structure is killing me. Sorry to put more native thread stuff in, but it cannot be activated in the trunk, so there is no harm.
"Steven J. Hill" [Sat, 1 Oct 2005 17:06:33 +0000 (17:06 -0000)]
Clean up debugging levels for MIPS. This should make things consistent now.
"Steven J. Hill" [Sat, 1 Oct 2005 16:24:20 +0000 (16:24 -0000)]
Change the order in which '__uClibc_init' is called. In the case of NPTL, some auxillary TLS set up has to happen beforehand. This has been tested for almost two months now and I am tired of chasing it around in my merges. Look in the NPTL trunk if you want more information.