From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9489 invoked by alias); 9 Feb 2012 04:35:50 -0000 Received: (qmail 9213 invoked by uid 22791); 9 Feb 2012 04:35:49 -0000 X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW X-Spam-Check-By: sourceware.org Received: from mail-qw0-f41.google.com (HELO mail-qw0-f41.google.com) (209.85.216.41) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 09 Feb 2012 04:35:34 +0000 Received: by qadz32 with SMTP id z32so4374152qad.0 for ; Wed, 08 Feb 2012 20:35:34 -0800 (PST) Received: by 10.229.69.30 with SMTP id x30mr103914qci.97.1328761764819; Wed, 08 Feb 2012 20:29:24 -0800 (PST) Received: from anchor.twiddle.home.com ([173.160.232.49]) by mx.google.com with ESMTPS id gd3sm3337362qab.6.2012.02.08.20.29.23 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 08 Feb 2012 20:29:24 -0800 (PST) From: Richard Henderson To: libc-ports@sourceware.org Subject: [PATCH 10/10] alpha: Add ldsodefs.h and tst-audit.h. Date: Thu, 09 Feb 2012 04:35:00 -0000 Message-Id: <1328761745-24481-11-git-send-email-rth@twiddle.net> In-Reply-To: <1328761745-24481-1-git-send-email-rth@twiddle.net> References: <1328761745-24481-1-git-send-email-rth@twiddle.net> X-IsSubscribed: yes Mailing-List: contact libc-ports-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: libc-ports-owner@sourceware.org X-SW-Source: 2012-02/txt/msg00019.txt.bz2 --- ChangeLog.alpha | 2 ++ sysdeps/alpha/ldsodefs.h | 43 +++++++++++++++++++++++++++++++++++++++++++ sysdeps/alpha/tst-audit.h | 24 ++++++++++++++++++++++++ 3 files changed, 69 insertions(+), 0 deletions(-) create mode 100644 sysdeps/alpha/ldsodefs.h create mode 100644 sysdeps/alpha/tst-audit.h diff --git a/ChangeLog.alpha b/ChangeLog.alpha index 804dd64..b82edba 100644 --- a/ChangeLog.alpha +++ b/ChangeLog.alpha @@ -1,5 +1,7 @@ 2012-02-08 Richard Henderson + * sysdeps/alpha/ldsodefs.h: New file. + * sysdeps/alpha/tst-audit.h: New file. * sysdeps/alpha/tls-macros.h: New file. * sysdeps/unix/sysv/linux/alpha/getitimer.S: Don't check HAVE_ELF. diff --git a/sysdeps/alpha/ldsodefs.h b/sysdeps/alpha/ldsodefs.h new file mode 100644 index 0000000..a059cb1 --- /dev/null +++ b/sysdeps/alpha/ldsodefs.h @@ -0,0 +1,43 @@ +/* Run-time dynamic linker data structures for loaded ELF shared objects. + 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, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#ifndef __LDSODEFS_H + +#include + +struct La_alpha_regs; +struct La_alpha_retval; + +#define ARCH_PLTENTER_MEMBERS \ + Elf64_Addr (*alpha_gnu_pltenter) (Elf64_Sym *, unsigned int, \ + uintptr_t *, uintptr_t *, \ + const struct La_alpha_regs *, \ + unsigned int *, const char *name, \ + long int *framesizep); + +#define ARCH_PLTEXIT_MEMBERS \ + unsigned int (*alpha_gnu_pltexit) (Elf64_Sym *, unsigned int, \ + uintptr_t *, uintptr_t *, \ + const struct La_alpha_regs *, \ + struct La_alpha_retval *, \ + const char *); + +#include_next + +#endif diff --git a/sysdeps/alpha/tst-audit.h b/sysdeps/alpha/tst-audit.h new file mode 100644 index 0000000..3bc50fa --- /dev/null +++ b/sysdeps/alpha/tst-audit.h @@ -0,0 +1,24 @@ +/* Definitions for testing PLT entry/exit auditing. Alpha version. + 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, write to the Free + Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA + 02111-1307 USA. */ + +#define pltenter la_alpha_gnu_pltenter +#define pltexit la_alpha_gnu_pltexit +#define La_regs La_alpha_regs +#define La_retval La_alpha_retval -- 1.7.7.6