NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename.

This commit is contained in:
Roland McGrath 2015-07-21 15:48:56 -07:00
parent 7493ab257e
commit 0b24551cf3
4 changed files with 7 additions and 4 deletions

View File

@ -1,5 +1,10 @@
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.
* sysdeps/arm/nacl/libc.abilist: New file.
* sysdeps/nacl/ld.abilist: New file.

View File

@ -20,8 +20,6 @@ NACL_MANDATORY_INTERFACE (rtld,
NACL_IRT_BASIC_v0_1, nacl_irt_basic)
NACL_MANDATORY_INTERFACE (rtld,
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_IRT_MEMORY_v0_3, nacl_irt_memory)
NACL_MANDATORY_INTERFACE (libc,

View File

@ -38,7 +38,7 @@ __libc_open (const char *file, int oflag, ...)
}
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)
weak_alias (__libc_open, __open)

View File

@ -35,7 +35,7 @@ int
__xstat (int vers, const char *file, struct stat *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));
}
hidden_def (__xstat)