From 77ccb5b1dca86acdc7c75abc5bb469da41872a20 Mon Sep 17 00:00:00 2001 From: "Peter S. Mazinger" Date: Thu, 8 Dec 2005 21:01:23 +0000 Subject: mmap/mremap/socket/rewind gone --- libc/sysdeps/linux/arm/ioperm.c | 1 + libc/sysdeps/linux/arm/mmap64.S | 5 +---- 2 files changed, 2 insertions(+), 4 deletions(-) (limited to 'libc/sysdeps/linux/arm') diff --git a/libc/sysdeps/linux/arm/ioperm.c b/libc/sysdeps/linux/arm/ioperm.c index d69d475d6..15162f916 100644 --- a/libc/sysdeps/linux/arm/ioperm.c +++ b/libc/sysdeps/linux/arm/ioperm.c @@ -34,6 +34,7 @@ enable all the ports all of the time. */ #define readlink __readlink +#define mmap __mmap #include #include diff --git a/libc/sysdeps/linux/arm/mmap64.S b/libc/sysdeps/linux/arm/mmap64.S index 63b02f9df..8fb7edcce 100644 --- a/libc/sysdeps/linux/arm/mmap64.S +++ b/libc/sysdeps/linux/arm/mmap64.S @@ -52,10 +52,7 @@ mmap64: mov r0, ip @ first arg was clobbered teq r5, $0 ldmeqfd sp!, {r4, r5, lr} -#ifdef __PIC__ - beq mmap(PLT) -#else - beq mmap + beq __mmap #endif .Linval: mov r0, $-EINVAL -- cgit v1.2.3