Skip to contentSkip to conversation

tst-audit.h missing?

parisc-linux Jeff Bailey 2 participants 2 messages Jul 16, 2006

lore
Share & tools
lore
#0 lore raw

Carlos,

I don't see sysdeps/hppa/tst-audit.h in my checkout and a grep doesn't show me anything that might define pltenter, pltexit & friends. Without this, elf/tst-auditmod1.c won't compile.

This seems to do the trick:

2006-07-16 Jeff Bailey <[email protected]>

* sysdeps/hppa/tst-audit.h: New file.

hppa/tst-audit.h new file +26 -0
@@ -0,0 +1,26 @@
+/* Definitions for testing PLT entry/exit auditing.  HPPA version.
+
+   Copyright (C) 2005, 2006 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_hppa_gnu_pltenter
+#define pltexit la_hppa_gnu_pltexit
+#define La_regs La_hppa_regs
+#define La_retval La_hppa_retval
+#define int_retval lrv_r28
Signature · 7 lines
I do not agree with a word you say, but I will defend to the death your
right to say it. 
 - Voltaire
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux
#1 lore raw
Quoted 11 lines · Jeff Bailey

Carlos,

I don't see sysdeps/hppa/tst-audit.h in my checkout and a grep doesn't show me anything that might define pltenter, pltexit & friends. Without this, elf/tst-auditmod1.c won't compile.

This seems to do the trick:

2006-07-16 Jeff Bailey <[email protected]>

* sysdeps/hppa/tst-audit.h: New file.

Thanks! I'll check this into CVS.

I have tst-audit.h in my development tree, along with a first cut implementation for dl-trampoline.S (dl_profile).

Expect the auditing tests to fail until I check this into CVS.

Cheersr,
Carlos.
_______________________________________________
parisc-linux mailing list
[email protected]
http://lists.parisc-linux.org/mailman/listinfo/parisc-linux