Peter S. Mazinger
c8eb6b4c7a
libnsl,libresolv: do not include unneeded features.h
...
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net >
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2012-06-15 14:00:32 +02:00
Bernd Schmidt bernds_cb1@t-online.de
f4eebb6146
Add Makefile support for DSBT ELF.
...
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 >
2011-03-05 18:09:46 +01:00
Natanael Copa
71239593ef
nptl: proper soname handling
...
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 >
2010-04-22 08:39:36 -07:00
Bernhard Reutner-Fischer
abdbaa897b
prettify make clean
...
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2010-03-25 15:39:02 +01:00
Bernhard Reutner-Fischer
a59d48422f
libnsl: add knob to disable it
...
It's a dummy either way.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2009-11-19 18:03:00 +01:00
Bernhard Reutner-Fischer
49d8a0e9c6
support building out-of-tree
...
Handle O=
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com >
2009-08-17 19:17:00 +02:00
Bernhard Reutner-Fischer
db5c575256
- also link librt with --as-needed and do so unconditionally to work around
...
bugs in gentoo's QA.
Just add UCLIBC_HAS_SSP to the "and" of link.asneeded to properly take SSP
into account, if you prefer.
2009-01-22 09:47:09 +00:00
Bernhard Reutner-Fischer
035ac813b4
- if ssp is enabled then make sure that __stack_chk_fail resolves
2008-11-15 16:10:29 +00:00
Bernhard Reutner-Fischer
b74c3aa1a9
- less verbose make clean
2008-11-07 21:15:53 +00:00
Bernhard Reutner-Fischer
63abaebc01
- move stripping into do_ar resp compile-m for the sake of simplicity
2008-06-17 14:20:36 +00:00
Bernhard Reutner-Fischer
bf765e60dd
- strip the targets and not prerequisites
...
- 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.
2008-06-04 14:57:16 +00:00
Bernd Schmidt
68d02d6473
A slight improvement over my previous commit which ensured we always rebuild
...
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.
2008-06-01 16:49:23 +00:00
Mike Frysinger
6bc45b2d57
#1273 if EXTRAVERSION is set, make sure we respect it
2007-03-19 09:49:04 +00:00
Peter S. Mazinger
1466eb283c
Some more prototypes, enable missing-prototypes/declarations warnings for now
2006-01-26 22:19:01 +00:00
Peter S. Mazinger
1fbb5fc1b1
With one source or syscall only sources there is no use of IMA
2006-01-19 21:51:09 +00:00
Peter S. Mazinger
c8a5ff2919
Update license
2006-01-16 21:43:29 +00:00
Mike Frysinger
2d09adf5a9
update license
2005-11-23 13:19:45 +00:00
Peter S. Mazinger
72c0f6a2d6
Depedencies corrected (less make oldconfig/headers), rerunning make remakes only headers
2005-11-22 21:45:24 +00:00
Mike Frysinger
b20ee706ef
rework depends and stripping so that libraries arent rebuilt all the time in a loop
2005-11-22 01:44:51 +00:00
Peter S. Mazinger
ba31c6c463
Remove TOPDIR
2005-11-21 16:15:55 +00:00
Peter S. Mazinger
31ae4299f5
Add info to CFLAGS about lib we are building
2005-11-18 20:37:59 +00:00
Peter S. Mazinger
0a7b9d5d57
Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding foreign objects to a lib
2005-11-17 22:56:02 +00:00
Peter S. Mazinger
e6aa37afc9
Replace all Makefiles for new build infrastucture
2005-10-29 10:16:07 +00:00
Peter S. Mazinger
237277e9a8
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.
2005-10-27 22:58:52 +00:00
Peter S. Mazinger
bddfb866b0
Default changed to IMA compiling, disabled explicitely where currently not possible. Add clean targets for linuxthreads[_db].
2005-10-26 08:15:03 +00:00
Peter S. Mazinger
a80fc77b65
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.
2005-10-25 22:17:39 +00:00
Peter S. Mazinger
5e48b8b628
Add the current implementation to review
2005-10-19 20:19:47 +00:00
Peter S. Mazinger
3a7ac9c7a7
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.
2005-10-12 16:12:36 +00:00
Peter S. Mazinger
998913a5ce
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 /$^/$<.
2005-10-11 23:05:36 +00:00
Peter S. Mazinger
f70602be19
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
2005-09-28 12:34:41 +00:00
Peter S. Mazinger
0929e196d2
no check needed in libm/libpthread, we do not recurse anymore if the related option is not set, more Makefile cleanups
2005-09-22 09:45:02 +00:00
Mike Frysinger
4203076cd1
no more cvs
2005-02-12 20:59:08 +00:00
Mike Frysinger
99e973a956
rework dependencies so the archive is re-created only when the object files have been updated
2005-01-18 23:30:31 +00:00
Eric Andersen
3d831a7c27
Cleaned up patch from Peter S. Mazinger adding support for
...
-fstack-protector and -fno-stack-protector-all security
options
2004-12-22 21:04:52 +00:00
Manuel Novoa III
d8c8b456f4
We need to link with libgcc.a when creating shared libs, in order to
...
avoid problems 'hidden symbol' problems. Also handle -lfloat for the
soft-float arm case.
2004-01-16 18:52:54 +00:00
Eric Andersen
fe6015e8aa
minor cleanup
2003-11-04 09:00:56 +00:00
Eric Andersen
ff23ecf669
Peter Kjellerstedt writes:
...
ln.patch:
* Define $(LN) as ln in Rules.mak.
* Change all occurrences of ln into $(LN).
* Change all constructs like (cd path && ln -sf foo/file file)
into $(LN) -sf foo/file path/file. The latter construct is
already used in a number of places so it should not be
an additional compatibility problem.
2003-10-18 10:51:06 +00:00
Eric Andersen
dd3fb0f8c1
Peter Kjellerstedt writes:
...
rm.patch:
* Define $(RM) as rm -f in Rules.mak and test/Rules.mak
(this is the same definition as gmake uses by default).
* Change all occurrences of rm and rm -f into $(RM).
2003-10-18 10:20:59 +00:00
Eric Andersen
49f0dd0fcb
Peter Kjellerstedt writes:
...
install.patch:
* Define $(INSTALL) as install in Rules.mak.
* Change all occurrences of install into $(INSTALL).
* Change all occurrences of mkdir -p into $(INSTALL) -d.
install -d is already used in a number of places so
this should not be an additional compatibility problem.
2003-10-18 10:07:43 +00:00
Eric Andersen
a3ac5450a6
Somewhat pointless naming pedantry
2003-02-12 11:06:26 +00:00
Eric Andersen
00020640fc
Add in a stub libnsl library to make stupid configure scripts
...
(i.e. openssh) do the right thing when used with uClibc's gcc
wrapper (which does not currently prevent system libraries from
leaking into the link).
-Erik
2002-12-12 03:10:14 +00:00