diff options
Diffstat (limited to 'sysdeps/i386/i686/strtok.S')
-rw-r--r-- | sysdeps/i386/i686/strtok.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sysdeps/i386/i686/strtok.S b/sysdeps/i386/i686/strtok.S index 8848faf4d9..78a2ea9fce 100644 --- a/sysdeps/i386/i686/strtok.S +++ b/sysdeps/i386/i686/strtok.S @@ -121,6 +121,14 @@ ENTRY (FUNCTION) testl %edx, %edx jz L(returnNULL) movl DELIM(%esp), %eax /* Get start of delimiter set. */ +#ifdef __CHKP__ + bndldx STR(%esp,%edx,1),%bnd0 + bndldx DELIM(%esp,%eax,1),%bnd1 + bndcl (%edx), %bnd0 + bndcu (%edx), %bnd0 + bndcl (%eax), %bnd1 + bndcu (%eax), %bnd1 +#endif /* For understanding the following code remember that %ecx == 0 now. Although all the following instruction only modify %cl we always |