diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-25 05:15:51 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-25 05:15:51 +0000 |
commit | 0a45b76c6238f4685c07ba5c5db371ae9b95d661 (patch) | |
tree | 2f2102508869d2b1d9d31799f81c65e691904911 /sysdeps/unix/sysv/linux/ia64/sysdep.h | |
parent | 8c0fe2900498fea31db0d0f3bb2f4f13b8e393ce (diff) | |
download | glibc-0a45b76c6238f4685c07ba5c5db371ae9b95d661.tar glibc-0a45b76c6238f4685c07ba5c5db371ae9b95d661.tar.gz glibc-0a45b76c6238f4685c07ba5c5db371ae9b95d661.tar.bz2 glibc-0a45b76c6238f4685c07ba5c5db371ae9b95d661.zip |
Update.
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/ia64/sysdep.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/ia64/sysdep.h | 35 |
1 files changed, 14 insertions, 21 deletions
diff --git a/sysdeps/unix/sysv/linux/ia64/sysdep.h b/sysdeps/unix/sysv/linux/ia64/sysdep.h index 5f7f3fe3eb..8e7f74d58d 100644 --- a/sysdeps/unix/sysv/linux/ia64/sysdep.h +++ b/sysdeps/unix/sysv/linux/ia64/sysdep.h @@ -36,16 +36,20 @@ #undef CALL_MCOUNT #ifdef PROF -# define CALL_MCOUNT \ - .data; \ -1: data8 0; \ - .previous; \ - alloc out0 = ar.pfs, 8, 0, 4, 0; \ - mov out1 = gp; \ - mov out2 = rp; \ - ;; \ - addl out3 = @ltoff(1b), gp; \ - br.call.sptk.many rp = _mcount \ +# define CALL_MCOUNT \ + .data; \ +1: data8 0; /* XXX fixme: use .xdata8 once labels work */ \ + .previous; \ + .prologue; \ + .save ar.pfs, r40; \ + alloc out0 = ar.pfs, 8, 0, 4, 0; \ + mov out1 = gp; \ + .save rp, out2; \ + mov out2 = rp; \ + .body; \ + ;; \ + addl out3 = @ltoff(1b), gp; \ + br.call.sptk.many rp = _mcount \ ;; #else # define CALL_MCOUNT /* Do nothing. */ @@ -72,17 +76,6 @@ cmp.eq p6,p0=-1,r10;; \ (p6) br.cond.spnt.few __syscall_error; -#define ENTRY(name) \ - .psr abi64; \ - .psr lsb; \ - .lsb; \ - .text; \ - .align 32; \ - .proc C_SYMBOL_NAME(name); \ - .global C_SYMBOL_NAME(name); \ - C_LABEL(name) \ - CALL_MCOUNT - #define DO_CALL(num) \ mov r15=num; \ break __BREAK_SYSCALL; |