summaryrefslogtreecommitdiffstats
path: root/libc/Makefile.in
Commit message (Collapse)AuthorAgeFilesLines
* Add Makefile support for DSBT ELF.Bernd Schmidt bernds_cb1@t-online.de2011-03-051-0/+1
| | | | | | | | | | | This adds support for a new binary format, DSBT ELF, to the Makefiles. Every shared library is assigned a DSBT index, and the link.so macro is adjusted to ensure the correct linker argument is passed. Configuration and ldso support will follow in separate commits. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix race condition when generating linker scriptsBernhard Reutner-Fischer2010-06-241-4/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* nptl: proper soname handlingNatanael Copa2010-04-221-5/+5
| | | | | | | | | | | Since sublevel releases are not ABI compatible we need to adjust the soname to include the sublevel version. This makes it possible to install ABI incompatible versions of the library side by side so clean upgrades are possible. Signed-off-by: Natanael Copa <natanael.copa@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merge commit 'origin/master' into nptlAustin Foxley2010-04-021-2/+2
|\ | | | | | | | | | | | | | | | | | | | | | | Conflicts: Makefile.in extra/Configs/Config.in libc/sysdeps/linux/common/bits/kernel-features.h libc/sysdeps/linux/common/poll.c libc/sysdeps/linux/common/sysdep.h libc/sysdeps/linux/sh/sysdep.h Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * prettify make cleanBernhard Reutner-Fischer2010-03-251-2/+2
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | rework internal uClibc mutexes to support futex locking, and nptlAustin Foxley2009-10-171-1/+3
|/ | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libc.so: include all output formats in linker scriptSteve Bennett2009-06-281-2/+2
| | | | | | | | | | Rather than ripping out the default output format from the linker, include the big/little endian alternatives for the people who link with bi-endian toolchains. URL: http://lists.uclibc.org/pipermail/uclibc/2009-June/042595.html Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - less verbose make cleanBernhard Reutner-Fischer2008-11-071-2/+2
|
* - add/use variables to make build-tools configurableBernhard Reutner-Fischer2008-10-081-1/+1
|
* - move stripping into do_ar resp compile-m for the sake of simplicityBernhard Reutner-Fischer2008-06-171-3/+0
|
* - strip the targets and not prerequisitesBernhard Reutner-Fischer2008-06-041-1/+1
| | | | | | - tidy up PTHREADS_DEBUG_SUPPORT by using per-target STRIP_FLAGS for the few This fixes the spurious rebuilds bernd and vda were seeing with libpthreads.
* A slight improvement over my previous commit which ensured we always rebuildBernd Schmidt2008-06-011-3/+3
| | | | | | | | | libc when one of the source files changes. Since there are more places which want to depend on $(libc), fix them all to use a new variable $(libc.depend), which contains the filename for which we have a rule.
* Fix a dependency to mention libc.so, not libc.so.0, as we only have a rule toBernd Schmidt2008-05-311-1/+1
| | | | build the former.
* Omit adding 'OUTPUT_FORMAT' to the libc.so linker script if the architectureChris Zankel2008-02-111-2/+2
| | | | | | didn't provide one (Xtensa, for example, is such an architecture). Signed-off-by: Chris Zankel <chris@zankel.net>
* - fix linking.Bernhard Reutner-Fischer2008-01-171-1/+1
| | | | We use the compiler-driver and not ld.
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-1/+1
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* Some shared flat improvements.Bernd Schmidt2007-11-231-2/+5
| | | | | | | | Fix minor errors: - UCLIBC_SHARED_FLAT_ID instead of SHARED_FLAT_ID - use -Wl,-shared-lib-id properly Use libc_so.a as the source for the shared libc, in order to be able to use -mleaf-id-shared-library on the Blackfin.
* - use the compiler-driver instead of the linkerBernhard Reutner-Fischer2007-10-131-2/+2
| | | | | | | | | - adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,")
* drop LDFLAGS from OUTPUT_FORMAT until LD/LDFLAGS can be fixed in generalMike Frysinger2007-09-211-1/+1
|
* setup OUTPUT_FORMAT() in linker script (helps with multilib)Mike Frysinger2007-09-151-0/+3
|
* #1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger2007-03-191-1/+1
|
* Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger2006-12-081-0/+4
| | | | libraries
* fixup my copyright notice, trim stale remnants of older notices whichEric Andersen2006-07-051-1/+0
| | | | I had clearly run search/replace on that were cluttering things up.
* Add common part of linker scripts to a file and make use of itPeter S. Mazinger2006-03-091-3/+1
|
* DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger2006-02-151-4/+5
| | | | linuxthreads[_db] as well, don't try on slow box
* libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵Peter S. Mazinger2006-02-131-10/+25
| | | | libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore
* Allow to use atexit() and __stack_chk_fail_local() within libcPeter S. Mazinger2006-01-091-1/+1
|
* Build libc if in a subdir and we have it as a dependencyPeter S. Mazinger2005-11-251-1/+1
|
* Depedencies corrected (less make oldconfig/headers), rerunning make remakes ↵Peter S. Mazinger2005-11-221-16/+14
| | | | only headers
* rework depends and stripping so that libraries arent rebuilt all the time in ↵Mike Frysinger2005-11-221-4/+10
| | | | a loop
* make -j2 works herePeter S. Mazinger2005-11-181-1/+1
|
* Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger2005-11-171-17/+46
| | | | foreign objects to a lib
* use make builtin $(wildcard) rather than $(shell ls)Mike Frysinger2005-11-091-2/+4
|
* Disable DOMULTI for these, because gcc-4.0.2 can't cope with themPeter S. Mazinger2005-11-031-0/+2
|
* Last bits for IMA, now everything can be built w/ DOMULTI=y on gcc-3.4.4 ↵Peter S. Mazinger2005-11-031-2/+0
| | | | with my config (no locale, the rest enabled). Not tested if libc is complete and usable. All the files listed in *_NO_MULTI need love, best would be to replace all multisources w/ single sources.
* Allow using ssp w/ current active Makefiles too. Build crts for non-shared ↵Peter S. Mazinger2005-10-271-1/+1
| | | | archs too.
* Moved guard_setup to dl-osinfo.h (used commonly by ldso and libc). Renamed ↵Peter S. Mazinger2005-10-271-13/+1
| | | | 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.
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-251-0/+57
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.