* lib.in (binutils.versions): Put hidden symbol list after exported list,
authorKen Raeburn <raeburn@mit.edu>
Wed, 25 Jan 2006 06:17:20 +0000 (06:17 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 25 Jan 2006 06:17:20 +0000 (06:17 +0000)
because libkrb4 has a symbol starting with "__" in its export list.
(osf1.exports): Rename file in a separate command.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17606 dc483132-0cff-0310-8789-dd5450dbe970

src/config/ChangeLog
src/config/lib.in

index 6dd123327b112df90080b45fbb90523997f3e2fd..6296210ad0bdb4351a6731f6664ab8abcefb2486 100644 (file)
@@ -1,3 +1,10 @@
+2006-01-25  Ken Raeburn  <raeburn@mit.edu>
+
+       * lib.in (binutils.versions): Put hidden symbol list after
+       exported list, because libkrb4 has a symbol starting with "__" in
+       its export list.
+       (osf1.exports): Rename file in a separate command.
+
 2005-11-28  Ken Raeburn  <raeburn@mit.edu>
 
        * shlib.conf (*-*-solaris*): Include $(CFLAGS) in LDCOMBINE.
index 760294d28fa5ec246fc01722eba554f5a637b219..80f7b41825ded15c8117cbf3decb63e3550aab2f 100644 (file)
@@ -54,10 +54,10 @@ lib$(LIBBASE)$(SHLIBEXT): lib$(LIBBASE)$(SHLIBVEXT)
        $(LN_S) lib$(LIBBASE)$(SHLIBVEXT) $@
 
 binutils.versions: $(SHLIB_EXPORT_FILE) Makefile
-       echo >  binutils.versions "HIDDEN { local: __*; _rest*; _save*; *; };"
-       echo >> binutils.versions "$(LIBBASE)_$(LIBMAJOR)_MIT {"
+       echo >  binutils.versions "$(LIBBASE)_$(LIBMAJOR)_MIT {"
        sed  >> binutils.versions < $(SHLIB_EXPORT_FILE) "s/$$/;/"
        echo >> binutils.versions "};"
+       echo >> binutils.versions "HIDDEN { local: __*; _rest*; _save*; *; };"
 
 osf1.exports: $(SHLIB_EXPORT_FILE) Makefile
        $(RM) osf1.tmp osf1.exports
@@ -72,7 +72,7 @@ osf1.exports: $(SHLIB_EXPORT_FILE) Makefile
          if test "$$f" != "." ; then \
            a="-fini $$f $$a"; \
          else :; fi; \
-       done; echo " $$a" >> osf1.tmp; \
+       done; echo " $$a" >> osf1.tmp
        mv -f osf1.tmp osf1.exports
 
 hpux10.exports: $(SHLIB_EXPORT_FILE) Makefile