This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix libc.so linker script


Hi!

The linker script uses $(slibdir) for libc.so.6 and $(libdir) for
libc_nonshared.a, so using $(inst_slibdir) for ld-linux.so.2 is at least
inconsistent.  Either all paths must be non-inst_ ones, or all must be
inst_ ones.  As the former is what everybody is used to, here is a patch
that changes it that way.

2005-03-05  Jakub Jelinek  <jakub@redhat.com>

	* Makerules ($(inst_libdir)/libc.so): Use $(slibdir) instead of
	$(inst_slibdir) in AS_NEEDED directive.

--- libc/Makerules.jj	2005-02-25 14:44:59.000000000 +0100
+++ libc/Makerules	2005-03-05 14:10:03.604286875 +0100
@@ -972,7 +972,7 @@ $(inst_libdir)/libc.so: $(common-objpfx)
 	 cat $<; \
 	 echo 'GROUP ( $(slibdir)/libc.so$(libc.so-version)' \
 	      '$(libdir)/$(patsubst %,$(libtype.oS),$(libprefix)$(libc-name))'\
-	      ' AS_NEEDED (' $(inst_slibdir)/$(rtld-installed-name) ') )' \
+	      ' AS_NEEDED (' $(slibdir)/$(rtld-installed-name) ') )' \
 	) > $@.new
 	mv -f $@.new $@
 

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]