From eb655ccbe7fa833e6110e4f13e3e960459c1f216 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 22 Apr 2002 11:52:42 +0000 Subject: Update. * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New. * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New. --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/x86_64/dl-cache.h | 25 +++++++++++++++++++++++++ sysdeps/unix/sysv/linux/x86_64/ldconfig.h | 26 ++++++++++++++++++++++++++ 3 files changed, 55 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/x86_64/dl-cache.h create mode 100644 sysdeps/unix/sysv/linux/x86_64/ldconfig.h diff --git a/ChangeLog b/ChangeLog index de0059d..1a364fa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2002-04-22 Andreas Jaeger + * sysdeps/unix/sysv/linux/x86_64/ldconfig.h: New. + + * sysdeps/unix/sysv/linux/x86_64/dl-cache.h: New. + * sysdeps/unix/sysv/linux/x86_64/vfork.S: Use %rdi as temp register instead of destroying %rbx. diff --git a/sysdeps/unix/sysv/linux/x86_64/dl-cache.h b/sysdeps/unix/sysv/linux/x86_64/dl-cache.h new file mode 100644 index 0000000..ae691de --- /dev/null +++ b/sysdeps/unix/sysv/linux/x86_64/dl-cache.h @@ -0,0 +1,25 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 1999, 2000, 2002 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define _DL_CACHE_DEFAULT_ID 0x303 + +#define _dl_cache_check_flags(flags) \ + ((flags) == _DL_CACHE_DEFAULT_ID) + +#include_next diff --git a/sysdeps/unix/sysv/linux/x86_64/ldconfig.h b/sysdeps/unix/sysv/linux/x86_64/ldconfig.h new file mode 100644 index 0000000..f7f64eb --- /dev/null +++ b/sysdeps/unix/sysv/linux/x86_64/ldconfig.h @@ -0,0 +1,26 @@ +/* Copyright (C) 2001, 2002 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#include + +#define SYSDEP_KNOWN_INTERPRETER_NAMES \ + { "/lib/ld-linux.so.2", FLAG_ELF_LIBC6 }, \ + { "/lib64/ld-linux-x86-64.so.2", FLAG_ELF_LIBC6 }, +#define SYSDEP_KNOWN_LIBRARY_NAMES \ + { "libc.so.6", FLAG_ELF_LIBC6 }, \ + { "libm.so.6", FLAG_ELF_LIBC6 }, -- cgit v1.1