mirror of git://sourceware.org/git/glibc.git
NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename.
This commit is contained in:
parent
7493ab257e
commit
0b24551cf3
|
|
@ -1,5 +1,10 @@
|
||||||
2015-07-21 Roland McGrath <roland@hack.frob.com>
|
2015-07-21 Roland McGrath <roland@hack.frob.com>
|
||||||
|
|
||||||
|
* sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
|
||||||
|
* sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
|
||||||
|
rather than __nacl_irt_filename.
|
||||||
|
* sysdeps/nacl/xstat.c (__xstat): Likewise.
|
||||||
|
|
||||||
* NEWS: New item for arm-nacl port.
|
* NEWS: New item for arm-nacl port.
|
||||||
* sysdeps/arm/nacl/libc.abilist: New file.
|
* sysdeps/arm/nacl/libc.abilist: New file.
|
||||||
* sysdeps/nacl/ld.abilist: New file.
|
* sysdeps/nacl/ld.abilist: New file.
|
||||||
|
|
|
||||||
|
|
@ -20,8 +20,6 @@ NACL_MANDATORY_INTERFACE (rtld,
|
||||||
NACL_IRT_BASIC_v0_1, nacl_irt_basic)
|
NACL_IRT_BASIC_v0_1, nacl_irt_basic)
|
||||||
NACL_MANDATORY_INTERFACE (rtld,
|
NACL_MANDATORY_INTERFACE (rtld,
|
||||||
NACL_IRT_FDIO_v0_1, nacl_irt_fdio)
|
NACL_IRT_FDIO_v0_1, nacl_irt_fdio)
|
||||||
NACL_MANDATORY_INTERFACE (rtld,
|
|
||||||
NACL_IRT_FILENAME_v0_1, nacl_irt_filename)
|
|
||||||
NACL_MANDATORY_INTERFACE (rtld,
|
NACL_MANDATORY_INTERFACE (rtld,
|
||||||
NACL_IRT_MEMORY_v0_3, nacl_irt_memory)
|
NACL_IRT_MEMORY_v0_3, nacl_irt_memory)
|
||||||
NACL_MANDATORY_INTERFACE (libc,
|
NACL_MANDATORY_INTERFACE (libc,
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ __libc_open (const char *file, int oflag, ...)
|
||||||
}
|
}
|
||||||
|
|
||||||
int fd;
|
int fd;
|
||||||
return NACL_CALL (__nacl_irt_filename.open (file, oflag, mode, &fd), fd);
|
return NACL_CALL (__nacl_irt_dev_filename.open (file, oflag, mode, &fd), fd);
|
||||||
}
|
}
|
||||||
libc_hidden_def (__libc_open)
|
libc_hidden_def (__libc_open)
|
||||||
weak_alias (__libc_open, __open)
|
weak_alias (__libc_open, __open)
|
||||||
|
|
|
||||||
|
|
@ -35,7 +35,7 @@ int
|
||||||
__xstat (int vers, const char *file, struct stat *buf)
|
__xstat (int vers, const char *file, struct stat *buf)
|
||||||
{
|
{
|
||||||
nacl_abi_stat_t abi_buf;
|
nacl_abi_stat_t abi_buf;
|
||||||
return NACL_CALL (__nacl_irt_filename.stat (file, &abi_buf),
|
return NACL_CALL (__nacl_irt_dev_filename.stat (file, &abi_buf),
|
||||||
__xstat_conv (vers, &abi_buf, buf));
|
__xstat_conv (vers, &abi_buf, buf));
|
||||||
}
|
}
|
||||||
hidden_def (__xstat)
|
hidden_def (__xstat)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue