gcc-4.1.0 vs. mmap()
linux.hh fold_elf86.asm l_lx_elf.c fold_exec86.asm l_lx_exec.c fold_pti86.asm l_lx_pti.c fold_sh86.asm l_lx_sh.c l_lx_sh86.asm l_lx_sep.c committer: jreiser <jreiser> 1142305438 +0000
This commit is contained in:
@@ -209,5 +209,17 @@ L32:
|
||||
pop edi ; &auxtab
|
||||
ret
|
||||
|
||||
%define __NR_mmap 90
|
||||
|
||||
global mmap
|
||||
mmap:
|
||||
push ebx
|
||||
lea ebx, [2*4 + esp]
|
||||
push byte __NR_mmap
|
||||
pop eax
|
||||
int 0x80
|
||||
pop ebx
|
||||
ret
|
||||
|
||||
; vi:ts=8:et:nowrap
|
||||
|
||||
|
||||
Reference in New Issue
Block a user