Mark ld.so internal mmap functions hidden in ld.so
authorH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Jan 2016 19:28:04 +0000 (11:28 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Wed, 6 Jan 2016 19:28:56 +0000 (11:28 -0800)
commit38acf35697c1bca396dedf7139995e6d0d4dd117
treed297b1dcc20d12b968fbd88b96472445dcd0b53b
parent084e7d57bbdeaeca3ea279600daefe2e614593b6
Mark ld.so internal mmap functions hidden in ld.so

Since ld.so internal mmap functions are only used internally in ld.so,
they can be made hidden.  Don't hide __mmap on Hurd, since __mmap in
ld.so will be preempted by the one in libc.so after bootstrap.

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