Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update.
1998-07-02 21:51  Ulrich Drepper  <drepper@cygnus.com>

	* Makeconfig: Define list of subdirs as all-subdirs and make subdirs
	a copy.
	* Makefile: Add rules to generate map files.
	(distribute): Remove libc.map, add Versions.def and versions.awk.
	* Makerules: Change rules to find map files on common-objpfx.
	* elf/Makefile: Likewise.
	* md5-crypt/Makefile: Likewise.
	* nis/Makefile (libnsl-map): Remove.
	* Versions.def: New file.
	* versions.awk: New file.
	* argp/Versions: New file.
	* assert/Versions: New file.
	* catgets/Versions: New file.
	* csu/Versions: New file.
	* ctype/Versions: New file.
	* db/Versions: New file.
	* debug/Versions: New file.
	* dirent/Versions: New file.
	* elf/Versions: New file.
	* gmon/Versions: New file.
	* grp/Versions: New file.
	* hesiod/Versions: New file.
	* hurd/Versions: New file.
	* iconv/Versions: New file.
	* inet/Versions: New file.
	* intl/Versions: New file.
	* io/Versions: New file.
	* libio/Versions: New file.
	* linuxthreads/Versions: New file.
	* locale/Versions: New file.
	* login/Versions: New file.
	* malloc/Versions: New file.
	* math/Versions: New file.
	* md5-crypt/Versions: New file.
	* misc/Versions: New file.
	* nis/Versions: New file.
	* nss/Versions: New file.
	* posix/Versions: New file.
	* pwd/Versions: New file.
	* resolv/Versions: New file.
	* resource/Versions: New file.
	* rt/Versions: New file.
	* setjmp/Versions: New file.
	* shadow/Versions: New file.
	* signal/Versions: New file.
	* socket/Versions: New file.
	* stdio/Versions: New file.
	* stdio-common/Versions: New file.
	* stdlib/Versions: New file.
	* streams/Versions: New file.
	* string/Versions: New file.
	* sunrpc/Versions: New file.
	* sysdeps/alpha/Versions: New file.
	* sysdeps/alpha/fpu/Versions: New file.
	* sysdeps/i386/Versions: New file.
	* sysdeps/sparc/Versions: New file.
	* sysdeps/unix/sysv/Versions: New file.
	* sysdeps/unix/sysv/linux/Versions: New file.
	* sysdeps/unix/sysv/linux/alpha/Versions: New file.
	* sysdeps/unix/sysv/linux/i386/Versions: New file.
	* sysdeps/unix/sysv/linux/mips/Versions: New file.
	* sysvipc/Versions: New file.
	* termios/Versions: New file.
	* time/Versions: New file.
	* wcsmbs/Versions: New file.
	* wctype/Versions: New file.
	* libc.map: Removed.
	* db/libdb.map: Removed.
	* elf/libdl.map: Removed.
	* hesiod/libnss_hesiod.map: Removed.
	* hurd/libhurduser.map: Removed.
	* hurd/libmachuser.map: Removed.
	* linuxthreads/libpthread.map: Removed.
	* locale/libBrokenLocale.map: Removed.
	* login/libutil.map: Removed.
	* math/libm.map: Removed.
	* md5-crypt/libcrypt.map: Removed.
	* nis/libnsl.map: Removed.
	* nis/libnsl_compat.map: Removed.
	* nis/libnss_nis.map: Removed.
	* nis/libnss_nisplus.map: Removed.
	* nss/libnss_db.map: Removed.
	* nss/libnss_files.map: Removed.
	* resolv/libnss_dns.map: Removed.
	* resolv/libresolv.map: Removed.
	* rt/librt.map: Removed.

	* elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
	Fix typos.

	* elf/rtld.c (process_dl_debug): Recognize 'all'.
	(process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.

	* sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
	correct size.

	* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
	in comment.
  • Loading branch information
Ulrich Drepper committed Jul 2, 1998
1 parent 4c223a7 commit b0b67c4
Show file tree
Hide file tree
Showing 80 changed files with 2,260 additions and 1,020 deletions.
101 changes: 101 additions & 0 deletions ChangeLog
@@ -1,5 +1,106 @@
1998-07-02 21:51 Ulrich Drepper <drepper@cygnus.com>

* Makeconfig: Define list of subdirs as all-subdirs and make subdirs
a copy.
* Makefile: Add rules to generate map files.
(distribute): Remove libc.map, add Versions.def and versions.awk.
* Makerules: Change rules to find map files on common-objpfx.
* elf/Makefile: Likewise.
* md5-crypt/Makefile: Likewise.
* nis/Makefile (libnsl-map): Remove.
* Versions.def: New file.
* versions.awk: New file.
* argp/Versions: New file.
* assert/Versions: New file.
* catgets/Versions: New file.
* csu/Versions: New file.
* ctype/Versions: New file.
* db/Versions: New file.
* debug/Versions: New file.
* dirent/Versions: New file.
* elf/Versions: New file.
* gmon/Versions: New file.
* grp/Versions: New file.
* hesiod/Versions: New file.
* hurd/Versions: New file.
* iconv/Versions: New file.
* inet/Versions: New file.
* intl/Versions: New file.
* io/Versions: New file.
* libio/Versions: New file.
* linuxthreads/Versions: New file.
* locale/Versions: New file.
* login/Versions: New file.
* malloc/Versions: New file.
* math/Versions: New file.
* md5-crypt/Versions: New file.
* misc/Versions: New file.
* nis/Versions: New file.
* nss/Versions: New file.
* posix/Versions: New file.
* pwd/Versions: New file.
* resolv/Versions: New file.
* resource/Versions: New file.
* rt/Versions: New file.
* setjmp/Versions: New file.
* shadow/Versions: New file.
* signal/Versions: New file.
* socket/Versions: New file.
* stdio/Versions: New file.
* stdio-common/Versions: New file.
* stdlib/Versions: New file.
* streams/Versions: New file.
* string/Versions: New file.
* sunrpc/Versions: New file.
* sysdeps/alpha/Versions: New file.
* sysdeps/alpha/fpu/Versions: New file.
* sysdeps/i386/Versions: New file.
* sysdeps/sparc/Versions: New file.
* sysdeps/unix/sysv/Versions: New file.
* sysdeps/unix/sysv/linux/Versions: New file.
* sysdeps/unix/sysv/linux/alpha/Versions: New file.
* sysdeps/unix/sysv/linux/i386/Versions: New file.
* sysdeps/unix/sysv/linux/mips/Versions: New file.
* sysvipc/Versions: New file.
* termios/Versions: New file.
* time/Versions: New file.
* wcsmbs/Versions: New file.
* wctype/Versions: New file.
* libc.map: Removed.
* db/libdb.map: Removed.
* elf/libdl.map: Removed.
* hesiod/libnss_hesiod.map: Removed.
* hurd/libhurduser.map: Removed.
* hurd/libmachuser.map: Removed.
* linuxthreads/libpthread.map: Removed.
* locale/libBrokenLocale.map: Removed.
* login/libutil.map: Removed.
* math/libm.map: Removed.
* md5-crypt/libcrypt.map: Removed.
* nis/libnsl.map: Removed.
* nis/libnsl_compat.map: Removed.
* nis/libnss_nis.map: Removed.
* nis/libnss_nisplus.map: Removed.
* nss/libnss_db.map: Removed.
* nss/libnss_files.map: Removed.
* resolv/libnss_dns.map: Removed.
* resolv/libresolv.map: Removed.
* rt/librt.map: Removed.

* elf/dl-load.c (fillin_rpath): Fix test for trusted directory.
Fix typos.

* elf/rtld.c (process_dl_debug): Recognize 'all'.
(process_envvars): LD_BIND_NOW must be followed by y, Y, or 1.

* sysdeps/generic/elf/backtracesyms.c: Allocate string memory of
correct size.

1998-07-01 Ulrich Drepper <drepper@cygnus.com>

* sysdeps/unix/sysv/linux/getsysstats.c (get_proc_path): Fix typo
in comment.

* nscd/nscd.c: Include unistd.h.

1998-07-01 09:32 Ulrich Drepper <drepper@cygnus.com>
Expand Down
12 changes: 7 additions & 5 deletions Makeconfig
Expand Up @@ -756,11 +756,13 @@ sysdep-subdirs := $(subst $(\n), ,$(sysdep-subdirs))
endif

# These are the subdirectories containing the library source.
subdirs = csu assert ctype db2 locale intl catgets math setjmp signal stdlib \
stdio-common $(stdio) malloc string wcsmbs time dirent grp pwd \
posix io termios resource misc socket sysvipc gmon gnulib iconv \
iconvdata wctype manual shadow md5-crypt po argp $(add-ons) nss \
localedata timezone rt debug $(sysdep-subdirs) $(binfmt-subdir)
all-subdirs = csu assert ctype db2 locale intl catgets math setjmp signal \
stdlib stdio-common $(stdio) malloc string wcsmbs time dirent \
grp pwd posix io termios resource misc socket sysvipc gmon \
gnulib iconv iconvdata wctype manual shadow md5-crypt po argp \
$(add-ons) nss localedata timezone rt debug $(sysdep-subdirs) \
$(binfmt-subdir)
subdirs = $(all-subdirs)

# The mach and hurd subdirectories have many generated header files which
# much of the rest of the library depends on, so it is best to build them
Expand Down
26 changes: 20 additions & 6 deletions Makefile
Expand Up @@ -77,6 +77,10 @@ ifeq (yes,$(build-shared))
install-others += $(inst_includedir)/gnu/lib-names.h
endif

ifeq ($(versioning),yes)
lib-noranlib: $(common-objpfx)sysd-versions
endif

include Makerules

ifeq ($(build-programs),yes)
Expand Down Expand Up @@ -241,12 +245,12 @@ parent_echo-distinfo:
distribute := README README.libm INSTALL FAQ FAQ.in NOTES NEWS BUGS \
PROJECTS COPYING.LIB COPYING ChangeLog ChangeLog.[0-9] \
Makefile Makeconfig Makerules Rules Make-dist MakeTAGS \
extra-lib.mk o-iterator.mk libc.map configure \
configure.in aclocal.m4 config.h.in config.make.in \
config-name.in Makefile.in sysdep.h set-hooks.h \
libc-symbols.h version.h shlib-versions rpm/Makefile \
rpm/template rpm/rpmrc glibcbug.in abi-tags stub-tag.h \
test-skeleton.c include/des.h \
extra-lib.mk o-iterator.mk configure configure.in \
aclocal.m4 config.h.in config.make.in config-name.in \
Makefile.in sysdep.h set-hooks.h libc-symbols.h \
version.h shlib-versions rpm/Makefile rpm/template \
rpm/rpmrc glibcbug.in abi-tags stub-tag.h \
test-skeleton.c include/des.h Versions.def versions.awk \
$(addprefix scripts/, \
rellns-sh config.sub config.guess \
mkinstalldirs move-if-change install-sh \
Expand Down Expand Up @@ -311,3 +315,13 @@ headers2_0 := __math.h bytesex.h confname.h direntry.h elfclass.h \
.PHONY: remove-old-headers
remove-old-headers:
rm -f $(addprefix $(inst_includedir)/, $(headers2_0))

# Generate version maps.
ifeq ($(versioning),yes)
$(common-objpfx)sysd-versions: versions.awk \
$(wildcard $(all-subdirs:%=%/Versions)) \
$(wildcard $(+sysdep_dirs:%=%/Versions))
$(AWK) -v 'buildroot=$(common-objpfx)' -f $^
rm -f $@
echo > $@
endif
8 changes: 4 additions & 4 deletions Makerules
Expand Up @@ -325,8 +325,8 @@ ifeq (yes,$(build-shared))
# Reference map file only when versioning is selected and a map file name
# is given.
ifeq ($(versioning),yes)
map-file = $(firstword $(wildcard \
$($(@F:.so=-map)) $(@F:.so=.map) $(..)$(@F:.so=.map)))
map-file = $(firstword $(wildcard $($(@F:.so=-map)) \
$(common-objpfx)$(@F:.so=.map)))
load-map-file = $(map-file:%=-Wl,--version-script=%)
endif

Expand All @@ -345,7 +345,7 @@ $(LINK.o) -shared -o $@ $(sysdep-LDFLAGS) $(config-LDFLAGS) \
$(LDFLAGS.so) $(LDFLAGS-$(@F:lib%.so=%).so) \
-L$(subst :, -L,$(rpath-link)) -Wl,-rpath-link=$(rpath-link) \
-Wl,--whole-archive \
$(filter-out $(map-file) $(+preinit) $(+postinit),$^) \
$(filter-out $(map-file) $(@F:.so=.map) $(+preinit) $(+postinit),$^) \
$(no-whole-archive) $(LDLIBS-$(@F:lib%.so=%).so)
endef

Expand Down Expand Up @@ -386,7 +386,7 @@ $(common-objpfx)libc.so: $(elfobjdir)/soinit.os \
$(common-objpfx)libc_pic.os \
$(elfobjdir)/sofini.os \
$(elfobjdir)/interp.os $(elfobjdir)/ld.so \
$(..)libc.map
$(common-objpfx)libc.map
$(build-shlib)
common-generated += libc.so libc_pic.os
ifdef libc.so-version
Expand Down
66 changes: 66 additions & 0 deletions Versions.def
@@ -0,0 +1,66 @@
libBrokenLocale {
GLIBC_2.0
}
libc {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libcrypt {
GLIBC_2.0
}
libdb {
GLIBC_2.0
}
libdl {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libhurduser {
GLIBC_2.0
}
libm {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libmachuser {
GLIBC_2.0
}
libnsl {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libnss_compat {
GLIBC_2.0
}
libnss_db {
GLIBC_2.0
}
libnss_dns {
GLIBC_2.0
}
libnss_files {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libnss_hesiod {
GLIBC_2.1
}
libnss_nis {
GLIBC_2.0
}
libnss_nisplus {
GLIBC_2.0
}
libpthread {
GLIBC_2.0
GLIBC_2.1 GLIBC_2.0
}
libresolv {
GLIBC_2.0
}
librt {
GLIBC_2.1
}
libutil {
GLIBC_2.0
}
11 changes: 11 additions & 0 deletions argp/Versions
@@ -0,0 +1,11 @@
libc {
GLIBC_2.1 {
# variables in normal name space
argp_err_exit_status; argp_program_bug_address; argp_program_version;
argp_program_version_hook;

# a*
argp_error; argp_failure; argp_help; argp_parse; argp_state_help;
argp_usage;
}
}
6 changes: 6 additions & 0 deletions assert/Versions
@@ -0,0 +1,6 @@
libc {
GLIBC_2.0 {
# functions used in inline functions or macros
__assert_fail; __assert_perror_fail;
}
}
9 changes: 9 additions & 0 deletions catgets/Versions
@@ -0,0 +1,9 @@
libc {
GLIBC_2.0 {
# functions with required interface outside normal name space
__open_catalog;

# c*
catclose; catgets; catopen;
}
}
29 changes: 29 additions & 0 deletions csu/Versions
@@ -0,0 +1,29 @@
libc {
GLIBC_2.0 {
# global variables
_errno; __environ; _environ;

# helper functions
__errno_location; __libc_init_first; __libc_start_main;

# Exception handling support functions from libgcc
__register_frame; __register_frame_table; __deregister_frame;
__register_frame_info; __deregister_frame_info;

# variables in normal name space
environ; errno;

# b*
brk;

# s*
sbrk;
}
GLIBC_2.1 {
# global variables
__libc_stack_end;

# New special glibc functions.
gnu_get_libc_release; gnu_get_libc_version;
}
}
13 changes: 13 additions & 0 deletions ctype/Versions
@@ -0,0 +1,13 @@
libc {
GLIBC_2.0 {
# global variables
__ctype_b; __ctype_tolower; __ctype_toupper;

# i*
isalnum; isalpha; isascii; isblank; iscntrl; isdigit; isgraph; islower;
isprint; ispunct; isspace; isupper; isxdigit;

# t*
toascii; tolower; toupper;
}
}
10 changes: 4 additions & 6 deletions db/libdb.map → db/Versions
@@ -1,12 +1,10 @@
GLIBC_2.0 {
global:
libdb {
GLIBC_2.0 {
# the real DB entry point.
dbopen; __dbopen;

# The compatibility functions.
dbm_clearerr; dbm_close; dbm_delete; dbm_dirfno; dbm_error;
dbm_fetch; dbm_firstkey; dbm_nextkey; dbm_open; dbm_store;

local:
*;
};
}
}
9 changes: 9 additions & 0 deletions debug/Versions
@@ -0,0 +1,9 @@
libc {
GLIBC_2.1 {
# functions used in other libraries
__backtrace; __backtrace_symbols;

# b*
backtrace; backtrace_symbols;
}
}

0 comments on commit b0b67c4

Please sign in to comment.