OSDN Git Service
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.
Peter S. Mazinger [Sat, 1 Oct 2005 15:48:22 +0000 (15:48 -0000)]
Add gcc-4.1 non-TLS __stack_chk_guard support. Run the guard setup only once.
Peter S. Mazinger [Sat, 1 Oct 2005 10:16:02 +0000 (10:16 -0000)]
chroot_realpath.c is a dependency also for target ldconfig
Eric Andersen [Fri, 30 Sep 2005 21:30:57 +0000 (21:30 -0000)]
Allow ldconfig.host to build ld.so.cache for target, regardless of
the target system's byteorder
Peter S. Mazinger [Fri, 30 Sep 2005 10:33:36 +0000 (10:33 -0000)]
Move arch specific bits from linuxthreads' Makefile to linuxthreads/sysdeps/TARGET_ARCH/Makefile.in proposed by vapier. The current implementation should suffice for now, but it needs to be extended for the nptl tree.
Peter S. Mazinger [Fri, 30 Sep 2005 09:06:20 +0000 (09:06 -0000)]
Split out header installation into separate install_headers target and added an additional condition for libc.so linker script creation checking for libc.so.0 in place.
Peter S. Mazinger [Thu, 29 Sep 2005 22:43:31 +0000 (22:43 -0000)]
Add .type _init/_fini unconditionally to arm/crt1.S
Peter S. Mazinger [Thu, 29 Sep 2005 20:15:28 +0000 (20:15 -0000)]
Similarly to libm, remove recursion from linuxthreads. Now only libc.a and libc.so are rebuilt again if make is run a second time.
Peter S. Mazinger [Thu, 29 Sep 2005 19:14:58 +0000 (19:14 -0000)]
Remove unneeded temporary file, libm.so will wait until libm.a target is finished
Peter S. Mazinger [Thu, 29 Sep 2005 19:06:54 +0000 (19:06 -0000)]
Allow parallel building in libm
Peter S. Mazinger [Thu, 29 Sep 2005 17:54:53 +0000 (17:54 -0000)]
Modify libm's Makefile not needing any recursion
Peter S. Mazinger [Thu, 29 Sep 2005 08:25:49 +0000 (08:25 -0000)]
If HAVE_SHARED is disabled and libm/TARGET_ARCH does not exist, subdirs does not resolve to anything, not pulling in libm.a target. Add libm.a to all: .
Mike Frysinger [Wed, 28 Sep 2005 23:34:49 +0000 (23:34 -0000)]
fix building
Peter S. Mazinger [Wed, 28 Sep 2005 18:52:06 +0000 (18:52 -0000)]
Build crt[in].o with disabled ssp.
Peter S. Mazinger [Wed, 28 Sep 2005 17:17:20 +0000 (17:17 -0000)]
arm/crt1.S needs features.h and the weak _init/_fini independently of __PIC__. Add these weaks to mips/crt1.S as well.
Peter S. Mazinger [Wed, 28 Sep 2005 13:09:46 +0000 (13:09 -0000)]
Oops, libc.a didn't got installed
Peter S. Mazinger [Wed, 28 Sep 2005 12:34:41 +0000 (12:34 -0000)]
Remove ar-target and shared targets, at build time now we traverse the tree only once. Generalize all toplevel makefiles. Make sure, that libdl.so is built against libc.so and not libc.a
Mike Frysinger [Wed, 28 Sep 2005 01:18:01 +0000 (01:18 -0000)]
clean up -malign- vs -falign- #352 by yvasilev
Mike Frysinger [Wed, 28 Sep 2005 01:11:38 +0000 (01:11 -0000)]
use local header files rather than toolchain header files #444 by ee_doright
Peter S. Mazinger [Tue, 27 Sep 2005 21:42:39 +0000 (21:42 -0000)]
Should correct ppc compilation failure reported by Glauber de Oliveira Costa. Couldn't test it though on ppc.
Peter S. Mazinger [Tue, 27 Sep 2005 17:11:48 +0000 (17:11 -0000)]
Check for existing libc.so ld script before trying to modify it
Peter S. Mazinger [Tue, 27 Sep 2005 10:20:39 +0000 (10:20 -0000)]
Provide atexit() for static builds
Peter S. Mazinger [Tue, 27 Sep 2005 09:53:03 +0000 (09:53 -0000)]
Do not create libc.so linker script if only development headers are installed
Peter S. Mazinger [Tue, 27 Sep 2005 08:43:33 +0000 (08:43 -0000)]
Target distclean removes now locales.txt/codesets.txt too. reorder clean target.
Peter S. Mazinger [Tue, 27 Sep 2005 08:12:29 +0000 (08:12 -0000)]
Speed up clean target, don't recurse where possible, remove unneeded actions
Peter S. Mazinger [Tue, 27 Sep 2005 07:37:48 +0000 (07:37 -0000)]
Remove created objects independently of TARGET_ARCH and kill 3 warnings
Peter S. Mazinger [Mon, 26 Sep 2005 19:43:49 +0000 (19:43 -0000)]
Revert earlier patch to install_dev and runtime targets. Need a better solution.
Peter S. Mazinger [Mon, 26 Sep 2005 17:36:29 +0000 (17:36 -0000)]
remove unneeded ';' and add utils to .PHONY
Peter S. Mazinger [Mon, 26 Sep 2005 17:31:47 +0000 (17:31 -0000)]
Add __cxa_atexit and __cxa_finalize, thanks to Stephen Warren. This patch breaks compatibility with existing binaries, unless the new COMPAT_ATEXIT option is enabled.
Peter S. Mazinger [Mon, 26 Sep 2005 08:07:11 +0000 (08:07 -0000)]
Correct targets install_dev and install_runtime to depend on shared
Mike Frysinger [Sat, 24 Sep 2005 23:57:33 +0000 (23:57 -0000)]
make sure our utils link against the currently built libc rather than the toolchain one
"Steven J. Hill" [Sat, 24 Sep 2005 16:01:53 +0000 (16:01 -0000)]
Remove unneeded if clause. We won't be in this directory unless we
have enabled threads.
Mike Frysinger [Sat, 24 Sep 2005 04:58:20 +0000 (04:58 -0000)]
generate headers after running menuconfig
Peter S. Mazinger [Fri, 23 Sep 2005 20:17:39 +0000 (20:17 -0000)]
Do not build __uClibc_main.o with ssp enabled