mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-20 17:51:16 +00:00
Remove mmap64 alias.
Optimise error handling a little.
This commit is contained in:
parent
7aacf7acd5
commit
51e2a98075
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1998 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1998, 2000 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -47,10 +47,9 @@ ENTRY (__mmap)
|
||||
add sp, sp, #16
|
||||
|
||||
cmn r0, $4096
|
||||
bhs PLTJMP(syscall_error);
|
||||
ret
|
||||
RETINSTR(movcc, pc, lr)
|
||||
b PLTJMP(syscall_error);
|
||||
|
||||
PSEUDO_END (__mmap)
|
||||
|
||||
weak_alias (__mmap, mmap)
|
||||
weak_alias (__mmap, mmap64)
|
||||
|
Loading…
Reference in New Issue
Block a user