mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-22 21:10:07 +00:00
0a45b76c62
2001-03-23 Jes Sorensen <jes@linuxcare.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (ENTRY): Moved to ... * sysdeps/ia64/sysdep.h: ...here. * sysdeps/ia64/sysdep.h (LOCAL_ENTRY): Define. * sysdeps/ia64/sysdep.h (LOCAL_LEAF): Define. * sysdeps/ia64/_mcount.S (_mcount_ret_helper): Use LOCAL_LEAF() to declare instead of LEAF(). Suggestion from David Mosberger. 2001-03-21 David Mosberger <davidm@hpl.hp.com> * sysdeps/unix/sysv/linux/ia64/sysdep.h (CALL_MCOUNT): Add unwind directives. (PSEUDO): Drop .psr and .lsb directives. * sysdeps/unix/sysv/linux/ia64/setjmp.S: Ditto. Add unwind directives. * sysdeps/unix/sysv/linux/ia64/sysdep.S: Ditto. * sysdeps/ia64/elf/start.S: Misc cleanup: remove .psr and .lsb directives etc. * sysdeps/unix/sysv/linux/ia64/brk.S: Ditto. * sysdeps/unix/sysv/linux/ia64/__longjmp.S: Ditto. * sysdeps/ia64/_mcount.S: Remove .psr and .lsb directives (no longer needed). Add unwind directives. * sysdeps/ia64/sysdep.h: Define ASM_UNW_PRLG_RP, ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_PSP, ASM_UNW_PRLG_PR, and ASM_UNW_PRLG_GRSAVE. 2001-03-21 Paul Eggert <eggert@twinsun.com> * posix/regex.h (RE_INVALID_INTERVAL_ORD): New macro. (RE_SYNTAX_POSIX_EGREP): Use it. * posix/regex.c (regex_compile): Implement it. 2001-03-21 Paul Eggert <eggert@twinsun.com> * posix/regex.c (GET_UNSIGNED_NUMBER): Check for overflow. Rewrite to avoid duplicate code. 2001-03-21 H.J. Lu <hjl@gnu.org> * elf/Makefile (tests): Don't depend on $(objpfx)tst-pathopt.out for cross-compiling. ($(objpfx)tst-pathopt.out): Undo the last change.
64 lines
1.8 KiB
C
64 lines
1.8 KiB
C
/* Copyright (C) 2000 Free Software Foundation, Inc.
|
|
This file is part of the GNU C Library.
|
|
Contributed by David Mosberger-Tang <davidm@hpl.hp.com>
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU Library General Public License as
|
|
published by the Free Software Foundation; either version 2 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
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public
|
|
License along with the GNU C Library; see the file COPYING.LIB. If not,
|
|
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
Boston, MA 02111-1307, USA. */
|
|
|
|
#include <sysdeps/generic/sysdep.h>
|
|
|
|
#ifdef __ASSEMBLER__
|
|
|
|
/* Macros to help writing .prologue directives in assembly code. */
|
|
#define ASM_UNW_PRLG_RP 0x8
|
|
#define ASM_UNW_PRLG_PFS 0x4
|
|
#define ASM_UNW_PRLG_PSP 0x2
|
|
#define ASM_UNW_PRLG_PR 0x1
|
|
#define ASM_UNW_PRLG_GRSAVE(ninputs) (32+(ninputs))
|
|
|
|
#define ENTRY(name) \
|
|
.text; \
|
|
.align 32; \
|
|
.proc C_SYMBOL_NAME(name); \
|
|
.global C_SYMBOL_NAME(name); \
|
|
C_LABEL(name) \
|
|
CALL_MCOUNT
|
|
|
|
#define LOCAL_ENTRY(name) \
|
|
.text; \
|
|
.align 32; \
|
|
.proc C_SYMBOL_NAME(name); \
|
|
C_LABEL(name) \
|
|
CALL_MCOUNT
|
|
|
|
#define LEAF(name) \
|
|
.text; \
|
|
.align 32; \
|
|
.proc C_SYMBOL_NAME(name); \
|
|
.global name; \
|
|
C_LABEL(name)
|
|
|
|
#define LOCAL_LEAF(name) \
|
|
.text; \
|
|
.align 32; \
|
|
.proc C_SYMBOL_NAME(name); \
|
|
C_LABEL(name)
|
|
|
|
/* Mark the end of function SYM. */
|
|
#undef END
|
|
#define END(sym) .endp C_SYMBOL_NAME(sym)
|
|
|
|
#endif /* ASSEMBLER */
|