about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2015-07-21 15:48:56 -0700
committerRoland McGrath <roland@hack.frob.com>2015-07-21 15:48:56 -0700
commit0b24551cf3a62e0dbbe7577f63b43969f8dfc1fb (patch)
treecd86e14224232e0a6bacf626979e7e5c38c1b551
parent7493ab257e4d50753dfc46a342b00d0759081115 (diff)
downloadglibc-0b24551cf3a62e0dbbe7577f63b43969f8dfc1fb.tar.gz
glibc-0b24551cf3a62e0dbbe7577f63b43969f8dfc1fb.tar.xz
glibc-0b24551cf3a62e0dbbe7577f63b43969f8dfc1fb.zip
NaCl: Use only nacl_irt_dev_filename, never nacl_irt_filename.
-rw-r--r--ChangeLog5
-rw-r--r--sysdeps/nacl/nacl-interface-list.h2
-rw-r--r--sysdeps/nacl/open.c2
-rw-r--r--sysdeps/nacl/xstat.c2
4 files changed, 7 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 93dd2cdf2d..d70fb1080a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/sysdeps/nacl/nacl-interface-list.h b/sysdeps/nacl/nacl-interface-list.h
index d09814739a..cb337510fc 100644
--- a/sysdeps/nacl/nacl-interface-list.h
+++ b/sysdeps/nacl/nacl-interface-list.h
@@ -21,8 +21,6 @@ NACL_MANDATORY_INTERFACE (rtld,
 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,
 			  NACL_IRT_THREAD_v0_1, nacl_irt_thread)
diff --git a/sysdeps/nacl/open.c b/sysdeps/nacl/open.c
index cb4700ff24..381751a9cd 100644
--- a/sysdeps/nacl/open.c
+++ b/sysdeps/nacl/open.c
@@ -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)
diff --git a/sysdeps/nacl/xstat.c b/sysdeps/nacl/xstat.c
index 022cf0294f..8180c9362c 100644
--- a/sysdeps/nacl/xstat.c
+++ b/sysdeps/nacl/xstat.c
@@ -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)