mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Use LD_SO to set $ld_so_name/$ld_so_version
This commit is contained in:
@ -1,3 +1,12 @@
|
|||||||
|
2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
|
[BZ #14476]
|
||||||
|
* Makefile (install): Also pass LD_SO=$(ld.so-version) to
|
||||||
|
scripts/test-installation.pl.
|
||||||
|
|
||||||
|
* scripts/test-installation.pl: Use LD_SO to get $ld_so_name
|
||||||
|
and $ld_so_version if it is set.
|
||||||
|
|
||||||
2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
|
2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
|
||||||
|
|
||||||
[BZ #14516]
|
[BZ #14516]
|
||||||
|
2
Makefile
2
Makefile
@ -111,7 +111,7 @@ install:
|
|||||||
ifneq (no,$(PERL))
|
ifneq (no,$(PERL))
|
||||||
ifeq (/usr,$(prefix))
|
ifeq (/usr,$(prefix))
|
||||||
ifeq (,$(install_root))
|
ifeq (,$(install_root))
|
||||||
CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)
|
LD_SO=$(ld.so-version) CC="$(CC)" $(PERL) scripts/test-installation.pl $(common-objpfx)
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
|
2
NEWS
2
NEWS
@ -12,7 +12,7 @@ Version 2.17
|
|||||||
3479, 5400, 6778, 6808, 9685, 11607, 13717, 13696, 13939, 14042, 14090,
|
3479, 5400, 6778, 6808, 9685, 11607, 13717, 13696, 13939, 14042, 14090,
|
||||||
14166, 14150, 14151, 14154, 14157, 14166, 14173, 14195, 14252, 14283,
|
14166, 14150, 14151, 14154, 14157, 14166, 14173, 14195, 14252, 14283,
|
||||||
14298, 14303, 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14459,
|
14298, 14303, 14307, 14328, 14331, 14336, 14337, 14347, 14349, 14459,
|
||||||
14505, 14516, 14519
|
14476, 14505, 14516, 14519
|
||||||
|
|
||||||
* Support for STT_GNU_IFUNC symbols added for s390 and s390x.
|
* Support for STT_GNU_IFUNC symbols added for s390 and s390x.
|
||||||
Optimized versions of memcpy, memset, and memcmp added for System z10 and
|
Optimized versions of memcpy, memset, and memcmp added for System z10 and
|
||||||
|
@ -25,6 +25,11 @@ if ($ENV{CC}) {
|
|||||||
} else {
|
} else {
|
||||||
$CC= "gcc";
|
$CC= "gcc";
|
||||||
}
|
}
|
||||||
|
if ($ENV{LD_SO}) {
|
||||||
|
$LD_SO = $ENV{LD_SO};
|
||||||
|
} else {
|
||||||
|
$LD_SO = "";
|
||||||
|
}
|
||||||
|
|
||||||
sub usage {
|
sub usage {
|
||||||
print "Usage: test-installation [soversions.mk]\n";
|
print "Usage: test-installation [soversions.mk]\n";
|
||||||
@ -112,6 +117,8 @@ while (<SOVERSIONS>) {
|
|||||||
$link_libs .= " -l$name";
|
$link_libs .= " -l$name";
|
||||||
$versions{$name} = $version;
|
$versions{$name} = $version;
|
||||||
}
|
}
|
||||||
|
} elsif ($LD_SO ne "") {
|
||||||
|
($ld_so_name, $ld_so_version) = split ('\.so\.', $LD_SO);
|
||||||
} else {
|
} else {
|
||||||
if (/^ld\.so/) {
|
if (/^ld\.so/) {
|
||||||
($ld_so_name, $ld_so_version)= /=(.*)\.so\.(.*)$/;
|
($ld_so_name, $ld_so_version)= /=(.*)\.so\.(.*)$/;
|
||||||
|
Reference in New Issue
Block a user