Mark internal unistd functions hidden in ld.so
commit730bbab2c39dd615c31c924041b4d16d7f107ae0
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Jan 2016 20:37:04 +0000 (6 12:37 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Jan 2016 20:54:10 +0000 (6 12:54 -0800)
tree85268393510185f1d307590fe10f92798e974256
parent38acf35697c1bca396dedf7139995e6d0d4dd117
Mark internal unistd functions hidden in ld.so

Since internal unistd functions are only used internally in ld.so and
libc.so, they can be made hidden.  __close, __getcwd, __getpid,
__libc_read and __libc_write can't be hidden in ld.so on Hurd since they
will be preempted by the ones in libc.so after bootstrap.

[BZ #19122]
* include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
* sysdeps/generic/dl-unistd.h: New file.
* sysdeps/mach/hurd/dl-unistd.h: Likewise.
ChangeLog
include/unistd.h
sysdeps/generic/dl-unistd.h [new file with mode: 0644]
sysdeps/mach/hurd/dl-unistd.h [new file with mode: 0644]