aboutsummaryrefslogtreecommitdiff
path: root/Makeconfig
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-03-26 18:01:01 +0000
committerUlrich Drepper <drepper@redhat.com>1998-03-26 18:01:01 +0000
commita35cb74d7553958efc2dff8360c668ed25d97311 (patch)
treefbb6c706980458e98cb34e07391bc748626680a5 /Makeconfig
parent6f5ea8c71731adb6fc5b364e7aa6dd59dba96fdf (diff)
downloadglibc-a35cb74d7553958efc2dff8360c668ed25d97311.tar
glibc-a35cb74d7553958efc2dff8360c668ed25d97311.tar.gz
glibc-a35cb74d7553958efc2dff8360c668ed25d97311.tar.bz2
glibc-a35cb74d7553958efc2dff8360c668ed25d97311.zip
Update.
1998-03-26 Andreas Jaeger <aj@arthur.rhein-neckar.de> * manual/install.texi (Supported Configurations): Add arm-linuxaout and arm-none. 1998-03-26 Ulrich Drepper <drepper@cygnus.com> * version.h (VERSION): Bump to 2.0.93. 1998-03-25 07:30 H.J. Lu <hjl@gnu.org> * configure.in (libc_cv_ar_S): New to indicate if ar S works. * config.make.in (have-ar-S): New, substituted by libc_cv_ar_S. * Makerules (CREATE_ARFLAGS): New determined by $(have-ar-S). (do-ar, build-extra-lib): Use $(CREATE_ARFLAGS) for $(AR). 1998-03-26 Ulrich Drepper <drepper@cygnus.com> * Makeconfig (link-libc): Add missing use of libc_nonshared.a. 1998-03-26 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de> Put the static-only routines in a separate library. * Makeconfig (libtype.oS, CFLAGS-.oS, CPPFLAGS-.oS): New variables. (all-object-suffixes): Add .oS. * Makerules (libc_static-name): New variable. (installed-libcs): Add libc_nonshared.a. ($(inst_libdir)/libc.so): Use libc_nonshared.a instead of libc.a. (object-suffixes-for-rules): New variable. Use it instead of object-suffixes for generating compilation rules. (rmobjs): Also remove *.oS. * Rules (subdir_lib): Depend on $(objpfx)stamp.oS. ($(objpfx)stamp.oS): New target. 1998-03-26 Ulrich Drepper <drepper@cygnus.com> * Makefile (FAQ): Automatically check in regenerated FAQ. 1998-03-26 10:16 Zack Weinberg <zack@rabi.phys.columbia.edu> * Makefile (INSTALL): Depend on install.texi, not maint.texi.
Diffstat (limited to 'Makeconfig')
-rw-r--r--Makeconfig11
1 files changed, 9 insertions, 2 deletions
diff --git a/Makeconfig b/Makeconfig
index db62f8edb0..17967abda0 100644
--- a/Makeconfig
+++ b/Makeconfig
@@ -405,7 +405,7 @@ ifeq (yes,$(build-shared))
link-libc = -Wl,-rpath-link=$(rpath-link) \
$(common-objpfx)libc.so$(libc.so-version) \
$(elfobjdir)/$(rtld-installed-name) \
- $(common-objpfx)libc.a $(gnulib)
+ $(common-objpfx)libc_nonshared.a $(gnulib)
# Choose the default search path for the dynamic linker based on
# where we will install libraries.
ifneq ($(libdir),$(slibdir))
@@ -573,7 +573,7 @@ endif
# The compilation rules use $(CPPFLAGS-${SUFFIX}) and $(CFLAGS-${SUFFIX})
# to pass different flags for each flavor.
libtypes = $(foreach o,$(object-suffixes),$(libtype$o))
-all-object-suffixes := .o .os .op .og .ob
+all-object-suffixes := .o .os .op .og .ob .oS
object-suffixes :=
ifeq (yes,$(build-static))
CPPFLAGS-.o = $(pic-default)
@@ -619,6 +619,13 @@ CFLAGS-.ob = -g -fbounded-pointers
libtype.ob = lib%_b.a
endif
+# Special library that contains the static-only routines for libc.
+libtype.oS = lib%_nonshared.a
+# Must build the routines as PIC, though, because they can end up in (users')
+# shared objects. We don't want to use CFLAGS-os because users may, for
+# example, make that processor-specific.
+CFLAGS-.oS = $(CFLAGS-.o) $(pic-ccflag)
+CPPFLAGS-.oS = $(CPPFLAGS-.o)
+gnu-stabs = $(shell echo>&2 '*** BARF ON ME')