mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-11 07:40:05 +00:00
Fix uses of CALL_MCOUNT in ppc64 assembler sources
This commit is contained in:
parent
335ee09231
commit
83f5c32d21
@ -1,3 +1,11 @@
|
||||
2013-12-19 Andreas Schwab <schwab@suse.de>
|
||||
|
||||
* sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
|
||||
CALL_MCOUNT.
|
||||
* sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
|
||||
* sysdeps/powerpc/powerpc64/power7/strcasecmp.S
|
||||
[USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
|
||||
|
||||
2013-12-19 Joseph Myers <joseph@codesourcery.com>
|
||||
|
||||
* math/gen-libm-test.pl (%beautify): Remove M_* constants.
|
||||
|
@ -22,7 +22,7 @@
|
||||
/* int [r3] memchr (char *s [r3], int byte [r4], int size [r5]) */
|
||||
.machine power7
|
||||
ENTRY (__memchr)
|
||||
CALL_MCOUNT 2
|
||||
CALL_MCOUNT 3
|
||||
dcbt 0,r3
|
||||
clrrdi r8,r3,3
|
||||
insrdi r4,r4,8,48
|
||||
|
@ -22,7 +22,7 @@
|
||||
/* int [r3] memrchr (char *s [r3], int byte [r4], int size [r5]) */
|
||||
.machine power7
|
||||
ENTRY (__memrchr)
|
||||
CALL_MCOUNT
|
||||
CALL_MCOUNT 3
|
||||
add r7,r3,r5 /* Calculate the last acceptable address. */
|
||||
neg r0,r7
|
||||
addi r7,r7,-1
|
||||
|
@ -32,7 +32,11 @@
|
||||
#endif
|
||||
|
||||
ENTRY (__STRCMP)
|
||||
#ifndef USE_IN_EXTENDED_LOCALE_MODEL
|
||||
CALL_MCOUNT 2
|
||||
#else
|
||||
CALL_MCOUNT 3
|
||||
#endif
|
||||
|
||||
#define rRTN r3 /* Return value */
|
||||
#define rSTR1 r5 /* 1st string */
|
||||
|
Loading…
Reference in New Issue
Block a user