This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
CRIS port 2/8: shlib-versions
- To: libc-alpha at sources dot redhat dot com
- Subject: CRIS port 2/8: shlib-versions
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- Date: Mon, 9 Apr 2001 03:49:49 +0200
I'm not sure I fully understand what and how much should go in
shlib-versions for a new target not burdened by compatibility. I just
play tag with s390x. Actually, I'd rather avoid symbol versioning
completely to save flash prom space in the intended application, but it
seems --disable-versioning has a bad effect on code size and speed. I
suppose it's because the version scripts force a lot of symbols local,
which cause their PLT entries to be omitted or something. Perhaps to be
revisited some time.
If someone can briefly explain what should go where for new targets, I
might be lured into writing something for the manual, or just a blurb for
the head of the file.
2001-04-08 Hans-Peter Nilsson <hp@axis.com>
* shlib-versions: Add cases for GNU/Linux on CRIS.
Index: shlib-versions
===================================================================
RCS file: /cvs/glibc/libc/shlib-versions,v
retrieving revision 1.57
diff -p -c -r1.57 shlib-versions
*** shlib-versions 2001/03/16 08:46:26 1.57
--- shlib-versions 2001/04/08 23:00:26
*************** ia64-.*-linux.* libm=6.1 GLIBC_2.2
*** 24,29 ****
--- 24,30 ----
sh.*-.*-linux.* libm=6 GLIBC_2.2
hppa.*-.*-.* libm=6 GLIBC_2.2
s390x-.*-linux.* libm=6 GLIBC_2.2
+ cris-.*-linux.* libm=6 GLIBC_2.2
.*-.*-linux.* libm=6
.*-.*-gnu-gnu.* libm=6
*************** sh.*-.*-linux.* libc=6 GLIBC_2.2
*** 36,41 ****
--- 37,43 ----
sparc64-.*-linux.* libc=6 GLIBC_2.2
hppa.*-.*-.* libc=6 GLIBC_2.2
s390x-.*-linux.* libc=6 GLIBC_2.2
+ cris-.*-linux.* libc=6 GLIBC_2.2
.*-.*-linux.* libc=6
# libmachuser.so.1 corresponds to mach/*.defs as of Utah's UK22 release.
*************** ia64-.*-linux.* ld=ld-linux-ia64.so.2 G
*** 62,67 ****
--- 64,70 ----
mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0 GLIBC_2.2
hppa.*-.*-.* ld=ld.so.1 GLIBC_2.2
s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
+ cris-.*-linux.* ld=ld.so.1 GLIBC_2.2
# We use the ELF ABI standard name for the default.
.*-.*-.* ld=ld.so.1
*************** s390x-.*-linux.* ld=ld64.so.1 GLIBC_2.2
*** 69,80 ****
--- 72,85 ----
alpha.*-.*-linux.* libdl=2.1
mips.*-.*-linux.* libdl=2 GLIBC_2.0 GLIBC_2.2
s390x-.*-linux.* libdl=2 GLIBC_2.2
+ cris-.*-linux.* libdl=2 GLIBC_2.2
.*-.*-.* libdl=2
# So far the -lutil interface is the same on all platforms, except for the
# `struct utmp' format, which depends on libc.
alpha.*-.*-linux.* libutil=1.1
s390x-.*-linux.* libutil=1 GLIBC_2.2
+ cris-.*-linux.* libutil=1 GLIBC_2.2
.*-.*-.* libutil=1
# Version number 2 is used on other systems for the BIND 4.9.5 resolver
*************** s390x-.*-linux.* libnss_nis=2 GLIBC_2.2
*** 100,105 ****
--- 105,117 ----
s390x-.*-linux.* libnss_nisplus=2 GLIBC_2.2
s390x-.*-linux.* libnss_ldap=2 GLIBC_2.2
s390x-.*-linux.* libnss_hesiod=2 GLIBC_2.2
+ cris-.*-linux.* libnss_files=2 GLIBC_2.2
+ cris-.*-linux.* libnss_dns=2 GLIBC_2.2
+ cris-.*-linux.* libnss_compat=2 GLIBC_2.2
+ cris-.*-linux.* libnss_nis=2 GLIBC_2.2
+ cris-.*-linux.* libnss_nisplus=2 GLIBC_2.2
+ cris-.*-linux.* libnss_ldap=2 GLIBC_2.2
+ cris-.*-linux.* libnss_hesiod=2 GLIBC_2.2
.*-.*-.* libnss_files=2
.*-.*-.* libnss_dns=2
.*-.*-.* libnss_compat=2
*************** s390x-.*-linux.* libnss_hesiod=2 GLIBC_
*** 112,122 ****
--- 124,136 ----
alpha.*-.*-linux.* libnsl=1.1
mips.*-.*-linux.* libnsl=1 GLIBC_2.0 GLIBC_2.2
s390x-.*-linux.* libnsl=1 GLIBC_2.2
+ cris-.*-linux.* libnsl=1 GLIBC_2.2
.*-.*-.* libnsl=1
# This defines the shared library version numbers we will install.
alpha.*-.*-linux.* libcrypt=1.1
s390x-.*-linux.* libcrypt=1 GLIBC_2.2
+ cris-.*-linux.* libcrypt=1 GLIBC_2.2
.*-.*-.* libcrypt=1
# The gross patch for programs assuming broken locale implementations.
*************** sh.*-.*-.* libBrokenLocale=1 GLIBC_2.2
*** 126,136 ****
--- 140,152 ----
sparc64-.*-.* libBrokenLocale=1 GLIBC_2.2
hppa-.*-.* libBrokenLocale=1 GLIBC_2.2
s390x-.*-linux.* libBrokenLocale=1 GLIBC_2.2
+ cris-.*-linux.* libBrokenLocale=1 GLIBC_2.2
.*-.*-.* libBrokenLocale=1
# The real-time library from POSIX.1b.
mips.*-.*-linux.* librt=1 GLIBC_2.0 GLIBC_2.2
s390x-.*-linux.* librt=1 GLIBC_2.2
+ cris-.*-linux.* librt=1 GLIBC_2.2
.*-.*-.* librt=1
# The asynchronous name lookup library.
brgds, H-P