Put the munmap and munmap_text trampolines in a separate .S file, so that they can be overridden independenly of mmap.

This commit is contained in:
Kees van Reeuwijk
2010-04-29 20:12:56 +00:00
parent a2a0562a9c
commit cfd28b671a
3 changed files with 13 additions and 10 deletions

12
lib/libc/syscall/munmap.S Normal file
View File

@@ -0,0 +1,12 @@
.text
.extern __munmap
.globl _munmap
.extern __munmap_text
.globl _munmap_text
.balign 2
_munmap:
jmp __munmap
_munmap_text:
jmp __munmap_text