diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-04-11 19:57:49 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-04-11 19:57:49 +0000 |
commit | 8ee355155102ad7c2e473f179f4879c6e468f19e (patch) | |
tree | 2000ed58ca5f2a4d73a2b538b06244ba73fe8436 /sysdeps/ia64/strcat.S | |
parent | 87d5c92d117ad749bfc7dd30a3dd826cecbc563e (diff) | |
download | glibc-8ee355155102ad7c2e473f179f4879c6e468f19e.tar.gz |
Update.
2001-04-11 David Mosberger <davidm@hpl.hp.com>
* sysdeps/ia64/htonl.S: Drop superfluous "alloc".
* sysdeps/ia64/htons.S: Likewise.
* sysdeps/ia64/memset.S: Add unwind directives.
* sysdeps/ia64/strncpy.S: Likewise.
* sysdeps/ia64/strcat.S: Likewise.
* sysdeps/ia64/memccpy.S: Add unwind directives. Drop superfluous
restore of ar.pfs.
* sysdeps/ia64/strchr.S: Likewise.
* sysdeps/ia64/memmove.S: Likewise.
* sysdeps/ia64/memcpy.S: Likewise.
* sysdeps/ia64/memcmp.S: Likewise.
* sysdeps/ia64/memchr.S: Likewise.
* sysdeps/ia64/strcmp.S: Likewise.
* sysdeps/ia64/strlen.S: Likewise.
* sysdeps/ia64/strcpy.S: Likewise.
* sysdeps/ia64/strncmp.S: Likewise.
Diffstat (limited to 'sysdeps/ia64/strcat.S')
-rw-r--r-- | sysdeps/ia64/strcat.S | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sysdeps/ia64/strcat.S b/sysdeps/ia64/strcat.S index d8afacbe09..094ebb7d53 100644 --- a/sysdeps/ia64/strcat.S +++ b/sysdeps/ia64/strcat.S @@ -1,6 +1,6 @@ /* IA-64 assembly version of the standard strcat() function. This file is part of the GNU C Library. - Copyright (C) 2000 Free Software Foundation, Inc. + Copyright (C) 2000, 2001 Free Software Foundation, Inc. Contributed by Dan Pop <Dan.Pop@cern.ch>. The GNU C Library is free software; you can redistribute it and/or @@ -37,14 +37,16 @@ #define src in1 #define dest in0 -#define save_pfs loc0 -#define save_b0 loc1 +#define save_b0 loc0 +#define save_pfs loc1 #define tmp loc2 #define rc ret0 ENTRY(strcat) + .prologue ASM_UNW_PRLG_RP|ASM_UNW_PRLG_PFS, ASM_UNW_PRLG_GRSAVE(2) alloc save_pfs = ar.pfs, 2, 3, 2, 0 mov save_b0 = b0 + .body mov out0 = dest mov tmp = gp ;; br.call.sptk.many b0 = strlen# ;; // rc = strlen(dest); |