From ea2626f67516f1f171ef81771818b4a2dc9a368b Mon Sep 17 00:00:00 2001 From: "H.J. Lu" Date: Tue, 15 May 2012 10:14:34 -0700 Subject: [PATCH] Add x32 dl-cache.h --- ChangeLog | 4 ++++ sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h | 23 +++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h diff --git a/ChangeLog b/ChangeLog index 097b778..477b44b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2012-05-15 H.J. Lu + * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New. + +2012-05-15 H.J. Lu + * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file. * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise. * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: diff --git a/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h b/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h new file mode 100644 index 0000000..90f960b --- /dev/null +++ b/sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h @@ -0,0 +1,23 @@ +/* Support for reading /etc/ld.so.cache files written by Linux ldconfig. + Copyright (C) 2012 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, see + . */ + +#include + +/* Defined as (FLAG_ELF_LIBC6 | FLAG_X8664_LIBX32). */ +#undef _DL_CACHE_DEFAULT_ID +#define _DL_CACHE_DEFAULT_ID 0x803 -- 2.7.4