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.
This commit is contained in:
Carlos O'Donell 2006-07-16 18:31:20 +00:00
parent 4f9c5a916b
commit f765aca3da
3 changed files with 44 additions and 9 deletions

View 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.

View 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 ( \
@ -77,10 +78,10 @@
"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 ( \

26
sysdeps/hppa/tst-audit.h Normal file
View File

@ -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