diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-05-04 18:33:36 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-05-04 18:33:36 +0000 |
commit | f6cc6cdf0b94eb1608ceeabcab2450c8cd4054a4 (patch) | |
tree | 01abe7e7555ee0d87db36c06881902ac01af2333 /sysdeps/unix/sysv/linux/i386/mmap.S | |
parent | e759ccae887cac69cd47b878c67eba5dd1934f56 (diff) |
Updated to fedora-glibc-20050504T1818
Diffstat (limited to 'sysdeps/unix/sysv/linux/i386/mmap.S')
-rw-r--r-- | sysdeps/unix/sysv/linux/i386/mmap.S | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/i386/mmap.S b/sysdeps/unix/sysv/linux/i386/mmap.S index 9f664de991..10f8bc75a7 100644 --- a/sysdeps/unix/sysv/linux/i386/mmap.S +++ b/sysdeps/unix/sysv/linux/i386/mmap.S @@ -26,7 +26,7 @@ ENTRY (__mmap) -/* I don't think it is worthwhile trzing to use mmap2 whenever it +/* I don't think it is worthwhile trying to use mmap2 whenever it is available. Only use it when we are sure the syscall exists. */ #ifdef __ASSUME_MMAP2_SYSCALL @@ -78,6 +78,7 @@ L(skip): /* Save registers. */ movl %ebx, %edx + cfi_register (ebx, edx) movl $SYS_ify(mmap), %eax /* System call number in %eax. */ @@ -88,6 +89,7 @@ L(skip): /* Restore registers. */ movl %edx, %ebx + cfi_restore (ebx) #endif |