Disable pointer mangling, which uses %gs
[glibc/nacl-glibc.git] / include / sys / mman.h
bloba4687b30f79b5f2ae89327abc0e000dada5200ba
1 #ifndef _SYS_MMAN_H
2 #include <misc/sys/mman.h>
4 /* Now define the internal interfaces. */
5 extern void *__mmap (void *__addr, size_t __len, int __prot,
6 int __flags, int __fd, __off_t __offset);
7 extern void *__mmap64 (void *__addr, size_t __len, int __prot,
8 int __flags, int __fd, __off64_t __offset);
9 extern int __munmap (void *__addr, size_t __len);
10 extern int __mprotect (void *__addr, size_t __len, int __prot);
12 /* This one is Linux specific. */
13 extern void *__mremap (void *__addr, size_t __old_len,
14 size_t __new_len, int __flags, ...);
16 libc_hidden_proto (madvise);
18 #endif