x86-64 patch 1/2
Andreas Jaeger
aj@suse.de
Tue Sep 18 10:41:00 GMT 2001
Jakub Jelinek <jakub@redhat.com> writes:
> On Tue, Sep 18, 2001 at 03:23:48PM +0200, Andreas Jaeger wrote:
> >
>> Here's the first patch to integrate the x86-64 port into glibc.
>>
>> Ok to commit?
>>
>> @@ -79,6 +80,7 @@ mips.*-.*-linux.* ld=ld.so.1 GLIBC_2.0
>> 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
>> +x86_64-.*-linux.* ld=ld64.so.1 GLIBC_2.2.4
>> # We use the ELF ABI standard name for the default.
>> .*-.*-.* ld=ld.so.1
>
> In the light of current FHS-discuss talks, shouldn't this be
> /lib64/ld-linux.so.2 (ie. ld=ld-linux.so.2 and related changes)?
The ABI states /lib/ld64.so.1 and I agree, we should change it to
/lib64/ld64.so.1. But why should it be ld-linux.so.2? We could do
this change but I'm not convinced.
I forgot the appended patch. Is anything else missing?
Andreas
2001-09-18 Andreas Jaeger <aj@suse.de>
* sysdeps/unix/sysv/linux/configure.in: Add minimal kernel version
for x86-64, install x86-64 into */lib64.
--- configure.in 2001/07/09 11:51:42 1.42
+++ configure.in 2001/09/18 17:38:10
@@ -54,6 +54,9 @@ case "$machine" in
sh*)
arch_minimum_kernel=2.3.99
;;
+ x86_64*)
+ arch_minimum_kernel=2.4.0
+ ;;
*)
arch_minimum_kernel=2.0.10
;;
@@ -102,7 +105,7 @@ fi
# in /lib and /etc.
if test "$prefix" = "/usr" -o "$prefix" = "/usr/"; then
# 64bit libraries on sparc go to /lib64 and not /lib
- if test "$machine" = "sparc/sparc64"; then
+ if test "$machine" = "sparc/sparc64" -o "$machine" = "x86_64"; then
libc_cv_slibdir="/lib64"
if test "$libdir" = '${exec_prefix}/lib'; then
libdir='${exec_prefix}/lib64';
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj
More information about the Libc-hacker
mailing list