mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 11:20:07 +00:00
alpha: Add sysdep/unix/sysv/linux/alpha/creat.c.
Signed-off-by: Richard Henderson <rth@twiddle.net>
This commit is contained in:
parent
a9374d8174
commit
c7b880234d
@ -1,3 +1,7 @@
|
||||
2010-03-26 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* sysdep/unix/sysv/linux/alpha/creat.c: New.
|
||||
|
||||
2010-03-26 Richard Henderson <rth@redhat.com>
|
||||
|
||||
* sysdep/alpha/elf/configure.in (libc_cv_alpha_hidden_gprel)
|
||||
|
8
sysdeps/unix/sysv/linux/alpha/creat.c
Normal file
8
sysdeps/unix/sysv/linux/alpha/creat.c
Normal file
@ -0,0 +1,8 @@
|
||||
/* sysdeps/unix/sysv/linux/wordsize-64/syscalls.list defines creat and
|
||||
creat64 for most linux targets, but on alpha creat is not a syscall.
|
||||
If we do nothing, we'll wind up with creat64 being undefined, because
|
||||
the syscalls.list assumes the creat->creat64 alias was created. We
|
||||
could have overridden that with a create64.c, but we might as well do
|
||||
the right thing and set up creat64 as an alias. */
|
||||
#include <io/creat.c>
|
||||
weak_alias(__libc_creat, creat64)
|
Loading…
Reference in New Issue
Block a user