]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2006-07-16 Jeff Bailey <jbailey@ubuntu.com>
authorCarlos O'Donell <carlos@systemhalted.org>
Sun, 16 Jul 2006 18:31:20 +0000 (18:31 +0000)
committerCarlos O'Donell <carlos@systemhalted.org>
Sun, 16 Jul 2006 18:31:20 +0000 (18:31 +0000)
* sysdeps/hppa/tst-audit.h: New file.

2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>

* sysdeps/hppa/tls-macros.h: Cleanup formatting.

ChangeLog.hppa
sysdeps/hppa/tls-macros.h
sysdeps/hppa/tst-audit.h [new file with mode: 0644]

index b4c45d7818a1cca716e3e515925a73d3b58a9eb7..d2c19a38f6655e3db293b32c5f4237b2898dfd77 100644 (file)
@@ -1,3 +1,11 @@
+2006-07-16  Jeff Bailey  <jbailey@ubuntu.com>
+
+       * sysdeps/hppa/tst-audit.h: New file.
+
+2006-07-16  Carlos O'Donell  <carlos@systemhalted.org>
+
+       * sysdeps/hppa/tls-macros.h: Cleanup formatting.
+
 2006-07-15  Jeff Bailey  <jbailey@ubuntu.com>
 
        * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Return NULL.
index 4c5564b61df1426f636be34b5fa39fb9c6c4bea6..f5a1cd8f3d4b189c4c6061b03475ead83e298f52 100644 (file)
@@ -1,6 +1,7 @@
+/* TLS Access Macros for HP PARISC Linux */
 
 /* HPPA Local Exec TLS access.  */
-# define TLS_LE(x) \
+#define TLS_LE(x) \
   ({  int * __result;  \
       unsigned long __tmp; \
       asm ( \
@@ -14,7 +15,7 @@
   })
 
 /* HPPA Initial Exec TLS access.  */
-# ifdef PIC
+#ifdef PIC
 #  define TLS_IE(x) \
   ({  int * __result;  \
       unsigned long __tmp, __tmp2; \
@@ -28,7 +29,7 @@
        : "r1" ); \
       __result;  \
   })
-# else
+#else
 #  define TLS_IE(x) \
   ({  int * __result;  \
       unsigned long __tmp, __tmp2; \
@@ -42,9 +43,9 @@
        : "r1" ); \
       __result;  \
   })
-# endif
+#endif
 
-# ifdef PIC
+#ifdef PIC
 /* HPPA Local Dynamic TLS access.  */
 #  define TLS_LD(x) \
   ({  int * __result;  \
@@ -62,7 +63,7 @@
          "r25", "r26", "r28", "r29", "r31" ); \
       __result;  \
   })
-# else
+#else
 #  define TLS_LD(x) \
   ({  int * __result;  \
       asm (  \
          "r25", "r26", "r28", "r29", "r31" ); \
       __result;  \
   })
-# endif
+#endif
 
 /* HPPA General Dynamic TLS access.  */
-# ifdef PIC
+#ifdef PIC
 #  define TLS_GD(x) \
   ({  int * __result;  \
       asm (  \
@@ -96,7 +97,7 @@
          "r25", "r26", "r28", "r29", "r31" ); \
       __result;  \
   })
-# else
+#else
 #  define TLS_GD(x) \
   ({  int * __result;  \
       asm (  \
diff --git a/sysdeps/hppa/tst-audit.h b/sysdeps/hppa/tst-audit.h
new file mode 100644 (file)
index 0000000..93b4592
--- /dev/null
@@ -0,0 +1,26 @@
+/* Definitions for testing PLT entry/exit auditing.  HP-PARISC version.
+
+   Copyright (C) 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